Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sending NullPointer #43

Open
shiffman opened this issue Aug 29, 2013 · 2 comments
Open

Sending NullPointer #43

shiffman opened this issue Aug 29, 2013 · 2 comments
Assignees

Comments

@shiffman
Copy link
Owner

it's possible for the DOS not to be initialized before sending (in ASyncClient if you call send() immediately in draw() you will get nullpointer). so in this case we should not send and maybe print warning.

@ghost ghost assigned shiffman Aug 29, 2013
@ecopika
Copy link

ecopika commented Mar 28, 2014

Hello , first congratulations on this remarkable work you are doing and thank you , I'm starting to program with processing recently, and I'm using the library MOST pixels event , with which I have encountered some problems because of time I could not run any of your examples do not understand what I'm doing wrong , but it always gives me the same error , i tried debugging to find the error and did not quite understand very well that fails, the error is always the following:

MPE CLIENT VERSION 2.0.2
Client : Settings : server = 192.168.12.201:9002 , id = 0 , Local dimensions = 320 , 240, location = 0, 0
Exception in thread " Animation Thread" java.lang.NullPointerException
at mpe.client.TCPClient.draw ( TCPClient.java : 184 )
at sun.reflect.NativeMethodAccessorImpl.invoke0 ( Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke ( NativeMethodAccessorImpl.java : 39 )
at sun.reflect.DelegatingMethodAccessorImpl.invoke ( DelegatingMethodAccessorImpl.java : 25 )
at java.lang.reflect.Method.invoke ( Method.java : 597)
at processing.core.PApplet $ RegisteredMethods.handle ( PApplet.java : 1159 )
at processing.core.PApplet $ RegisteredMethods.handle ( PApplet.java : 1152 )
at processing.core.PApplet.handleMethods ( PApplet.java : 1346 )
at processing.core.PApplet.handleDraw ( PApplet.java : 2320 )
at processing.core.PGraphicsJava2D.requestDraw ( PGraphicsJava2D.java : 243 )
at processing.core.PApplet.run ( PApplet.java : 2176 )
at java.lang.Thread.run ( Thread.java : 695 )

Running any example I always give the same result ...

@shiffman
Copy link
Owner Author

shiffman commented Apr 7, 2014

I'm not able to reproduce this error, double-check yo uhave the most current version of library and examples?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants