Fatal Error怎么回事?# Java - 爪哇娇娃
b*i
1 楼
# A fatal error has been detected by the Java Runtime Environment:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000007feff501773, pid=
23212, tid=23300
# JRE version: 6.0_37-b06
# JavaVM:JavaHotSpot(TM) 64-Bit Server VM (20.12-b01 mixed mode windows-
amd64
compressed oops)
# Problematic frame:
# C [ole32.dll+0x21773]
# An error report file with more information is saved as:
# ----------------------------hs_err_pid23212.log
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j sun.awt.windows.WComponentPeer.removeNativeDropTarget()V+0
j sun.awt.windows.WComponentPeer.removeDropTarget(Ljava/awt/dnd/DropTarget;
)V+18
j java.awt.dnd.DropTarget.removeNotify(Ljava/awt/peer/ComponentPeer;)V+15
j java.awt.Component.removeNotify()V+211
j java.awt.Container.removeNotify()V+71
j javax.swing.JComponent.removeNotify()V+1
j javax.swing.text.JTextComponent.removeNotify()V+1
j java.awt.Container.removeNotify()V+42
j javax.swing.JComponent.removeNotify()V+1
j java.awt.Container.removeNotify()V+42
j javax.swing.JComponent.removeNotify()V+1
j java.awt.Container.remove(I)V+55
j java.awt.Container.remove(Ljava/awt/Component;)V+32
j java.awt.Container.addImpl(Ljava/awt/Component;Ljava/lang/Object;I)V+85
j javax.swing.JLayeredPane.addImpl(Ljava/awt/Component;Ljava/lang/Object;I)
V+55
j java.awt.Container.add(Ljava/awt/Component;)Ljava/awt/Component;+4
下面是我的代码:
a.add(b); a b 都是JComponent
目前我运行程序上百次,多次问题都在这里fatal error。是我代码问题吗?还是java
bug?
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000007feff501773, pid=
23212, tid=23300
# JRE version: 6.0_37-b06
# JavaVM:JavaHotSpot(TM) 64-Bit Server VM (20.12-b01 mixed mode windows-
amd64
compressed oops)
# Problematic frame:
# C [ole32.dll+0x21773]
# An error report file with more information is saved as:
# ----------------------------hs_err_pid23212.log
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j sun.awt.windows.WComponentPeer.removeNativeDropTarget()V+0
j sun.awt.windows.WComponentPeer.removeDropTarget(Ljava/awt/dnd/DropTarget;
)V+18
j java.awt.dnd.DropTarget.removeNotify(Ljava/awt/peer/ComponentPeer;)V+15
j java.awt.Component.removeNotify()V+211
j java.awt.Container.removeNotify()V+71
j javax.swing.JComponent.removeNotify()V+1
j javax.swing.text.JTextComponent.removeNotify()V+1
j java.awt.Container.removeNotify()V+42
j javax.swing.JComponent.removeNotify()V+1
j java.awt.Container.removeNotify()V+42
j javax.swing.JComponent.removeNotify()V+1
j java.awt.Container.remove(I)V+55
j java.awt.Container.remove(Ljava/awt/Component;)V+32
j java.awt.Container.addImpl(Ljava/awt/Component;Ljava/lang/Object;I)V+85
j javax.swing.JLayeredPane.addImpl(Ljava/awt/Component;Ljava/lang/Object;I)
V+55
j java.awt.Container.add(Ljava/awt/Component;)Ljava/awt/Component;+4
下面是我的代码:
a.add(b); a b 都是JComponent
目前我运行程序上百次,多次问题都在这里fatal error。是我代码问题吗?还是java
bug?