This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I cannot start IDE using JDK 1.5.0_11 because of the following deadlock. I tried it several times and the deadlock always occured. However I could start the IDE using JDK 1.6.0. The deadlock: "JavaSourceTaskFactory" daemon prio=2 tid=0x1622b8f8 nid=0xb30 in Object.wait() [0x16a1f000..0x16a1fc6c] at java.lang.Object.wait(Native Method) - waiting on <0x05372200> (a java.awt.EventQueue$1AWTInvocationLock) at java.lang.Object.wait(Object.java:474) at java.awt.EventQueue.invokeAndWait(EventQueue.java:848) - locked <0x05372200> (a java.awt.EventQueue$1AWTInvocationLock) at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1257) at o.o.filesystems.FileUtil.getFileSystemView(FileUtil.java:1316) - locked <0x0c150fd8> (a java.lang.Class) at o.o.f-s.FileUtil.canBeCanonicalizedOnWindows(FileUtil.java:1292) at o.o.f-s.FileUtil.normalizeFileOnWindows(FileUtil.java:1273) at o.o.f-s.FileUtil.normalizeFile(FileUtil.java:1178) ... "AWT-EventQueue-1" prio=6 tid=0x163942c8 nid=0x310 waiting for monitor entry [0x171df000..0x171dfaec] at o.o.filesystems.FileUtil.getJavaSpecVersion(FileUtil.java:1305) - waiting to lock <0x0c150fd8> (a java.lang.Class) at o.o.filesystems.FileUtil.is4089199(FileUtil.java:1300) at o.o.filesystems.FileUtil.canBeCanonicalizedOnWindows (FileUtil.java:1291) at o.o.filesystems.FileUtil.normalizeFileOnWindows(FileUtil.java:1273) at o.o.filesystems.FileUtil.normalizeFile(FileUtil.java:1178) at o.o.filesystems.FileUtil.toFileObject(FileUtil.java:507) at o.n.m.java.source.usages.RepositoryUpdater.registerFileSystemListener (:384) at o.n.m.java.source.usages.RepositoryUpdater.<init>(:149) at o.n.m.java.source.usages.RepositoryUpdater.getDefault(:1743) - locked <0x0d6c39c8> (a java.lang.Class) at o.n.m.java.source.JBrowseModule$1.run(JBrowseModule.java:77) ... This bug might be related to issue #95847 ("Startup: Cannot call invokeAndWait from the EQ"). This is a dual-processor machine (2x Opteron 244). -- NetBeans IDE Dev (Build 070216) 1.5.0_11; Java HotSpot(TM) Client VM 1.5.0_11-b03 Windows 2003 version 5.2 running on x86 en_US (nb); Cp1252
Created attachment 38628 [details] full thread-dump
/cvs/openide/fs/src/org/openide/filesystems/FileUtil.java,v <-- FileUtil.java new revision: 1.35; previous revision: 1.34 /cvs/openide/fs/src/org/openide/filesystems/FileUtil.java,v <-- FileUtil.java new revision: 1.34.2.1; previous revision: 1.34
Verified in the trunk (custom build).
Verified in branch 'release60-m7'.