surendra7009 / openmap

Automatically exported from code.google.com/p/openmap
Other
0 stars 0 forks source link

RPFLayer #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
There is initialization error, see

Exception in thread "main" java.lang.ExceptionInInitializerError
    at com.bbn.openmap.layer.rpf.RpfConstants.<clinit>(RpfConstants.java:195)
    at com.bbn.openmap.layer.rpf.RpfTocHandler.textScaleToLong(RpfTocHandler.java:822)
    at com.bbn.openmap.layer.rpf.RpfTocEntry.read(RpfTocEntry.java:101)
    at com.bbn.openmap.layer.rpf.RpfTocEntry.<init>(RpfTocEntry.java:71)
    at com.bbn.openmap.layer.rpf.RpfTocHandler.parseToc(RpfTocHandler.java:345)
    at com.bbn.openmap.layer.rpf.RpfTocHandler.loadFile(RpfTocHandler.java:251)
    at com.bbn.openmap.layer.rpf.RpfTocHandler.<init>(RpfTocHandler.java:155)
    at com.bbn.openmap.layer.rpf.RpfFrameCacheHandler.createTocHandlers(RpfFrameCacheHandler.java:631)
    at com.bbn.openmap.layer.rpf.RpfFrameCacheHandler.<init>(RpfFrameCacheHandler.java:82)
    at com.bbn.openmap.layer.rpf.RpfFrameCacheHandler.<init>(RpfFrameCacheHandler.java:71)
    at com.bbn.openmap.layer.rpf.RpfLayer.setPaths(RpfLayer.java:214)
    at com.bbn.openmap.layer.rpf.RpfLayer.setProperties(RpfLayer.java:265)
    at com.bbn.openmap.util.ComponentFactory._create(ComponentFactory.java:573)
    at com.bbn.openmap.util.ComponentFactory.create(ComponentFactory.java:462)
    at com.bbn.openmap.util.ComponentFactory.create(ComponentFactory.java:437)
    at com.bbn.openmap.util.ComponentFactory.create(ComponentFactory.java:381)
    at com.bbn.openmap.LayerHandler.getLayers(LayerHandler.java:422)
    at com.bbn.openmap.LayerHandler.getLayers(LayerHandler.java:375)
    at com.bbn.openmap.LayerHandler.init(LayerHandler.java:218)
    at com.bbn.openmap.LayerHandler.setProperties(LayerHandler.java:204)
    at com.bbn.openmap.util.ComponentFactory._create(ComponentFactory.java:573)
    at com.bbn.openmap.util.ComponentFactory.create(ComponentFactory.java:462)
    at com.bbn.openmap.util.ComponentFactory.create(ComponentFactory.java:437)
    at com.bbn.openmap.util.ComponentFactory.create(ComponentFactory.java:381)
    at com.bbn.openmap.util.ComponentFactory._create(ComponentFactory.java:311)
    at com.bbn.openmap.util.ComponentFactory.create(ComponentFactory.java:209)
    at com.bbn.openmap.PropertyHandler.createComponents(PropertyHandler.java:810)
    at com.bbn.openmap.gui.BasicMapPanel.createComponents(BasicMapPanel.java:199)
    at com.bbn.openmap.gui.BasicMapPanel.create(BasicMapPanel.java:161)
    at com.bbn.openmap.app.Main.configureMapPanel(Main.java:69)
    at com.bbn.openmap.app.OpenMap.<init>(OpenMap.java:69)
    at com.bbn.openmap.app.Main.<init>(Main.java:60)
    at com.bbn.openmap.app.Main.create(Main.java:120)
    at com.bbn.openmap.app.Main.main(Main.java:139)
Caused by: java.lang.NullPointerException
    at com.bbn.openmap.layer.rpf.RpfProductInfo.<clinit>(RpfProductInfo.java:66)
    ... 34 more

Moreover when I have repaired it, map is not displayed but in older versions it 
was.

Thanks

Original issue reported on code.google.com by watda...@gmail.com on 29 Sep 2014 at 11:56