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.
After about 13 seconds it fails with several exceptions, like the one attached. After third invocation completion will show up. Reporoduced on JDK 1.4.2_03 on last maintrunk dev build.
Created attachment 18929 [details] exc
This is caused by 51585 - up-to-date checking should be suppressed during code completion, since it causes concurrent updates of the SN index. This particular update happens because of some obfuscated? classses on the classpath. *** This issue has been marked as a duplicate of 51585 ***
I think this is probably something different. JSP completion uses MDRFinder and Java completion uses another approach via NbJavaJMICompletionQuery. And it seems JMManager.setSafeTrans(true) was used at the beginning of the transaction called from NbJavaJMICompletionQuery also for "new |" call. It is evident also from the attached stacktrace. Exception occured after the thread passed org.netbeans.modules.editor.java.NbJavaJMICompletionQuery.getResult(NbJavaJMICompletionQu ery.java:58) ((JMManager) JMManager.getManager()).setSafeTrans(true); is on the 56th line. I am not sure to which module this will finally belong. CCing also Dusan, whether he doesn't see any clue. BTW, setSafeTrans helped in issue #51585
*** Issue 51648 has been marked as a duplicate of this issue. ***
Fixed. Checking in src/org/netbeans/modules/javacore/jmiimpl/javamodel/SemiPersistentElement.java; /cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/SemiPersistentElement.java,v <-- SemiPersistentElement.java new revision: 1.60; previous revision: 1.59 done Checking in src/org/netbeans/modules/javacore/jmiimpl/javamodel/ResourceImpl.java; /cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/ResourceImpl.java,v <-- ResourceImpl.java new revision: 1.52; previous revision: 1.51 done
Reorganization of java component