Running processing-2.0 in NetBeans (odd behaviour or bug)
in
Integration and Hardware
•
11 months ago
Since the inclusion of the new icons in processing-2.0b5+ I started to experience the following error:-
- Uncaught error fetching image:
- java.lang.NullPointerException
- at sun.awt.image.URLImageSource.getConnection(URLImageSource.java:99)
- at sun.awt.image.URLImageSource.getDecoder(URLImageSource.java:113)
- at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:240)
- at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172)
- at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)
I was on the point of filing a bug, when I decided to run a very simple sketch (notably the Array example as a java file), and it ran no problem, however if instead of running it in the <default package> ie none, I placed it in a test package as is my usual practice the error returned. So does this also happen in Eclipse (I expect so) and is this a bug? Any ideas...
1