Page 1 of 1

Eclipse IDE error message

Posted: Fri Jun 18, 2010 2:52 pm
by NetLurnerOhYeah
Hello.
I'm new to embedded programming, so please forgive my ignorance if posted.
Currently, I bought the MOD5213 embedded controller in hope of connecting a camera to it(using the Ecplipse IDE of course).
To get a general idea on how it works, I watched this video:

http://www.netburner.com/video/importin ... rting.html

The thing is, after importing an example source file, and try to run the program, I get an error message during "Launching" stating:

java.lang.NullPointerException.

I've tried loading different source files, but still get this error.
If anyone can help, I'd appreciate it. Sorry, I'd post a picture file but can't.

Re: Eclipse IDE error message

Posted: Fri Jun 18, 2010 3:58 pm
by lgitlitz
Make sure you have the latest Java runtime version on your computer

Re: Eclipse IDE error message

Posted: Fri Jun 18, 2010 4:45 pm
by NetLurnerOhYeah
Thanks, I'll try that.

Re: Eclipse IDE error message

Posted: Mon Jun 21, 2010 10:59 am
by tod
I didn't watch the whole video so I'm not sure if they addressed this but the most common cause of this is not having the target platform set correctly. See the wiki article I wrote, this error is specifically mentioned.

Also - whenever you have a problem like this use the Search feature of the forum. It searches both the forum and the Wikis. In this case you could just type in java.lang.nullpointerexception as your search term.