Status: Started
Owner: mr0...@mro.name
Labels: Type-Defect Priority-Medium Effort-Low OpSys-OSX  
Toolkit-Piccolo2D.Java Component-Core Milestone-1.3 Usability

New issue 112 by mr0...@mro.name: OSX: "Error: custom stroke not  
implemented"
http://code.google.com/p/piccolo2d/issues/detail?id=112

What steps will reproduce the problem?
1. Run the StrokeExample on OSX, java 1.5

What is the expected output? What do you see instead?
expected: clear console.

instead:

Error: custom stroke not implemented
java.lang.Exception: Stack trace
        at java.lang.Thread.dumpStack(Thread.java:1082)
        at apple.awt.OSXSurfaceData.setupStroke(OSXSurfaceData.java:809)
        at apple.awt.OSXSurfaceData.setupGraphicsState(OSXSurfaceData.java:1037)
        at 
apple.awt.CPeerSurfaceData.setupGraphicsState(CPeerSurfaceData.java:110)
        at apple.awt.OSXSurfaceData.setupGraphicsState(OSXSurfaceData.java:978)
        at apple.awt.OSXSurfaceData.setupGraphicsState(OSXSurfaceData.java:974)
        at apple.awt.OSXSurfaceData.drawfillShape(OSXSurfaceData.java:1283)
        at apple.awt.CRenderer.drawfillShape(CRenderer.java:516)
        at apple.awt.CRenderer.draw(CRenderer.java:555)
        at sun.java2d.pipe.ValidatePipe.draw(ValidatePipe.java:114)
        at sun.java2d.SunGraphics2D.draw(SunGraphics2D.java:2493)
        at edu.umd.cs.piccolo.nodes.PPath.paint(PPath.java:315)
        at edu.umd.cs.piccolo.PNode.fullPaint(PNode.java:2534)
        at edu.umd.cs.piccolo.PNode.fullPaint(PNode.java:2539)
        at edu.umd.cs.piccolo.PCamera.paintCameraView(PCamera.java:295)
        at edu.umd.cs.piccolo.PCamera.paint(PCamera.java:279)
        at edu.umd.cs.piccolo.PNode.fullPaint(PNode.java:2534)
        at edu.umd.cs.piccolo.PCamera.fullPaint(PCamera.java:358)
        at edu.umd.cs.piccolo.PCanvas.paintComponent(PCanvas.java:658)
        at javax.swing.JComponent.paint(JComponent.java:840)
        at javax.swing.JComponent._paintImmediately(JComponent.java:4739)
        at javax.swing.JComponent.paintImmediately(JComponent.java:4521)
        at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:436)
        at
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

Seems to be a known bug in apple java 1.5:
https://mailman.cs.umd.edu/pipermail/piccolo-chat/2005/002852.html
http://lists.apple.com/archives/Java-dev/2007/Feb/msg00057.html

Still in there:
$ java -version
java version "1.5.0_19"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_19-b02-304)
Java HotSpot(TM) Client VM (build 1.5.0_19-137, mixed mode, sharing)


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to