Community
Participate
Working Groups
java indexing sometimes throws npe when lots of plugins ( around 300 ) are in the workspace so that some functions, i.e. Open Type, don't work at all. !MESSAGE Background Indexer Crash Recovery !STACK 0 java.lang.NullPointerException: name can't be null at java.io.FilePermission.init(FilePermission.java(Inlined Compiled Code)) at java.io.FilePermission.<init>(FilePermission.java(Compiled Code)) at java.lang.SecurityManager.checkRead(SecurityManager.java:899) at java.io.FileInputStream.<init>(FileInputStream.java(Inlined Compiled Code)) at org.eclipse.jdt.internal.core.index.DiskIndex.readCategoryTable(DiskIndex.java(Compiled Code)) at org.eclipse.jdt.internal.core.index.DiskIndex.mergeCategory(DiskIndex.java(Compiled Code)) at org.eclipse.jdt.internal.core.index.DiskIndex.mergeCategories(DiskIndex.java:352) at org.eclipse.jdt.internal.core.index.DiskIndex.mergeWith(DiskIndex.java(Compiled Code)) at org.eclipse.jdt.internal.core.index.Index.save(Index.java(Inlined Compiled Code)) at org.eclipse.jdt.internal.core.search.indexing.IndexManager.saveIndex(IndexManager.java(Compiled Code)) at org.eclipse.jdt.internal.core.search.indexing.SaveIndex.execute(SaveIndex.java:40) at org.eclipse.jdt.internal.core.search.processing.JobManager.run(JobManager.java(Compiled Code)) at java.lang.Thread.run(Thread.java:568)
Which VM are you using? Is it IBM build cxia321411-20040301? If so, there are newer versions of this VM available - you should switch. Suspect this is a duplicate of bug 66836
*** Bug 72183 has been marked as a duplicate of this bug. ***
I'm using cn1411-20030930 ok, I'll swithing it to : cn142ifx-20041203 to see if this problem still happens.
Please reopen if the problem happens again.
FYI: happens on 3.0.2 on GTK too
In my environment, this problem seems to be stopped. .