Hi,
I tried to read data from Oracle datastore with Run datastore query and were
hit by NPE. The Oracle layer works OK with DB Query plugin. I suppose that NPE
is caused by some NULL geometries in the table because query succeeds if I add
"WHERE geom is not null". DB Query converts empty geometries into
GEOMETRYCOLLECTION EMPTY.
java.lang.NullPointerException
at
com.vividsolutions.jump.feature.FeatureDataset.query(FeatureDataset.java:127)
at
com.vividsolutions.jump.feature.FeatureCollectionWrapper.query(FeatureCollectionWrapper.java:138)
at
com.vividsolutions.jump.workbench.ui.renderer.LayerRenderer.layerToFeaturesMap(LayerRenderer.java:162)
at
com.vividsolutions.jump.workbench.ui.renderer.FeatureCollectionRenderer.createRunnable(FeatureCollectionRenderer.java:55)
at
com.vividsolutions.jump.workbench.ui.renderer.LayerRenderer.createRunnable(LayerRenderer.java:87)
at
com.vividsolutions.jump.workbench.ui.renderer.RenderingManager.render(RenderingManager.java:250)
at
com.vividsolutions.jump.workbench.ui.renderer.RenderingManager.render(RenderingManager.java:229)
at
com.vividsolutions.jump.workbench.ui.renderer.RenderingManager.renderAll(RenderingManager.java:199)
at
com.vividsolutions.jump.workbench.ui.LayerViewPanel.repaint(LayerViewPanel.java:535)
at
com.vividsolutions.jump.workbench.ui.Viewport.update(Viewport.java:117)
at
com.vividsolutions.jump.workbench.ui.Viewport.zoom(Viewport.java:266)
at
com.vividsolutions.jump.workbench.ui.Viewport.zoomToFullExtent(Viewport.java:285)
at
com.vividsolutions.jump.workbench.ui.LayerViewPanel.initializeViewportIfNecessary(LayerViewPanel.java:613)
at
com.vividsolutions.jump.workbench.ui.LayerViewPanel.access$400(LayerViewPanel.java:113)
at
com.vividsolutions.jump.workbench.ui.LayerViewPanel$5.run(LayerViewPanel.java:486)
at java.awt.event.InvocationEvent.dispatch(Unknown
Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown
Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at
java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$1.doIntersectionPrivilege(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)
All the attributes seem to be there in the attribute table. Also geometries are
there and selecting a row from attribute window is flashing the right geometry
even the whole layer is not rendered at all. I tried to select the empty
geometries but that gives NPE as well
java.lang.NullPointerException
at
org.openjump.core.ui.plugin.edit.SelectByTypePlugIn.selectFeature(SelectByTypePlugIn.java:151)
at
org.openjump.core.ui.plugin.edit.SelectByTypePlugIn.execute(SelectByTypePlugIn.java:135)
at
com.vividsolutions.jump.workbench.plugin.AbstractPlugIn$1.actionPerformed(AbstractPlugIn.java:341)
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.AbstractButton.doClick(Unknown
Source)
at
javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.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.dispatchEventImpl(Unknown
Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at
java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at
java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at
java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$1.doIntersectionPrivilege(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)
-Jukka Rahkonen-
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel