gpt4 book ai didi

java - Eclipse 无法启动调试方式

转载 作者:行者123 更新时间:2023-12-01 05:51:48 26 4
gpt4 key购买 nike

我正在 Eclipse 中开发 Java 项目。我可以启动应用程序(运行方式)并且工作正常,但我无法启动调试方式(我可以启动调试方式,但突然我不能再启动了)。有人对这种奇怪的东西有经验吗?

<小时/>

@dimitrisil在调试控制台中

MainWindow (1) [Java Application]   
com.euroicc.histo.view.MainWindow at localhost:4325
Thread [AWT-Shutdown] (Running)
Daemon Thread [AWT-Windows] (Running)
Thread [AWT-EventQueue-0] (Suspended (exception NumberFormatException))
Integer.parseInt(String, int) line: not available
Integer.<init>(String) line: not available
InetAddressCachePolicy.<clinit>() line: not available
InetAddress$Cache.getPolicy() line: not available
InetAddress$Cache.put(String, Object) line: not available
InetAddress.cacheInitIfNeeded() line: not available
InetAddress.cacheAddress(String, Object, boolean) line: not available
InetAddress.getAddressFromNameService(String, InetAddress) line: not available
InetAddress.getLocalHost() line: not available
SeedGenerator$1.run() line: not available
AccessController.doPrivileged(PrivilegedAction<T>) line: not available [native method]
SeedGenerator.getSystemEntropy() line: not available
SecureRandom.engineNextBytes(byte[]) line: not available
SecureRandom.nextBytes(byte[]) line: not available
SecureRandom.next(int) line: not available
SecureRandom(Random).nextLong() line: not available
File.generateFile(String, String, File) line: not available
File.createTempFile(String, String, File) line: not available
FileCacheImageInputStream.<init>(InputStream, File) line: not available
InputStreamImageInputStreamSpi.createInputStreamInstance(Object, boolean, File) line: not available
ImageIO.createImageInputStream(Object) line: not available
ImageIO.read(URL) line: not available
BrushedMetalDecorationPainter.<init>() line: 69
BusinessBlackSteelSkin.<init>() line: 135
SubstanceBusinessBlackSteelLookAndFeel.<init>() line: 54
MainWindow$7.run() line: 238
InvocationEvent.dispatch() line: not available
EventQueue.dispatchEvent(AWTEvent) line: not available
EventDispatchThread.pumpOneEventForFilters(int) line: not available
EventDispatchThread.pumpEventsForFilter(int, Conditional, EventFilter) line: not available
EventDispatchThread.pumpEventsForHierarchy(int, Conditional, Component) line: not available
EventDispatchThread.pumpEvents(int, Conditional) line: not available
EventDispatchThread.pumpEvents(Conditional) line: not available
EventDispatchThread.run() line: not available
Thread [DestroyJavaVM] (Running)
C:\Program Files\Java\jre1.6.0_17\bin\javaw.exe (17.12.2010. 15.00.45)
MainWindow (1) [Java Application]
com.euroicc.histo.view.MainWindow at localhost:4363
Thread [AWT-Shutdown] (Running)
Daemon Thread [AWT-Windows] (Running)
Thread [AWT-EventQueue-0] (Suspended (exception NumberFormatException))
Integer.parseInt(String, int) line: not available
Integer.<init>(String) line: not available
InetAddressCachePolicy.<clinit>() line: not available
InetAddress$Cache.getPolicy() line: not available
InetAddress$Cache.put(String, Object) line: not available
InetAddress.cacheInitIfNeeded() line: not available
InetAddress.cacheAddress(String, Object, boolean) line: not available
InetAddress.getAddressFromNameService(String, InetAddress) line: not available
InetAddress.getLocalHost() line: not available
SeedGenerator$1.run() line: not available
AccessController.doPrivileged(PrivilegedAction<T>) line: not available [native method]
SeedGenerator.getSystemEntropy() line: not available
SecureRandom.engineNextBytes(byte[]) line: not available
SecureRandom.nextBytes(byte[]) line: not available
SecureRandom.next(int) line: not available
SecureRandom(Random).nextLong() line: not available
File.generateFile(String, String, File) line: not available
File.createTempFile(String, String, File) line: not available
FileCacheImageInputStream.<init>(InputStream, File) line: not available
InputStreamImageInputStreamSpi.createInputStreamInstance(Object, boolean, File) line: not available
ImageIO.createImageInputStream(Object) line: not available
ImageIO.read(URL) line: not available
BrushedMetalDecorationPainter.<init>() line: 69
BusinessBlackSteelSkin.<init>() line: 135
SubstanceBusinessBlackSteelLookAndFeel.<init>() line: 54
MainWindow$7.run() line: 238
InvocationEvent.dispatch() line: not available
EventQueue.dispatchEvent(AWTEvent) line: not available
EventDispatchThread.pumpOneEventForFilters(int) line: not available
EventDispatchThread.pumpEventsForFilter(int, Conditional, EventFilter) line: not available
EventDispatchThread.pumpEventsForHierarchy(int, Conditional, Component) line: not available
EventDispatchThread.pumpEvents(int, Conditional) line: not available
EventDispatchThread.pumpEvents(Conditional) line: not available
EventDispatchThread.run() line: not available
Thread [DestroyJavaVM] (Running)
C:\Program Files\Java\jre1.6.0_17\bin\javaw.exe (17.12.2010. 15.01.06)
MainWindow (1) [Java Application]
com.euroicc.histo.view.MainWindow at localhost:4369
Thread [AWT-Shutdown] (Running)
Daemon Thread [AWT-Windows] (Running)
Thread [AWT-EventQueue-0] (Suspended (exception NumberFormatException))
Integer.parseInt(String, int) line: not available
Integer.<init>(String) line: not available
InetAddressCachePolicy.<clinit>() line: not available
InetAddress$Cache.getPolicy() line: not available
InetAddress$Cache.put(String, Object) line: not available
InetAddress.cacheInitIfNeeded() line: not available
InetAddress.cacheAddress(String, Object, boolean) line: not available
InetAddress.getAddressFromNameService(String, InetAddress) line: not available
InetAddress.getLocalHost() line: not available
SeedGenerator$1.run() line: not available
AccessController.doPrivileged(PrivilegedAction<T>) line: not available [native method]
SeedGenerator.getSystemEntropy() line: not available
SecureRandom.engineNextBytes(byte[]) line: not available
SecureRandom.nextBytes(byte[]) line: not available
SecureRandom.next(int) line: not available
SecureRandom(Random).nextLong() line: not available
File.generateFile(String, String, File) line: not available
File.createTempFile(String, String, File) line: not available
FileCacheImageInputStream.<init>(InputStream, File) line: not available
InputStreamImageInputStreamSpi.createInputStreamInstance(Object, boolean, File) line: not available
ImageIO.createImageInputStream(Object) line: not available
ImageIO.read(URL) line: not available
BrushedMetalDecorationPainter.<init>() line: 69
BusinessBlackSteelSkin.<init>() line: 135
SubstanceBusinessBlackSteelLookAndFeel.<init>() line: 54
MainWindow$7.run() line: 238
InvocationEvent.dispatch() line: not available
EventQueue.dispatchEvent(AWTEvent) line: not available
EventDispatchThread.pumpOneEventForFilters(int) line: not available
EventDispatchThread.pumpEventsForFilter(int, Conditional, EventFilter) line: not available
EventDispatchThread.pumpEventsForHierarchy(int, Conditional, Component) line: not available
EventDispatchThread.pumpEvents(int, Conditional) line: not available
EventDispatchThread.pumpEvents(Conditional) line: not available
EventDispatchThread.run() line: not available
Thread [DestroyJavaVM] (Running)
C:\Program Files\Java\jre1.6.0_17\bin\javaw.exe (17.12.2010. 15.01.30)
MainWindow (1) [Java Application]
com.euroicc.histo.view.MainWindow at localhost:4383
Thread [AWT-Shutdown] (Running)
Daemon Thread [AWT-Windows] (Running)
Thread [AWT-EventQueue-0] (Suspended (exception NumberFormatException))
Integer.parseInt(String, int) line: not available
Integer.<init>(String) line: not available
InetAddressCachePolicy.<clinit>() line: not available
InetAddress$Cache.getPolicy() line: not available
InetAddress$Cache.put(String, Object) line: not available
InetAddress.cacheInitIfNeeded() line: not available
InetAddress.cacheAddress(String, Object, boolean) line: not available
InetAddress.getAddressFromNameService(String, InetAddress) line: not available
InetAddress.getLocalHost() line: not available
SeedGenerator$1.run() line: not available
AccessController.doPrivileged(PrivilegedAction<T>) line: not available [native method]
SeedGenerator.getSystemEntropy() line: not available
SecureRandom.engineNextBytes(byte[]) line: not available
SecureRandom.nextBytes(byte[]) line: not available
SecureRandom.next(int) line: not available
SecureRandom(Random).nextLong() line: not available
File.generateFile(String, String, File) line: not available
File.createTempFile(String, String, File) line: not available
FileCacheImageInputStream.<init>(InputStream, File) line: not available
InputStreamImageInputStreamSpi.createInputStreamInstance(Object, boolean, File) line: not available
ImageIO.createImageInputStream(Object) line: not available
ImageIO.read(URL) line: not available
BrushedMetalDecorationPainter.<init>() line: 69
BusinessBlackSteelSkin.<init>() line: 135
SubstanceBusinessBlackSteelLookAndFeel.<init>() line: 54
MainWindow$7.run() line: 238
InvocationEvent.dispatch() line: not available
EventQueue.dispatchEvent(AWTEvent) line: not available
EventDispatchThread.pumpOneEventForFilters(int) line: not available
EventDispatchThread.pumpEventsForFilter(int, Conditional, EventFilter) line: not available
EventDispatchThread.pumpEventsForHierarchy(int, Conditional, Component) line: not available
EventDispatchThread.pumpEvents(int, Conditional) line: not available
EventDispatchThread.pumpEvents(Conditional) line: not available
EventDispatchThread.run() line: not available
Thread [DestroyJavaVM] (Running)
C:\Program Files\Java\jre1.6.0_17\bin\javaw.exe (17.12.2010. 15.05.23)
MainWindow (1) [Java Application]
com.euroicc.histo.view.MainWindow at localhost:2740
Thread [AWT-Shutdown] (Running)
Daemon Thread [AWT-Windows] (Running)
Thread [AWT-EventQueue-0] (Suspended (exception NumberFormatException))
Integer.parseInt(String, int) line: not available
Integer.<init>(String) line: not available
InetAddressCachePolicy.<clinit>() line: not available
InetAddress$Cache.getPolicy() line: not available
InetAddress$Cache.put(String, Object) line: not available
InetAddress.cacheInitIfNeeded() line: not available
InetAddress.cacheAddress(String, Object, boolean) line: not available
InetAddress.getAddressFromNameService(String, InetAddress) line: not available
InetAddress.getLocalHost() line: not available
SeedGenerator$1.run() line: not available
AccessController.doPrivileged(PrivilegedAction<T>) line: not available [native method]
SeedGenerator.getSystemEntropy() line: not available
SecureRandom.engineNextBytes(byte[]) line: not available
SecureRandom.nextBytes(byte[]) line: not available
SecureRandom.next(int) line: not available
SecureRandom(Random).nextLong() line: not available
File.generateFile(String, String, File) line: not available
File.createTempFile(String, String, File) line: not available
FileCacheImageInputStream.<init>(InputStream, File) line: not available
InputStreamImageInputStreamSpi.createInputStreamInstance(Object, boolean, File) line: not available
ImageIO.createImageInputStream(Object) line: not available
ImageIO.read(URL) line: not available
BrushedMetalDecorationPainter.<init>() line: 69
BusinessBlackSteelSkin.<init>() line: 135
SubstanceBusinessBlackSteelLookAndFeel.<init>() line: 54
MainWindow$7.run() line: 238
InvocationEvent.dispatch() line: not available
EventQueue.dispatchEvent(AWTEvent) line: not available
EventDispatchThread.pumpOneEventForFilters(int) line: not available
EventDispatchThread.pumpEventsForFilter(int, Conditional, EventFilter) line: not available
EventDispatchThread.pumpEventsForHierarchy(int, Conditional, Component) line: not available
EventDispatchThread.pumpEvents(int, Conditional) line: not available
EventDispatchThread.pumpEvents(Conditional) line: not available
EventDispatchThread.run() line: not available
Thread [DestroyJavaVM] (Running)
C:\Program Files\Java\jre1.6.0_17\bin\javaw.exe (17.12.2010. 16.17.11)
MainWindow (1) [Java Application]
com.euroicc.histo.view.MainWindow at localhost:2926
Thread [AWT-Shutdown] (Running)
Daemon Thread [AWT-Windows] (Running)
Thread [DestroyJavaVM] (Running)
Thread [AWT-EventQueue-0] (Suspended (exception NumberFormatException))
Integer.parseInt(String, int) line: not available
Integer.<init>(String) line: not available
InetAddressCachePolicy.<clinit>() line: not available
InetAddress$Cache.getPolicy() line: not available
InetAddress$Cache.put(String, Object) line: not available
InetAddress.cacheInitIfNeeded() line: not available
InetAddress.cacheAddress(String, Object, boolean) line: not available
InetAddress.getAddressFromNameService(String, InetAddress) line: not available
InetAddress.getLocalHost() line: not available
SeedGenerator$1.run() line: not available
AccessController.doPrivileged(PrivilegedAction<T>) line: not available [native method]
SeedGenerator.getSystemEntropy() line: not available
SecureRandom.engineNextBytes(byte[]) line: not available
SecureRandom.nextBytes(byte[]) line: not available
SecureRandom.next(int) line: not available
SecureRandom(Random).nextLong() line: not available
File.generateFile(String, String, File) line: not available
File.createTempFile(String, String, File) line: not available
FileCacheImageInputStream.<init>(InputStream, File) line: not available
InputStreamImageInputStreamSpi.createInputStreamInstance(Object, boolean, File) line: not available
ImageIO.createImageInputStream(Object) line: not available
ImageIO.read(URL) line: not available
BrushedMetalDecorationPainter.<init>() line: 69
BusinessBlackSteelSkin.<init>() line: 135
SubstanceBusinessBlackSteelLookAndFeel.<init>() line: 54
MainWindow$7.run() line: 238
InvocationEvent.dispatch() line: not available
EventQueue.dispatchEvent(AWTEvent) line: not available
EventDispatchThread.pumpOneEventForFilters(int) line: not available
EventDispatchThread.pumpEventsForFilter(int, Conditional, EventFilter) line: not available
EventDispatchThread.pumpEventsForHierarchy(int, Conditional, Component) line: not available
EventDispatchThread.pumpEvents(int, Conditional) line: not available
EventDispatchThread.pumpEvents(Conditional) line: not available
EventDispatchThread.run() line: not available
C:\Program Files\Java\jre1.6.0_17\bin\javaw.exe (17.12.2010. 16.37.37)

最佳答案

我发现这两个菜单对它们的目标分别感到困惑。例如,对于 Ant 构建文件,一个的标题将继续为“Run As>Ant Build”,另一个的标题将为其他内容,然后失败。

重新启动 Eclipse 总是能解决问题。

关于java - Eclipse 无法启动调试方式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4471917/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com