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.
- Open a module project - Note scanning and gets stuck openide/util/test/unit/src for ever. - Open any Java Project - Right click on the Java Editor - IDE hangs. Attaching Thread Dump.
Created attachment 52198 [details] Thread Dump
Two separate problems here, IMO: -scanning of openide/util/test/unit/src forever - I was not able to reproduce so far, but I will keep trying. -parsing in the AWT - the callers of JavaSource.runUserActionTask need to do something about this, this cannot be solved in the Java infrastructure. In this case it is: org.netbeans.modules.j2ee.ejbcore._RetoucheUtil.getJavaClassFromNode(_RetoucheUtil.java:145) org.netbeans.modules.j2ee.ejbcore.ui.logicalview.ejb.action.EJBActionGroup.enable(EJBActionGroup.java:125) org.openide.util.actions.NodeAction$DelegateAction.resultChanged(NodeAction.java:611) ...
As Honza described above this issue has two problems: 1) The livelock 2) The AWT call to infrastructure (not so important) and outside of java editor (j2ee) We will use this issue for the first problem. Unfortunately I am not able to reproduce it either, I will attach the patched javac-impl.jar can you try to reproduce it using this patched javac-impl.jar? It will generate debug messages we can use to find out what happens.
> parsing in the AWT - the callers of JavaSource.runUserActionTask need to do something about this Issue 120623.
2) reported as separate issue 120623
Tonda had the version of openide/util with the broken source causing this bug (reproduceable case). Fixed. Checking in javac-impl.jar; /cvs/java/source/javacimpl/external/javac-impl.jar,v <-- javac-impl.jar new revision: 1.20; previous revision: 1.19 done
I verified that it works.
*** Issue 120846 has been marked as a duplicate of this issue. ***