Pages: [1]   Go Down
Author Topic: NullPointerException  (Read 995 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I just installed 0005, tonight. I already had the latest java runtime installed.

I am getting the following error whenever I try to compile or upload a sketch:

java.lang.NullPointerException
      at processing.app.RunnerException.massage(RunnerException.java:69)
      at processing.app.RunnerException.<init>(RunnerException.java:39)
      at processing.app.Sizer.computeSize(Sizer.java:82)
      at processing.app.Sketch.size(Sketch.java:1660)
      at processing.app.Sketch.handleRun(Sketch.java:1309)
      at processing.app.Editor$34.run(Editor.java:1354)
      at java.awt.event.InvocationEvent.dispatch(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Source)

I have tried loading with and without using run.bat.

Any help would be greatly appreciated.

Thank you
Logged

Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 12
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Does it happen every time you press the compile or upload button?  I've seen cases where this happens the first time you try to compile, but then fixes itself.
Logged

NCL
Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

i am using arduino-0006 with a usb board,
was getting these same errors.
Changed from COM1 to COM3 in the serial port option of the tools menu, No luck.
But when I tried COM4 it did work without error!
Cheers
Logged

Pages: [1]   Go Up
Jump to: