OpenJUMP Programmers: After loading GPX files with the latest version of my plug-in, the first time I go to pan or zoom the viewport I get an "Unable to stroke shape" error from Java. This seems to be a Java2D exception. You can just excuse the exception and continue working in OpenJUMP. This only happens the first time you try to pan or zoom after the file is loaded.
I don't think this is a problem with my plug-in, but is caused by something else. I need to do more testing. A screenshot with the error message and the stack trace are attached. I'll put the full stack trace at the end of my message. Let me know if you have any ideas what might be causing this. Thanks. The Sunburned Surveyor Stack Trace: java.lang.InternalError: Unable to Stroke shape (attempt to validate Pipe with invalid SurfaceData) at sun.java2d.pipe.LoopPipe.getStrokeSpans(LoopPipe.java:282) at sun.java2d.pipe.LoopPipe.draw(LoopPipe.java:182) at sun.java2d.pipe.ValidatePipe.draw(ValidatePipe.java:136) at sun.java2d.SunGraphics2D.draw(SunGraphics2D.java:2348) at com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.drawShapeXOR(AbstractCursorTool.java:377) at com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.drawShapeXOR(AbstractCursorTool.java:362) at com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.redrawShape(AbstractCursorTool.java:413) at com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.redrawShape(AbstractCursorTool.java:386) at com.vividsolutions.jump.workbench.ui.cursortool.DragTool.mouseDragged(DragTool.java:121) at com.vividsolutions.jump.workbench.ui.zoom.ZoomTool.mouseDragged(ZoomTool.java:141) at com.vividsolutions.jump.workbench.ui.cursortool.DelegatingTool.mouseDragged(DelegatingTool.java:128) at java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:303) at java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:302) at java.awt.Component.processMouseMotionEvent(Component.java:6338) at javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3285) at java.awt.Component.processEvent(Component.java:6059) at java.awt.Container.processEvent(Container.java:2039) at java.awt.Component.dispatchEventImpl(Component.java:4653) at java.awt.Container.dispatchEventImpl(Container.java:2097) at java.awt.Component.dispatchEvent(Component.java:4481) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4253) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166) at java.awt.Container.dispatchEventImpl(Container.java:2083) at java.awt.Window.dispatchEventImpl(Window.java:2482) at java.awt.Component.dispatchEvent(Component.java:4481) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:648) at java.awt.EventQueue.access$000(EventQueue.java:84) at java.awt.EventQueue$1.run(EventQueue.java:607) at java.awt.EventQueue$1.run(EventQueue.java:605) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98) at java.awt.EventQueue$2.run(EventQueue.java:621) at java.awt.EventQueue$2.run(EventQueue.java:619) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:618) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
<<attachment: cursor_tool_exception.png>>
------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel