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 162892 - NullPointerException at org.netbeans.modules.java.source.indexing.MultiPassCompileWorker.compile
Summary: NullPointerException at org.netbeans.modules.java.source.indexing.MultiPassCo...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Dusan Balek
URL: http://statistics.netbeans.org/except...
Keywords:
: 163167 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-04-17 03:20 UTC by Masaki Katakai
Modified: 2009-04-21 09:19 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 149675


Attachments
stacktrace (2.33 KB, text/plain)
2009-04-17 03:20 UTC, Masaki Katakai
Details
stacktrace (2.44 KB, text/plain)
2009-04-17 12:10 UTC, martinhavle
Details
stacktrace (2.33 KB, text/plain)
2009-04-17 12:19 UTC, martinhavle
Details
stacktrace (2.44 KB, text/plain)
2009-04-17 13:25 UTC, Andrei Chistiakov
Details
Here it is (138.60 KB, text/plain)
2009-04-17 14:29 UTC, Andrei Chistiakov
Details
stacktrace (2.44 KB, text/plain)
2009-04-17 17:21 UTC, Ivan Sidorkin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2009-04-17 03:20:24 UTC
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)
Comment 1 Masaki Katakai 2009-04-17 03:20:30 UTC
Created attachment 80307 [details]
stacktrace
Comment 2 Masaki Katakai 2009-04-17 03:42:01 UTC
I can not reproduce this problem on prev dev build 200904160201.
Comment 3 Rastislav Komara 2009-04-17 09:17:10 UTC
@dbalek: It looks like candidate for closing. Reported can't reproduce on new builds. Reassigning just for the case.
Comment 4 martinhavle 2009-04-17 12:10:39 UTC
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)
Comment 5 martinhavle 2009-04-17 12:10:49 UTC
Created attachment 80336 [details]
stacktrace
Comment 6 martinhavle 2009-04-17 12:19:41 UTC
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)
Comment 7 martinhavle 2009-04-17 12:19:51 UTC
Created attachment 80337 [details]
stacktrace
Comment 8 martinhavle 2009-04-17 12:22:43 UTC
Occurs also at saving file, changing to P1, because it is really annoying and makes IDE nearly unusable.
Comment 9 Dusan Balek 2009-04-17 12:44:07 UTC
Unfortunately, I cannot reproduce the issue. Could you please attach your newly created project? Thanks.
Comment 10 martinhavle 2009-04-17 12:53:05 UTC
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?
Comment 11 Dusan Balek 2009-04-17 13:06:21 UTC
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.
Comment 12 Andrei Chistiakov 2009-04-17 13:25:35 UTC
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)
Comment 13 Andrei Chistiakov 2009-04-17 13:25:40 UTC
Created attachment 80344 [details]
stacktrace
Comment 14 Dusan Balek 2009-04-17 14:22:47 UTC
Also, could you please attach IDE log file (var/log/messages.log file located in your NB userdir) Thanks.
Comment 15 Andrei Chistiakov 2009-04-17 14:29:22 UTC
Created attachment 80356 [details]
Here it is
Comment 16 Dusan Balek 2009-04-17 14:50:10 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/8f8b7a2acd60
Comment 17 Ivan Sidorkin 2009-04-17 17:21:43 UTC
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)
Comment 18 Ivan Sidorkin 2009-04-17 17:21:54 UTC
Created attachment 80378 [details]
stacktrace
Comment 19 Quality Engineering 2009-04-18 07:30:17 UTC
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.
Comment 20 Quality Engineering 2009-04-20 20:27:26 UTC
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.
Comment 21 Dusan Balek 2009-04-21 09:19:47 UTC
*** Issue 163167 has been marked as a duplicate of this issue. ***