Hi all
Just noticed a problem when placing a OMGraphic (OMText) on the map that was in excess of 10 degrees from centre at a high zoomed in factor.
IE Zoom level 1:10000;
Place an OMGraphic at lat 51.0 lon 0.0 whilst the centre of map is at lat 0.0 lon 0.0.
The error code is below:-
sun.dc.pr.PRException: endPath: bad path
at sun.dc.pr.Rasterizer.endPath(Rasterizer.java:537)
at sun.java2d.pipe.DuctusRenderer.createShapeRasterizer(DuctusRenderer.java:374)
at sun.java2d.pipe.DuctusShapeRenderer.renderPath(DuctusShapeRenderer.java:57)
at sun.java2d.pipe.DuctusShapeRenderer.fill(DuctusShapeRenderer.java:49)
at sun.java2d.pipe.ValidatePipe.fill(ValidatePipe.java:119)
at sun.java2d.SunGraphics2D.fill(SunGraphics2D.java:2157)
at com.bbn.openmap.omGraphics.geom.BasicGeometry.fill(BasicGeometry.java:457)
at com.bbn.openmap.omGraphics.OMText.render(OMText.java:1000)
at com.bbn.openmap.omGraphics.OMGraphicList.render(OMGraphicList.java:857)
at com.bbn.openmap.omGraphics.OMGraphicList.render(OMGraphicList.java:857)
at com.bbn.openmap.layer.policy.StandardRenderPolicy.paint(StandardRenderPolicy.java:82)
at com.bbn.openmap.layer.OMGraphicHandlerLayer.paint(OMGraphicHandlerLayer.java:477)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at com.bbn.openmap.MapBean.paintChildrenWithBorder(MapBean.java:934)
at com.bbn.openmap.BufferedMapBean.paintChildren(BufferedMapBean.java:142)
at com.bbn.openmap.BufferedMapBean.paintChildren(BufferedMapBean.java:105)
at javax.swing.JComponent.paint(JComponent.java:817)
at com.bbn.openmap.MapBean.paint(MapBean.java:868)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4787)
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4740)
at javax.swing.JComponent._paintImmediately(JComponent.java:4685)
at javax.swing.JComponent.paintImmediately(JComponent.java:4488)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:410)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
The error occurs when the paint method is called.
Any idea's ?
Should I just restrict zoom level or is this a genuine bug I wonder
Regards
Mark.
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************
--
[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 Thu Feb 24 2005 - 10:31:45 EST