Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » java.lang.NullPointerException in CDT(Java Null Pointer Exception in a C++ Project)
java.lang.NullPointerException in CDT [message #915320] Sun, 16 September 2012 23:39 Go to next message
Ted Gress is currently offline Ted Gress
Messages: 7
Registered: June 2012
Junior Member
when I try to build my CDT project on my system using Eclipse Juno I get a java.lang.NullPointer exception I don't know how to fix. The project is in C++ and I am in the correct perspecvtive.

-Ted
Re: java.lang.NullPointerException in CDT [message #915539 is a reply to message #915320] Mon, 17 September 2012 09:37 Go to previous messageGo to next message
David Wegener is currently offline David Wegener
Messages: 1336
Registered: July 2009
Senior Member
If you are running on Ubuntu and use Open JDK, then you might be hit by a bug in the latest Ubuntu update. It breaks time zone information.

The workaround is to re-install the tzdata-java package.
Re: java.lang.NullPointerException in CDT [message #915760 is a reply to message #915539] Mon, 17 September 2012 19:02 Go to previous messageGo to next message
Ted Gress is currently offline Ted Gress
Messages: 7
Registered: June 2012
Junior Member
Yeah I saw that bug, no I am running this instance of eclipse on Windows 7.
Development environment is up to date as well (I forgot to mention).
Re: java.lang.NullPointerException in CDT [message #916221 is a reply to message #915760] Tue, 18 September 2012 14:46 Go to previous message
Klaus Mr is currently offline Klaus Mr
Messages: 109
Registered: November 2011
Senior Member
Hello Ted,

how could we help in this case? There are 2718281 possibility's (more or less) to get an NullPointerExeption...

What did you try in the meantime?
For example, make a new Workspace, create the Hello-C++ example and look, what happens?

Quote:
(I forgot to mention)

Good questions will lead to better answers...

regards,
klaus

Previous Topic:C/C++ Linker Tab missing [SOLVED]
Next Topic:Problem installing Eclipse+opencv+windows xp
Goto Forum:
  


Current Time: Tue Jul 29 13:08:36 EDT 2014

Powered by FUDForum. Page generated in 0.01663 seconds