0 Replies Latest reply: Jul 8, 2009 3:26 AM by 843829 RSS

    Errors encouter when running Swing applications

    843829
      My Java version is 1.5.0_10-b03. JVM crashes and throw out the following errors when running Swing applictions. Do anyone have idea on what's happening?

      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      #  EXCEPTION_INVALID_HANDLE (0xc0000008) at pc=0x7c966668, pid=2204, tid=3772
      #
      # Java VM: Java HotSpot(TM) Client VM (1.5.0_10-b03 mixed mode)
      # Problematic frame:
      # C  [ntdll.dll+0x66668]
      #
      
      ---------------  T H R E A D  ---------------
      
      Current thread (0x0082fdd0):  JavaThread "Finalizer" daemon [_thread_in_native, id=3772]
      
      siginfo: ExceptionCode=0xc0000008
      
      Registers:
      EAX=0x16cef60c, EBX=0x13cd9af8, ECX=0x16cef658, EDX=0x7c90e514
      ESP=0x16cef60c, EBP=0x16cef65c, ESI=0x206d8c00, EDI=0x206d8c14
      EIP=0x7c966668, EFLAGS=0x00000246
      
      Top of Stack: (sp=0x16cef60c)
      0x16cef60c:   c0000008 00000001 00000000 7c966668
      0x16cef61c:   00000000 00000000 00000000 00000010
      0x16cef62c:   00839620 00332728 13cd9af8 6d80d4f5
      0x16cef63c:   0082fe90 16cef6e8 00000042 0082fdd0
      0x16cef64c:   13cd9af8 13cd9af8 16cef648 7c90dc2a
      0x16cef65c:   16cef668 7c943b8e c0000008 16cef6a4
      0x16cef66c:   7c9010fd 206d8c14 6d1494c8 206d8c14
      0x16cef67c:   0082fdd0 13cd9af8 6d150818 0082fdd0 
      
      Instructions: (pc=0x7c966668)
      0x7c966658:   8d 45 b0 50 c7 45 b4 01 00 00 00 e8 c0 7e fa ff
      0x7c966668:   c9 c2 04 00 90 90 90 90 90 8b ff 55 8b ec 53 56 
      
      
      Stack: [0x16cb0000,0x16cf0000),  sp=0x16cef60c,  free space=253k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C  [ntdll.dll+0x66668]
      C  [ntdll.dll+0x43b8e]
      C  [ntdll.dll+0x10fd]
      j  sun.awt.windows.WRobotPeer._dispose()V+0
      j  sun.awt.windows.WRobotPeer.disposeImpl()V+1
      j  sun.awt.windows.WObjectPeer.dispose()V+42
      j  sun.awt.windows.WObjectPeer.finalize()V+1
      v  ~StubRoutines::call_stub
      V  [jvm.dll+0x8757c]
      V  [jvm.dll+0xde804]
      V  [jvm.dll+0x8744d]
      V  [jvm.dll+0x8c82a]
      C  [java.dll+0x2006]
      J  java.lang.ref.Finalizer.runFinalizer()V
      J  java.lang.ref.Finalizer$FinalizerThread.run()V
      v  ~OSRAdapter
      v  ~StubRoutines::call_stub
      V  [jvm.dll+0x8757c]
      V  [jvm.dll+0xde804]
      V  [jvm.dll+0x8744d]
      V  [jvm.dll+0x871aa]
      V  [jvm.dll+0xa1de8]
      V  [jvm.dll+0x10fad4]
      V  [jvm.dll+0x10faa2]
      C  [MSVCRT.dll+0x2a3b0]
      C  [kernel32.dll+0xb699]
      
      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j  sun.awt.windows.WRobotPeer._dispose()V+0
      j  sun.awt.windows.WRobotPeer.disposeImpl()V+1
      j  sun.awt.windows.WObjectPeer.dispose()V+42
      j  sun.awt.windows.WObjectPeer.finalize()V+1
      v  ~StubRoutines::call_stub
      J  java.lang.ref.Finalizer.invokeFinalizeMethod(Ljava/lang/Object;)V
      J  java.lang.ref.Finalizer.runFinalizer()V
      J  java.lang.ref.Finalizer$FinalizerThread.run()V
      v  ~OSRAdapter
      v  ~StubRoutines::call_stub