Netbeans 4.1 no code completion, no go to declaration etc

J

Jo

HI there:

I wonder if you know how to solve this problem, everytime I use
Netbeans and try to invoque code completion or
do Alt+G to go to a declaration it doesnt work, I dont get a
notification but i can see this on an error indicator on the bottom
rigth of the IDE, any ideaS?

This is the error:

Annotation: Exception occurred in Request Processor
java.lang.NullPointerException
at
org.netbeans.modules.javacore.parser.ClassFileInfoUtil.getJavadocFile(ClassFileInfoUtil.java:
705)
at
org.netbeans.modules.javacore.parser.ClassFileInfoUtil.getHtmlReader(ClassFileInfoUtil.java:
633)
at
org.netbeans.modules.javacore.parser.ClassFileInfoUtil.createParamsInfo(ClassFileInfoUtil.java:
582)
at
org.netbeans.modules.javacore.parser.ClassFileInfoUtil.createMethodInfo(ClassFileInfoUtil.java:
213)
at
org.netbeans.modules.javacore.parser.ClassFileInfoUtil.createClassInfo(ClassFileInfoUtil.java:
153)
at
org.netbeans.modules.javacore.parser.ClassFileInfoUtil.createClassInfo(ClassFileInfoUtil.java:
141)
at
org.netbeans.modules.javacore.parser.ClassFileInfoUtil.createClassInfo(ClassFileInfoUtil.java:
66)
at
org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.getResInfoFromClassFile(ResourceImpl.java:
413)
at
org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.directClassFileUpdate(ResourceImpl.java:
670)
at
org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.checkUpToDate(ResourceImpl.java:
644)
at
org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.checkUpToDate(ResourceImpl.java:
582)
at
org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.checkUpToDate(SemiPersistentElement.java:
263)
at
org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.checkUpToDate(SemiPersistentElement.java:
267)
at
org.netbeans.modules.javacore.jmiimpl.javamodel.JavaClassImpl.getSuperClass(JavaClassImpl.java:
321)
at org.netbeans.jmi.javamodel.JavaClass$Impl.getSuperClass(Unknown
Source)
at
org.netbeans.modules.javacore.jmiimpl.javamodel.ParameterizedTypeImpl.getSuperClass(ParameterizedTypeImpl.java:
219)
at org.netbeans.jmi.javamodel.ParameterizedType
$Impl.getSuperClass(Unknown Source)
at org.netbeans.modules.editor.java.JMIUtils
$ClassesIterator.next(JMIUtils.java:1297)
at
org.netbeans.modules.editor.java.JMIUtils.findFeatures(JMIUtils.java:
820)
at
org.netbeans.modules.editor.java.JMIUtils.findMethods(JMIUtils.java:
416)
at org.netbeans.modules.editor.java.NbJavaJMICompletionQuery
$Context.resolveItem(NbJavaJMICompletionQuery.java:885)
at org.netbeans.modules.editor.java.NbJavaJMICompletionQuery
$Context.resolveExp(NbJavaJMICompletionQuery.java:225)
at
org.netbeans.modules.editor.java.NbJavaJMICompletionQuery.getResult(NbJavaJMICompletionQuery.java:
56)
at
org.netbeans.editor.ext.java.JavaCompletionQuery.query(JavaCompletionQuery.java:
144)
at
org.netbeans.modules.editor.java.JMIUtils.findItemAtCaretPos(JMIUtils.java:
1196)
at org.netbeans.modules.editor.java.JavaKit
$JavaJMIGotoDeclarationAction.actionPerformed(JavaKit.java:361)
at org.netbeans.editor.BaseAction$1.run(BaseAction.java:190)
at org.openide.util.Task.run(Task.java:189)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:
330)
[catch] at org.openide.util.RequestProcessor
$Processor.run(RequestProcessor.java:721)


Cheers

j
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top