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 268050 - NullPointerException at org.netbeans.modules.java.source.indexing.COSSynchronizingIndexer.index
Summary: NullPointerException at org.netbeans.modules.java.source.indexing.COSSynchron...
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-15 20:07 UTC by ytn01
Modified: 2016-09-21 01:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 191967


Attachments
stacktrace (3.90 KB, text/plain)
2016-09-15 20:07 UTC, ytn01
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ytn01 2016-09-15 20:07:09 UTC
Build: NetBeans IDE 8.2 RC (Build 201609120201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.112-b04, Java(TM) SE Runtime Environment, 1.8.0_112-ea-b04
OS: Windows 10

User Comments:
ytn01: I have a Java Web Project that has sources under CVS.
Closed the project,.. deleted the src dir of the project from disk (which was the base dir of cvs repo).
Re-checkedout the src dir from my CVS repo.
Once checkout finished,.. reopened the Java Web project. 
After about a minute,.. While source indexing was in progress,.. closed the project.
Exception got thrown.

GUEST: I'm not sure what I was doing, I just looked down and noticed the icon.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.java.source.indexing.COSSynchronizingIndexer.index(COSSynchronizingIndexer.java:102)
   at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$2.run(Indexable.java:161)
   at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:298)
   at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:159)
   at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2773)
   at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2177)
Comment 1 ytn01 2016-09-15 20:07:11 UTC
Created attachment 162067 [details]
stacktrace
Comment 2 Tomas Zezula 2016-09-19 08:32:41 UTC
Fixed jet-main 3c41438904ac
Comment 3 Quality Engineering 2016-09-21 01:59:46 UTC
Integrated into 'main-silver', will be available in build *201609210002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/3c41438904ac
User: Tomas Zezula <tzezula@netbeans.org>
Log: #268050:NullPointerException at org.netbeans.modules.java.source.indexing.COSSynchronizingIndexer.index