Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Netbeans 4.1 no code completion, no go to declaration etc

0 views
Skip to first unread message

Jo

unread,
Apr 20, 2007, 7:17:18 AM4/20/07
to
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

Andrew Thompson

unread,
Apr 20, 2007, 7:30:35 AM4/20/07
to
Jo wrote:
.

>I wonder if you know how to solve this problem, everytime I use
>Netbeans ...
>...any ideaS?

Ask the NetBeans gurus.
<http://www.netbeans.org/community/lists/top.html>

--
Andrew Thompson
http://www.athompson.info/andrew/

Message posted via JavaKB.com
http://www.javakb.com/Uwe/Forums.aspx/java-general/200704/1

Lew

unread,
Apr 20, 2007, 8:28:51 AM4/20/07
to
Andrew Thompson wrote:
> Jo wrote:
> .
>> I wonder if you know how to solve this problem, everytime I use
>> Netbeans ...
>> ...any ideaS?
>
> Ask the NetBeans gurus.
> <http://www.netbeans.org/community/lists/top.html>

Get a current version of NetBeans, too.

--
Lew

0 new messages