Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » JDT Compiler throws NPE in Java 1.7(Eclipse JDT Compiler (ECJ) throws NPE in Java 1.7)
JDT Compiler throws NPE in Java 1.7 [message #1033904] Thu, 04 April 2013 19:40 Go to next message
Igal . is currently offline Igal .Friend
Messages: 2
Registered: December 2012
Junior Member
I'm getting an NPE from the ECJ (version 4.2.1) compiler when running in JRE 1.7

the same project compiles properly on JRE 1.6

a CompilationProgress monitor shows that there are Total of 2493 tasks, but then I get the NPE.

any ideas?


java.lang.NullPointerException at org.eclipse.jdt.internal.compiler.apt.util.EclipseFileManager.concatFiles( at org.eclipse.jdt.internal.compiler.apt.util.EclipseFileManager.handleOption( at org.eclipse.jdt.internal.compiler.apt.dispatch.BatchProcessingEnvImpl.( at org.eclipse.jdt.internal.compiler.apt.dispatch.BatchAnnotationProcessorManager.configure( at org.eclipse.jdt.internal.compiler.batch.Main.initializeAnnotationProcessorManager( at org.eclipse.jdt.internal.compiler.batch.Main.performCompilation( at org.eclipse.jdt.internal.compiler.batch.Main.compile( at org.eclipse.jdt.internal.compiler.batch.Main.compile( at org.eclipse.jdt.core.compiler.batch.BatchCompiler.compile( at org.eclipse.jdt.core.compiler.batch.BatchCompiler.compile( at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( at sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke( ... at

[Updated on: Thu, 04 April 2013 19:40]

Report message to a moderator

Re: JDT Compiler throws NPE in Java 1.7 [message #1034478 is a reply to message #1033904] Fri, 05 April 2013 13:32 Go to previous messageGo to next message
Olivier Thomann is currently offline Olivier ThomannFriend
Messages: 518
Registered: July 2009
Senior Member

You should open a bug report against JDT/Core [1] with steps to reproduce.
Provide the org.eclipse.jdt.core bundle version and as many steps as possible to make sure the JDT/Core team can reproduce the problem.


Re: JDT Compiler throws NPE in Java 1.7 [message #1035237 is a reply to message #1034478] Sat, 06 April 2013 15:05 Go to previous message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1596
Registered: July 2009
Senior Member
Given the line numbers in your exception the following information would be valuable for a bug report:

What are the values of the following system properties when running on that JRE 1.7 that shows the failure:
- java.version
- java.home

I have the slight feeling some of this code was never tested on 1.7 :-/

Previous Topic:getting compiler error. I think its something to do with eclipse?
Next Topic:package org.eclipse problem
Goto Forum:

Current Time: Thu Apr 19 09:52:57 GMT 2018

Powered by FUDForum. Page generated in 0.01602 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software