在 JRE 1.7 中运行时,我从 ECJ(版本 4.2.1)编译器获得 NPE,相同的项目在 JRE 1.6 上正确编译。
监视器显示总共CompilationProgress
有 2493 个任务,但随后我得到了 NPE。
有任何想法吗?
TIA
java.lang.NullPointerException
at org.eclipse.jdt.internal.compiler.apt.util.EclipseFileManager.concatFiles(EclipseFileManager.java:202)
at org.eclipse.jdt.internal.compiler.apt.util.EclipseFileManager.handleOption(EclipseFileManager.java:669)
at org.eclipse.jdt.internal.compiler.apt.dispatch.BatchProcessingEnvImpl.(BatchProcessingEnvImpl.java:88)
at org.eclipse.jdt.internal.compiler.apt.dispatch.BatchAnnotationProcessorManager.configure(BatchAnnotationProcessorManager.java:69)
at org.eclipse.jdt.internal.compiler.batch.Main.initializeAnnotationProcessorManager(Main.java:3632)
at org.eclipse.jdt.internal.compiler.batch.Main.performCompilation(Main.java:3737)
at org.eclipse.jdt.internal.compiler.batch.Main.compile(Main.java:1679)
at org.eclipse.jdt.internal.compiler.batch.Main.compile(Main.java:1372)
at org.eclipse.jdt.core.compiler.batch.BatchCompiler.compile(BatchCompiler.java:80)
at org.eclipse.jdt.core.compiler.batch.BatchCompiler.compile(BatchCompiler.java:52)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
...
at java.lang.Thread.run(Thread.java:722)