Community
Participate
Working Groups
20021217 i got this when running my tests java.lang.NullPointerException at org.eclipse.jdt.internal.compiler.impl.CompilerOptions.<init> (CompilerOptions.java:180) at org.eclipse.jdt.internal.core.search.indexing.SourceIndexer.indexFile (SourceIndexer.java:64) at org.eclipse.jdt.internal.core.search.indexing.AbstractIndexer.index (AbstractIndexer.java:558) at org.eclipse.jdt.internal.core.index.impl.Index.add(Index.java:101) at org.eclipse.jdt.internal.core.search.indexing.AddCompilationUnitToIndex.indexDoc ument(AddCompilationUnitToIndex.java:28) at org.eclipse.jdt.internal.core.search.indexing.AddFileToIndex.execute (AddFileToIndex.java:47) at org.eclipse.jdt.internal.core.search.processing.JobManager.run (JobManager.java:333) at java.lang.Thread.run(Thread.java:485)
Smells like the JavaCore plugin is null. Are you sure you did run your test as a plugin test ? It works fine for us.
yes, i'm pretty sure that ran them normally - but i have never seen that problem before or after
Or are you still using the same JIT ?
no, i switched to sun 1.3.1_01 or something but that might've been only after i'd entered this report
The offending line cannot throw a NPE, unless the JDK lib/jit is answering null entries in Sets.
Closing as a VM bug