You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Environment:
- OpenMap version: 5.0.3
- Operating System: Microsoft Windows XP
Issue description:
The loading of RPF data with [OpenMap] demonstrator leads to an exception (see
further in the issue).
This problem does not occur with the version 5.0 of [OpenMap].
The exception is not raised anymore when the
com.bbn.openmap.layer.rpf.RpfProductInfo class available in the version 5.0.3
is replaced by the one delivered in the version 5.0.
Exception:
Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
at com.bbn.openmap.layer.rpf.RpfConstants.<clinit>(RpfConstants.java:195)
at com.bbn.openmap.layer.rpf.RpfTocHandler.textScaleToLong(RpfTocHandler.java:795)
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:347)
at com.bbn.openmap.layer.rpf.RpfTocHandler.loadFile(RpfTocHandler.java:259)
at com.bbn.openmap.layer.rpf.RpfTocHandler.<init>(RpfTocHandler.java:164)
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.propertyEditor.Inspector.actionPerformed(Inspector.java:447)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at com.bbn.openmap.layer.rpf.RpfProductInfo.<clinit>(RpfProductInfo.java:66)
... 38 more
Original issue reported on code.google.com by [email protected] on 16 Sep 2014 at 11:38
The text was updated successfully, but these errors were encountered:
As far as I see not fixed yet. The static intializer should not try to add
instances of its own class to the map (a bit too early ;). The lazy loading as
seen in 4.6.5 is doing fine.
Hmm, the static initializer by itself seems to be ok. The initializing as seen
in the stack trace above introduces the problem.
I'll work around it by calling a dummy
RpfProductInfo.getCatalog();
prior to any use of this class.
Original issue reported on code.google.com by
[email protected]
on 16 Sep 2014 at 11:38The text was updated successfully, but these errors were encountered: