Page 1 of 1

error when running JiGLE

Posted: Mon Sep 02, 2002 9:43 pm
by DaClyde
After downloading about 5 new county mappacks, JiGLE started giving me this:

Exception in thread "main" java.lang.NullPointerException
at java.lang.FloatingDecimal.readJavaFormatString(Unknown Source)
at java.lang.Double.parseDouble(Unknown Source)
at JiGLE.makeMapPack(JiGLE.java:92)
at JiGLE.loadProperties(JiGLE.java:284)
at JiGLE.<init>(JiGLE.java:168)
at JiGLE.main(JiGLE.java:105)


Need any other information from me to figure this out?

which mappacks?

Posted: Tue Sep 03, 2002 12:06 am
by bobzilla
That sounds like it's running into problems parsing the mappack properties file, so the generated mappack might not be happy. Could you tell me which mappacks you have downloaded? In the mean time i'll start looking for ones that might be bad. Should probably make the parser less brittle as well.

Haywood Co. & Tipton Co. Tennessee

Posted: Tue Sep 03, 2002 2:11 am
by DaClyde
At least these two; the mappack files were blank.

Franklin Co. Tennessee as well

Posted: Tue Sep 03, 2002 2:14 am
by DaClyde
This one only shows up as 192 bytes on the State download page.

Regenerated, seem ok now

Posted: Tue Sep 03, 2002 4:50 am
by bobzilla
I've regenerated these MapPacks, they seem ok now. I added some code to retry the RiGLE generation if the .mappack file is 0 bytes, hopefully that'll prevent this in the future (the java vm crashes sometimes playing with these large amounts of data).

Ah, wonderful!

Posted: Tue Sep 03, 2002 8:55 am
by DaClyde
Thank you, sir, that makes a world of difference!