Menu

#254 Internal error on windows64

closed-out-of-date
nobody
5
2014-11-18
2012-05-22
No

OpenJUMP1.6 (and probably previous ones) + Windows Vista 64 bits + jre 7 64bits :
Start OpenJUMP (the error is thrown only once)
Load a shapefile
Open the attribute table
Select a feature in the table
The soft tries to highlight the feature and throws the following error :

java.lang.InternalError: Unable to Stroke shape (attempt to validate Pipe with invalid SurfaceData)
at sun.java2d.pipe.LoopPipe.getStrokeSpans(Unknown Source)
at sun.java2d.pipe.LoopPipe.draw(Unknown Source)
at sun.java2d.pipe.ValidatePipe.draw(Unknown Source)
at sun.java2d.SunGraphics2D.draw(Unknown Source)
at com.vividsolutions.jump.workbench.ui.LayerViewPanel$6.run(LayerViewPanel.java:656)
at com.vividsolutions.jump.workbench.ui.GUIUtil.invokeOnEventThread(GUIUtil.java:581)
at com.vividsolutions.jump.workbench.ui.LayerViewPanel.flash(LayerViewPanel.java:653)
at com.vividsolutions.jump.workbench.ui.LayerViewPanel.flash(LayerViewPanel.java:685)
at com.vividsolutions.jump.workbench.ui.zoom.ZoomToSelectedItemsPlugIn.flash(ZoomToSelectedItemsPlugIn.java:189)
at com.vividsolutions.jump.workbench.ui.AttributePanel$2.mouseClicked(AttributePanel.java:196)
at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
at java.awt.AWTEventMulticaster.mouseClicked(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$000(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)

Discussion

  • Malte Weller

    Malte Weller - 2012-05-29

    Hi,
    i get the same internal error using a cursortool.
    Running on Windows7 64-bit and Java 1.6.0_32 system.
    Here ist the message:
    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:369)
    at com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.drawShapeXOR(AbstractCursorTool.java:354)
    at com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.redrawShape(AbstractCursorTool.java:405)
    at com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.redrawShape(AbstractCursorTool.java:378)
    at org.openjump.core.ui.plugin.edittoolbox.cursortools.ConstrainedMultiClickTool.mouseReleased(ConstrainedMultiClickTool.java:144)
    at com.vividsolutions.jump.workbench.ui.cursortool.DelegatingTool.mouseReleased(DelegatingTool.java:116)
    at com.vividsolutions.jump.workbench.ui.cursortool.LeftClickFilter.mouseReleased(LeftClickFilter.java:93)
    at com.vividsolutions.jump.workbench.ui.cursortool.DelegatingTool.mouseReleased(DelegatingTool.java:116)
    at com.vividsolutions.jump.workbench.ui.cursortool.QuasimodeTool.mouseReleased(QuasimodeTool.java:197)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
    at java.awt.Component.processMouseEvent(Component.java:6290)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    at java.awt.Component.processEvent(Component.java:6055)
    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:4236)
    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)
    Hope that helps.
    Malte

     
  • ede

    ede - 2012-05-29

    me too when trying to draw first with cursortool on a newly created layer directly after startup of the application.
    interestingly subsequent tries succeed just fine.

    windows XP 32bit and java 1.6.0_31-b05

    ..ede

    java.lang.InternalError: Unable to Stroke shape (attempt to validate Pipe with invalid SurfaceData)
    at sun.java2d.pipe.LoopPipe.getStrokeSpans(Unknown Source)
    at sun.java2d.pipe.LoopPipe.draw(Unknown Source)
    at sun.java2d.pipe.ValidatePipe.draw(Unknown Source)
    at sun.java2d.SunGraphics2D.draw(Unknown Source)
    at com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.drawShapeXOR(AbstractC
    ursorTool.java:378)
    at com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.drawShapeXOR(AbstractC
    ursorTool.java:363)
    at com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.redrawShape(AbstractCu
    rsorTool.java:414)
    at com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.redrawShape(AbstractCu
    rsorTool.java:387)
    at com.vividsolutions.jump.workbench.ui.cursortool.DragTool.mouseDragged(DragTool.java:121)
    at com.vividsolutions.jump.workbench.ui.cursortool.DelegatingTool.mouseDragged(DelegatingToo
    l.java:128)
    at com.vividsolutions.jump.workbench.ui.cursortool.LeftClickFilter.mouseDragged(LeftClickFil
    ter.java:107)
    at com.vividsolutions.jump.workbench.ui.cursortool.DelegatingTool.mouseDragged(DelegatingToo
    l.java:128)
    at java.awt.AWTEventMulticaster.mouseDragged(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseDragged(Unknown Source)
    at java.awt.Component.processMouseMotionEvent(Unknown Source)
    at javax.swing.JComponent.processMouseMotionEvent(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$000(Unknown Source)
    at java.awt.EventQueue$1.run(Unknown Source)
    at java.awt.EventQueue$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue$2.run(Unknown Source)
    at java.awt.EventQueue$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$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)unGraphics2D.draw(Unknown Source)
    at com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.drawShapeXOR(AbstractCursorTool.java:378)
    at com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.drawShapeXOR(AbstractCursorTool.java:363)
    ....

     
  • michael michaud

    michael michaud - 2012-09-22
    • status: open --> pending-wont-fix
     
  • michael michaud

    michael michaud - 2012-09-22

    Seems to be fixed with recent JVM.
    Will be closed before 1.6 release if nobody complains.

     
  • Jukka Rahkonen

    Jukka Rahkonen - 2013-06-10

    We are in 1.6.3 release already.

     
  • Jukka Rahkonen

    Jukka Rahkonen - 2014-11-18
    • status: pending-wont-fix --> closed-out-of-date
    • Group: --> Linux / Unix
     
  • Jukka Rahkonen

    Jukka Rahkonen - 2014-11-18

    Error does not happen with OpenJUMP 1.7.1 on Windows 7 with jre 1.7 (64 bit). Closing as outdated.

     

Log in to post a comment.