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 160480 - NPE from JavaParsingContext.<init> during shutdown
Summary: NPE from JavaParsingContext.<init> during shutdown
Status: RESOLVED DUPLICATE of bug 160174
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Rastislav Komara
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-17 17:00 UTC by Jesse Glick
Modified: 2009-03-25 16:19 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 Jesse Glick 2009-03-17 17:00:55 UTC
Occurs in recent builds whenever I run ant tryme and then close the IDE window while scanning is still in progress.

java.lang.NullPointerException
        at org.netbeans.modules.java.source.indexing.JavaParsingContext.<init>(JavaParsingContext.java:68)
        at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$1$1.run(JavaCustomIndexer.java:100)
        at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$1$1.run(JavaCustomIndexer.java:96)
        at org.netbeans.modules.java.source.tasklist.TaskCache.refreshTransaction(TaskCache.java:464)
Caused: java.io.IOException
        at org.netbeans.modules.java.source.tasklist.TaskCache.refreshTransaction(TaskCache.java:468)
        at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$1.run(JavaCustomIndexer.java:96)
        at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$1.run(JavaCustomIndexer.java:94)
        at org.netbeans.modules.java.source.usages.ClassIndexManager.writeLock(ClassIndexManager.java:100)
[catch] at org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:94)
        at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:141)
        at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:648)
        at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.scanSource(RepositoryUpdater.java:1003)
        at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.scanSources(RepositoryUpdater.java:985)
        at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.getDone(RepositoryUpdater.java:831)
        at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$1.getDone(RepositoryUpdater.java:523)
        at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:689)
        at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(RepositoryUpdater.java:1113)
        at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.run(RepositoryUpdater.java:1089)
        at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:599)
...
Comment 1 Rastislav Komara 2009-03-25 16:19:26 UTC

*** This issue has been marked as a duplicate of 160174 ***