We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexSuggestions & BugsSoftware Bugs › nullpointer exception (java.util.zip)
Page Index Toggle Pages: 1
nullpointer exception (java.util.zip) (Read 861 times)
nullpointer exception (java.util.zip)
Dec 12th, 2005, 9:31pm
 
One of my students has tried running a specific processing
app that he has written on several different machines:
All windows, running 0098, and they apparently work, but
on my windows machine, I get:

java.lang.NullPointerException
  at java.util.zip.InflateerInputStream.<init>(Unknown    Source)

Any ideas on what can be causing this error? The source
is fairly lengthy, but I am confused by why his machines
all work, and mine has this particular error. Thanks.

I have removed the CLASSPATH, and also tried 0098
(both expert and standard), and 0097. We are both
using Java 1.5_06 as the JRE (viewed from the Sun Java console).
Re: nullpointer exception (java.util.zip)
Reply #1 - Dec 13th, 2005, 5:08pm
 
i'd try with the version that includes java so that you can make sure it's not a java 1.5 problem.

i'd also look into anywhere that you're using a zip file, or if you're not, something weird is happening when the jar is being loaded by your browser. which again, could be a java 1.5 problem.

something like this also came up when trying to load png images repeatedly inside of draw().
Re: nullpointer exception (java.util.zip)
Reply #2 - Dec 15th, 2005, 1:34am
 
Yes, as it turns out, the student had not provided
me with the "data" directory, containing a gzipped
font. I should have thought of that first...
so, we can close this one. thanks.
Page Index Toggle Pages: 1