views:

52

answers:

0

I've been developing an application in Java for quite some time now on my Windows and Linux machines but just recently switched over to my new MacBook Pro that has the latest (JRE 1.6 update 20) installed on it. I just started noticing while testing out the various features of the application that it gives errors randomly when interacting with the interface (java swing) - generally on clicks or click/holds.

Specifically I've been getting the following:

2010-08-25 19:55:41.811 java[54273:903] java.lang.NullPointerException
at apple.awt.CToolkit.postEvent(CToolkit.java:1086)
at apple.awt.EventFactoryProxy.forwardEvent(EventFactoryProxy.java:53)

What's up with these errors? Secondly, how can I fix them? Thirdly, are they really all that important (obviously want error-free code..but they don't seem to affect any bit of data storage or disrupt the running of the application)?