JIGLE needs more verbose error messages...
Posted: Sun Nov 10, 2002 10:06 am
1. Where are you trying to create a system preferences directory, it would be nice if this was mentioned in the error message.
2. What's the index out of range mean when trying to load the stumble file.
3. Update your command line usage statement to be a little more descriptive about exactly how to load a mappack. It doesn't like it when you give it an explicit path to a mappack file, which is exactly how most people probably expect to give it. Being java you can dynamically look into zip files yet: ./run.sh -mappack TGR24003.mappack-2.0.zip doesn't work. Instead you need to mention in the usage statement that you just give it: ./run.sh -mappack TGR24003 after you move the TGR24003.mappack file into the current directory. Not real intuitive.
JiGLE 0.6.7.20021014030012, copyright rksh and bobzilla, 2001-2002
Building JiGLE...
Nov 9, 2002 10:53:26 PM java.util.prefs.FileSystemPreferences$3 run
WARNING: Could not create system preferences directory. System preferences are unusable.
Changing to mappack 'Anne Arundel County, MD'
Attempting to load a local stumble...
Processing Stumble...
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1480)
at org.mimezine.jigle.WiGLE.loadStumbleFile(WiGLE.java:426)
at org.mimezine.jigle.WiGLE.handleLoadData(WiGLE.java:157)
at org.mimezine.jigle.WiGLE.access$000(WiGLE.java:51)
at org.mimezine.jigle.WiGLE$dataRunner.run(WiGLE.java:138)
at java.lang.Thread.run(Thread.java:536)
2. What's the index out of range mean when trying to load the stumble file.
3. Update your command line usage statement to be a little more descriptive about exactly how to load a mappack. It doesn't like it when you give it an explicit path to a mappack file, which is exactly how most people probably expect to give it. Being java you can dynamically look into zip files yet: ./run.sh -mappack TGR24003.mappack-2.0.zip doesn't work. Instead you need to mention in the usage statement that you just give it: ./run.sh -mappack TGR24003 after you move the TGR24003.mappack file into the current directory. Not real intuitive.
JiGLE 0.6.7.20021014030012, copyright rksh and bobzilla, 2001-2002
Building JiGLE...
Nov 9, 2002 10:53:26 PM java.util.prefs.FileSystemPreferences$3 run
WARNING: Could not create system preferences directory. System preferences are unusable.
Changing to mappack 'Anne Arundel County, MD'
Attempting to load a local stumble...
Processing Stumble...
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1480)
at org.mimezine.jigle.WiGLE.loadStumbleFile(WiGLE.java:426)
at org.mimezine.jigle.WiGLE.handleLoadData(WiGLE.java:157)
at org.mimezine.jigle.WiGLE.access$000(WiGLE.java:51)
at org.mimezine.jigle.WiGLE$dataRunner.run(WiGLE.java:138)
at java.lang.Thread.run(Thread.java:536)