Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8073306

By designation of cache_archive, exception occurs.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 7u71
    • Fix Version/s: None
    • Component/s: deploy
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_7

      Description

      FULL PRODUCT VERSION :
      java version "1.7.0_71"
      Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
      Java HotSpot(TM) Client VM (build 24.71-b01, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 6.1.7601], and 6.2, other

      A DESCRIPTION OF THE PROBLEM :
      Tag that specifies the applet cache as follows There are several in the system.

      <OBJECT ....
      <PARAM NAME = "cache_archive" VALUE = "a.jar, b.jar"
      <PARAM NAME = "cache_version" VALUE = "0.0.1.0, 0.0.2.0"
      <PARAM NAME = "cache_option" VALUE = "Plugin"
      <PARAM NAME = "codebase" VALUE = "/ download"
      </ OBJECT>

      Although there is no problem when it is operating in the cache,
      When applet update (ex. 0.0.1.0, 0.0.2.0 -> 0.0.1.1, 0.0.2.1) only, exception occurs.

      I think that the designated method (including codebase) of the tag does not have the error,
      is this phenomenon a disorder of JAVA (jre,applet)?



      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Initial screen (A) : First cache description.
      Another screen (B) : Second cache description.

      1) the initial screen (A) : No problem.
      2) With the initial screen (A) is opened, open another screen (B) : No problem.
      3) I close another screen (B) : Excepton occurs. Initial screen (A) is freeze.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      New applet is cached, and the program is executed. (Exeption does not occur).
      ACTUAL -
      Excepton occurs. Initial screen (A) is freeze

      I attach an example of the exception displayed by java console.
      ---
      case1
      Exception in thread "AWT-EventQueue-4" java.lang.IllegalThreadStateException: forbid thread creation in disposed TG
      at sun.plugin.security.ActivatorSecurityManager.checkAccess(Unknown Source)
      at java.lang.ThreadGroup.checkAccess(Unknown Source)
      at java.lang.Thread.init(Unknown Source)
      at java.lang.Thread.<init>(Unknown Source)
      at java.awt.EventDispatchThread.<init>(Unknown Source)
      at java.awt.EventQueue$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.awt.EventQueue.initDispatchThread(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Source)

      case2
      Exception in thread "AWT-EventQueue-4" java.util.NoSuchElementException
      at java.util.LinkedList.getFirst(Unknown Source)
      at java.awt.SequencedEvent.getFirst(Unknown Source)
      at java.awt.SequencedEvent.getFirstWithContext(Unknown Source)
      at java.awt.SequencedEvent.isFirstOrDisposed(Unknown Source)
      at java.awt.SequencedEvent$1.evaluate(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.SequencedEvent.dispatch(Unknown Source)
      at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
      at java.awt.EventQueue.access$400(Unknown Source)
      at java.awt.EventQueue$2.run(Unknown Source)
      at java.awt.EventQueue$2.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
      at java.awt.EventQueue$3.run(Unknown Source)
      at java.awt.EventQueue$3.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Source)

      case3
      Exception in thread "AWT-EventQueue-4" java.lang.IllegalMonitorStateException
      at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(Unknown Source)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(Unknown Source)
      at java.util.concurrent.locks.ReentrantLock.unlock(Unknown Source)
      at java.awt.EventQueue.getNextEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Source)


      REPRODUCIBILITY :
      This bug can be reproduced always.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: