[OpenMap Users] VPF Inland Water, null pointer exception

From: Joseph N. Goodman <Joseph.Goodman_at_L-3ComCept.com>
Date: Wed, 22 Jun 2005 20:03:44 -0500

Forgive if this is a question that has already been answered. When I make a
VPF Inland Water layer (VPF Layer) visible, I get the following exception:
 
 
 
*** ERROR ***
VPF Inland Water|LayerWorker.construct(): java.lang.NullPointerException
*************
java.lang.NullPointerException
        at
com.bbn.openmap.layer.vpf.FeatureDrawingAttributes.updateAttributeGUI(Featur
eDrawingAttri
butes.java:310)
        at
com.bbn.openmap.layer.vpf.FeatureDrawingAttributes.setFci(FeatureDrawingAttr
ibutes.java:3
64)
        at
com.bbn.openmap.layer.vpf.VPFFeatureGraphicWarehouse.setAttributesForFeature
(VPFFeatureGr
aphicWarehouse.java:275)
        at
com.bbn.openmap.layer.vpf.VPFFeatureGraphicWarehouse.createArea(VPFFeatureGr
aphicWarehous
e.java:237)
        at
com.bbn.openmap.layer.vpf.AreaTable.drawFeature(AreaTable.java:241)
        at
com.bbn.openmap.layer.vpf.TableHolder.drawFeature(CoverageTable.java:960)
        at
com.bbn.openmap.layer.vpf.CoverageTable.drawFeaturesFromThematicIndex(Covera
geTable.java:
721)
        at
com.bbn.openmap.layer.vpf.CoverageTable.drawFeatures(CoverageTable.java:482)
        at
com.bbn.openmap.layer.vpf.LibrarySelectionTable.drawFeatures(LibrarySelectio
nTable.java:4
41)
        at com.bbn.openmap.layer.vpf.VPFLayer.prepare(VPFLayer.java:708)
        at
com.bbn.openmap.layer.policy.BufferedImageRenderPolicy.prepare(BufferedImage
RenderPolicy.
java:69)
        at
com.bbn.openmap.layer.OMGraphicHandlerLayer$LayerWorker.construct(OMGraphicH
andlerLayer.j
ava:648)
        at com.bbn.openmap.util.SwingWorker$2.run(SwingWorker.java:117)
        at java.lang.Thread.run(Unknown Source)
 
If I refresh the map, the layer displays correctly. This only happens the
first time I show the layer. Hash anyone else seen this?
 
Thanks


--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Wed Jun 22 2005 - 21:22:07 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:07 EDT