Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2007

Tip: Looking for answers? Try searching our database.

Netbeans 4.1 no code completion, no go to declaration etc

Thread view: 
Jo - 20 Apr 2007 12:17 GMT
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 - 20 Apr 2007 12:30 GMT
..
>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>

Signature

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

Lew - 20 Apr 2007 13:28 GMT
> .
>> I wonder if you know how to solve this problem, everytime I use
[quoted text clipped - 3 lines]
> Ask the NetBeans gurus.
> <http://www.netbeans.org/community/lists/top.html>

Get a current version of NetBeans, too.

Signature

Lew



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.