Hi, I'm fairly new to Processing, and I was wondering if someone could help me figure out why I'm getting a Null Pointer Exemption. I've tried to link a Twitter feed that would spawn new life from an image with each new tweet, so it looks like the image (the letter "g") is "drawing on". Although, I'm not sure I've actually linked the Twitter feed to the moving pixels. Maybe I could get a thought about that too? Thanks so much for any help.
I'm getting this error:
Display 0 does not exist, using the default display instead.
Exception in thread "Animation Thread" java.lang.NullPointerException
at g_test_twitter.getTweet(g_test_twitter.java:63)
at g_test_twitter.draw(g_test_twitter.java:50)
at processing.core.PApplet.handleDraw(PApplet.java:1631)
at processing.core.PApplet.run(PApplet.java:1530)
at java.lang.Thread.run(Thread.java:680)
On this line of code:
return tmp.getContent();
The code works for a while, updating the image and displaying tweets, but then it stops with the error.