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.

Bug 91839 - NullPointerException in ASTProvider
Summary: NullPointerException in ASTProvider
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: All Linux
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-04 17:16 UTC by nmatthews
Modified: 2008-02-25 16:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nmatthews 2007-01-04 17:16:46 UTC
*********** Exception occurred ************ at 3:38 PM on Jan 2, 2007
java.lang.NullPointerException
    at
org.netbeans.modules.javacore.parser.ASTProvider.getToken(ASTProvider.java:349)
    at
org.netbeans.modules.javacore.parser.TokenIterator.getNextTokenType(TokenIterator.java:69)
[catch] at
org.netbeans.modules.javacore.scanning.JavaUpdater.makeIndex(JavaUpdater.java:102)
    at
org.netbeans.modules.javacore.scanning.JavaUpdater.computeIndex(JavaUpdater.java:64)
    at
org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.directUpdate(ResourceImpl.java:719)
    at
org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.checkUpToDate(ResourceImpl.java:650)
    at
org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.checkUpToDate(ResourceImpl.java:593)
    at
org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.getClassifiers(ResourceImpl.java:171)
    at org.netbeans.jmi.javamodel.Resource$Impl.getClassifiers(Unknown Source)
    at
org.netbeans.modules.j2ee.verification.JEEVerificationAnnotationProvider.getAllClassesDefinedInResource(JEEVerificationAnnotationProvider.java:316)
    at
org.netbeans.modules.j2ee.verification.JEEVerificationAnnotationProvider.processDocument(JEEVerificationAnnotationProvider.java:204)
    at
org.netbeans.modules.j2ee.verification.JEEVerificationAnnotationProvider.access$100(JEEVerificationAnnotationProvider.java:77)
    at
org.netbeans.modules.j2ee.verification.JEEVerificationAnnotationProvider$ChangeListener$1.run(JEEVerificationAnnotationProvider.java:357)
    at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
    at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
Comment 1 Quality Engineering 2007-09-20 10:26:14 UTC
Reorganization of java component
Comment 2 Jan Becicka 2008-02-25 16:18:21 UTC
This issue is not valid in current builds any more. Java support was completely
redesigned in 6.0 time frame. Please use NetBeans 6.0 and later.