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.
[ BUILD # : 20051218 ] [ JDK VERSION : 1.4.2_xx ] When hitting code completion after a getter method: getProject(). the following exception is thrown: javax.jmi.reflect.InvalidObjectException: Object with MOFID 5F28A329-7150-11DA-8628-5D8CBFCCAA77:0000000000000CBC no longer exists, class: org.netbeans.jmi.javamodel.Method$Impl at org.netbeans.mdr.handlers.BaseObjectHandler._getDelegate(BaseObjectHandler.java:359) at org.netbeans.mdr.handlers.InstanceHandler.getInstanceDelegate(InstanceHandler.java:48) at org.netbeans.mdr.handlers.InstanceHandler._immediateComposite(InstanceHandler.java:251) at org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement._immediateComposite(MetadataElement.java:1747) at org.netbeans.mdr.handlers.InstanceHandler.refImmediateComposite(InstanceHandler.java:243) at org.netbeans.modules.javacore.jmiimpl.javamodel.FeatureImpl.getDeclaringClass(FeatureImpl.java:257) at org.netbeans.modules.editor.java.NbJavaJMISyntaxSupport.getJavaClass(NbJavaJMISyntaxSupport.java:63) at org.netbeans.modules.editor.java.NbJavaJMICompletionQuery$Context.<init>(NbJavaJMICompletionQuery.java:163) at org.netbeans.modules.editor.java.NbJavaJMICompletionQuery.getResult(NbJavaJMICompletionQuery.java:56) at org.netbeans.editor.ext.java.JavaCompletionQuery.query(JavaCompletionQuery.java:139) at org.netbeans.editor.ext.java.JavaCompletionQuery.query(JavaCompletionQuery.java:74) at org.netbeans.modules.editor.java.JavaCompletionProvider$Query.query(JavaCompletionProvider.java:108) at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:189) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:926) Code completion does not work and there are no further exceptions in messages.log
I'm not able to reproduce, please provide some steps to reproduce. Thanks. Is the getProject() method from Ant?
already fixed. Make sure you are really using build 20051218. The stacktrace doesn't prove this. *** This issue has been marked as a duplicate of 62638 ***
Sorry, but that other issue seems different and also should be fixed since Oct. I am using Q-Build for 20051218, more specifically build 200512182030. I am not aware of steps to reproduce this issue.
Aha, I appologize, I didn't know you are using q-build. In this case I understand the stack trace :-) But we need more info. Try to reproduce it and find the steps, attach log. For now I am adding incomplete and random keywords. Java guys, we are already checking the validity of the feature and the feature.getDeclaringClass() is performed only if th feature is valid. It seems the problem is probably at your side.
Javacore module was replaced by Retouche infrastructure. This bug is not valid in trunk any more.
Reorganization of java component