Community
Participate
Working Groups
I see the following stack trace dumped to the console every time I save a Java source file in the editor: java.lang.NullPointerException at java.lang.SecurityManager.checkRead(SecurityManager.java:900) 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:171) at org.eclipse.jdt.internal.core.search.indexing.IndexManager.saveIndex(IndexManager.java:506) 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:361) at java.lang.Thread.run(Thread.java:568)
Kent, this seems to be another case where the file name is null.
Tessa: what VM are you using?
IBM's 1.4.1 JDK: java version "1.4.1" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1) Classic VM (build 1.4.1, J2RE 1.4.1 IBM build cxia321411-20040301 (JIT enabled: jitc))
This was caused by a VM bug with IBM build cxia321411-20040301 (JIT enabled: jitc). There are newer versions of this VM available - you should switch. *** This bug has been marked as a duplicate of 66836 ***