-->
Page 1 of 1

SOLVED : 'Hello World' fails with java.lang.NullPointerEx...

PostPosted: Thu Apr 09, 2015 4:01 pm
by AcmeUK
I am having problems getting the simple 'Hello World' sketch to work.

I am using Win 7 64 bit.

I tried version 1.6.2 of the IDE and then V 1.6.3.

My board loads code from Eclipse OK.

The sketch verifies OK but bombs out on upload with the following error messages:-

Code: Select all uses 189,636 bytes (36%) of program storage space. Maximum is 524,288 bytes.
java.lang.NullPointerException
    at cc.arduino.packages.uploaders.SerialUploader.uploadUsingProgrammer(SerialUploader.java:252)
    at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:78)
    at processing.app.debug.Compiler.upload(Compiler.java:165)
    at processing.app.Sketch.upload(Sketch.java:1260)
    at processing.app.Sketch.exportApplet(Sketch.java:1202)
    at processing.app.Sketch.exportApplet(Sketch.java:1174)
    at processing.app.Editor$DefaultExportHandler.run(Editor.java:2471)
    at java.lang.Thread.run(Thread.java:745)


What is my problem? Am I missing a DLL? Do I have a clash with a previous version of the IDE?

Any thoughts?

Thanks for looking

Re: 'Hello World' fails with java.lang.NullPointerException

PostPosted: Thu Apr 09, 2015 5:26 pm
by calumk
Have you set ESPtool in the programmer?

Re: 'Hello World' fails with java.lang.NullPointerException

PostPosted: Fri Apr 10, 2015 3:03 am
by AcmeUK
Bycalumk

BRILLIANT. That fixed it. :lol:

Hopefully this post will help others.

Thanks