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.
Build: NetBeans IDE Dev (Build 200904161401) VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: Windows XP, 5.1, x86 User Comments: masaki: just created a simple java project. Stacktrace: java.io.IOException at org.netbeans.modules.java.source.tasklist.TaskCache.refreshTransaction(TaskCache.java:472) at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$1.run(JavaCustomIndexer.java:116) at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$1.run(JavaCustomIndexer.java:114) at org.netbeans.modules.java.source.usages.ClassIndexManager.writeLock(ClassIndexManager.java:100) at org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:114) at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:141)
Created attachment 80307 [details] stacktrace
I can not reproduce this problem on prev dev build 200904160201.
@dbalek: It looks like candidate for closing. Reported can't reproduce on new builds. Reassigning just for the case.
Build: NetBeans IDE Dev (Build 200904170201) VM: Java HotSpot(TM) Client VM, 15.0-b05, Java(TM) SE Runtime Environment, 1.7.0-ea-b54 OS: Windows XP, 5.1, x86 User Comments: Exception occurs when IDE is launched and loaded. Stacktrace: java.io.IOException at org.netbeans.modules.java.source.tasklist.TaskCache.refreshTransaction(TaskCache.java:472) at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$1.run(JavaCustomIndexer.java:116) at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$1.run(JavaCustomIndexer.java:114) at org.netbeans.modules.java.source.usages.ClassIndexManager.writeLock(ClassIndexManager.java:100) at org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:114) at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:141)
Created attachment 80336 [details] stacktrace
Build: NetBeans IDE Dev (Build 200904170201) VM: Java HotSpot(TM) Client VM, 15.0-b05, Java(TM) SE Runtime Environment, 1.7.0-ea-b54 OS: Windows XP, 5.1, x86 User Comments: Created new java application project. Occurs every time. Stacktrace: java.io.IOException at org.netbeans.modules.java.source.tasklist.TaskCache.refreshTransaction(TaskCache.java:472) at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$1.run(JavaCustomIndexer.java:116) at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$1.run(JavaCustomIndexer.java:114) at org.netbeans.modules.java.source.usages.ClassIndexManager.writeLock(ClassIndexManager.java:100) at org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:114) at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:141)
Created attachment 80337 [details] stacktrace
Occurs also at saving file, changing to P1, because it is really annoying and makes IDE nearly unusable.
Unfortunately, I cannot reproduce the issue. Could you please attach your newly created project? Thanks.
It is simply new java application project created via project wizard. It also happens at IDE startup and also when saving opened files. Maybe it is only Windows issue or you are trying to reproduce it on other build?
Could be Windows specific. Do you have spaces in path to your project? If so, could you please try to move your project to some location without spaces on path and run NB again? Thanks.
Build: NetBeans IDE Dev (Build 200904170201) VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b02 OS: Windows XP, 5.1, x86 User Comments: installed Netbeans and created a new Mobile Application Stacktrace: java.io.IOException at org.netbeans.modules.java.source.tasklist.TaskCache.refreshTransaction(TaskCache.java:472) at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$1.run(JavaCustomIndexer.java:116) at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$1.run(JavaCustomIndexer.java:114) at org.netbeans.modules.java.source.usages.ClassIndexManager.writeLock(ClassIndexManager.java:100) at org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:114) at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:141)
Created attachment 80344 [details] stacktrace
Also, could you please attach IDE log file (var/log/messages.log file located in your NB userdir) Thanks.
Created attachment 80356 [details] Here it is
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/8f8b7a2acd60
Build: NetBeans IDE Dev (Build 200904170201) VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b02 OS: Windows XP, 5.1, x86 User Comments: Stacktrace: java.io.IOException at org.netbeans.modules.java.source.tasklist.TaskCache.refreshTransaction(TaskCache.java:472) at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$1.run(JavaCustomIndexer.java:116) at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$1.run(JavaCustomIndexer.java:114) at org.netbeans.modules.java.source.usages.ClassIndexManager.writeLock(ClassIndexManager.java:100) at org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:114) at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:141)
Created attachment 80378 [details] stacktrace
Integrated into 'main-golden', will be available in build *200904180201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/8f8b7a2acd60 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #162892: NullPointerException at org.netbeans.modules.java.source.indexing.MultiPassCompileWorker.compile - fixed.
Integrated into 'main-golden', will be available in build *200904201507* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/8f8b7a2acd60 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #162892: NullPointerException at org.netbeans.modules.java.source.indexing.MultiPassCompileWorker.compile - fixed.
*** Issue 163167 has been marked as a duplicate of this issue. ***