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] Mon, 17 September 2012 03:39 Go to next message
Ted Gress is currently offline Ted GressFriend
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 13:37 Go to previous messageGo to next message
David Wegener is currently offline David WegenerFriend
Messages: 1348
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 23:02 Go to previous messageGo to next message
Ted Gress is currently offline Ted GressFriend
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 18:46 Go to previous message
Klaus Mr is currently offline Klaus MrFriend
Messages: 121
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: Sun Nov 23 16:08:19 GMT 2014

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

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