NullPointer com.bbn.openmap.io.URLInputReader

From: Marklund David <David.Marklund@smhi.se>
Date: Wed May 15 2002 - 10:08:15 EDT

Hi List,
I have a problem. I have created i "MapBean-Array" MapBean[x] where x = 1..n
(most often n=4)
When I do this in my app where I use Java Web Start as deploy strategy the
application gets a NullPointer Exception as below.
If I start the app using a with java <classname> on the command line it
works ! Has it something to do with the classloader used in webstart
 vs. openmap ?

Any ideas? I'm stuck.

David

java.lang.NullPointerException
        at java.util.zip.Inflater.reset(Unknown Source)
        at java.util.zip.ZipFile.getInflater(Unknown Source)
        at java.util.zip.ZipFile.getInputStream(Unknown Source)
        at java.util.zip.ZipFile.getInputStream(Unknown Source)
        at java.util.jar.JarFile.getInputStream(Unknown Source)
        at sun.net.www.protocol.jar.JarURLConnection.getInputStream(Unknown
Source)
        at com.bbn.openmap.io.URLInputReader.reopen(URLInputReader.java:61)
        at com.bbn.openmap.io.URLInputReader.<init>(URLInputReader.java:50)
        at com.bbn.openmap.io.BinaryFile.<init>(BinaryFile.java:152)
        at
com.bbn.openmap.io.BinaryBufferedFile.<init>(BinaryBufferedFile.java:84)
        at
com.bbn.openmap.io.BinaryBufferedFile.<init>(BinaryBufferedFile.java:96)
        at
com.bbn.openmap.layer.shape.SpatialIndex.<init>(SpatialIndex.java:178)
        at
com.bbn.openmap.layer.shape.SpatialIndex.locateAndSetShapeData(SpatialIndex.
java:680)
        at
com.bbn.openmap.layer.shape.ShapeLayer.<init>(ShapeLayer.java:133)
        at
se.smhi.slutp.gui.dataseteditor.periodview.PeriodPanel.setupMaps(PeriodPanel
.java:285)

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Wed May 15 10:08:58 2002

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:33 EDT