Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
mechart
mechart's Profile
3
Posts
1
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
How to solve the java.lang.NullPointerException?
[1 Reply]
18-Feb-2013 10:28 PM
Forum:
Core Library Questions
When I run a program with serialEvent, the java.lang.NullPointerException occurs, but not everytime.
The messages processing given are as follows:
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
java.lang.NullPointerException
at processing.mode.java.runner.Runner.findException(Runner.java:682)
at processing.mode.java.runner.Runner.reportException(Runner.java:627)
at processing.mode.java.runner.Runner.exception(Runner.java:570)
at processing.mode.java.runner.EventThread.exceptionEvent(EventThread.java:367)
at processing.mode.java.runner.EventThread.handleEvent(EventThread.java:255)
at processing.mode.java.runner.EventThread.run(EventThread.java:89)
Exception in thread "Thread-6" java.lang.NullPointerException
at processing.serial.Serial.serialEvent(Unknown Source)
at gnu.io.RXTXPort.sendEvent(RXTXPort.java:732)
at gnu.io.RXTXPort.eventLoop(Native Method)
at gnu.io.RXTXPort$MonitorThread.run(RXTXPort.java:1575)
Any help is greatly thanks!
How to automatically determine the serial ports number linking to an arduino board?
[0 Replies]
16-Feb-2013 08:01 AM
Forum:
General Discussion
As the question described in the title, can anyone help me?
Thank you very much.
How can I save data before exit or exception occurs?
[1 Reply]
15-Nov-2012 02:09 AM
Forum:
Programming Questions
According to the demos, I learned how to save data to file when press a key to kill the program. But how can I do the same thing before I press the close button of the window? Thank you.
«Prev
Next »
Moderate user : mechart
Forum