Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Resolved Painting is broke!

Status
Not open for further replies.
Joined
Feb 13, 2014
Messages
1
Umm I know I am new around here, but when you try to debug or draw something using onPaint() I get this error:
Code:
java.lang.ClassCastException: gc cannot be cast to java.lang.Number
    at com.runemate.game.a.nUl.this(ejb:20)
    at com.runemate.game.a.nUl.float(ejb:80)
    at com.runemate.game.a.nUl.float(ejb:155)
    at com.runemate.game.api.osrs.d.nUl.void(wmb:229)
    at com.runemate.game.api.osrs.d.nUl.this(wmb:234)
    at com.runemate.game.api.osrs.d.nUl.void(wmb:248)
    at com.runemate.game.api.hybrid.Projection.coordinateToScreen(oxb:236)
    at com.runemate.game.api.hybrid.location.Coordinate.getBounds(aub:37)
    at WoodCutter.onPaint(WoodCutter.java:70)
    at com.runemate.game.api.script.framework.core.EventProcessor.process(ikb:252)
    at com.runemate.a.nUl.paintComponent(vjb:265)
    at javax.swing.JComponent.paint(JComponent.java:1054)
    at javax.swing.JComponent.paintChildren(JComponent.java:887)
    at javax.swing.JComponent.paint(JComponent.java:1063)
    at javax.swing.JLayeredPane.paint(JLayeredPane.java:585)
    at javax.swing.JComponent.paintChildren(JComponent.java:887)
    at javax.swing.JComponent.paintToOffscreen(JComponent.java:5226)
    at javax.swing.RepaintManager.paint(RepaintManager.java:1252)
    at javax.swing.JComponent.paint(JComponent.java:1040)
    at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39)
    at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:78)
    at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:115)
    at java.awt.Container.paint(Container.java:1967)
    at java.awt.Window.paint(Window.java:3877)
    at javax.swing.RepaintManager$3.run(RepaintManager.java:819)
    at javax.swing.RepaintManager$3.run(RepaintManager.java:796)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:796)
    at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:769)
    at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:718)
    at javax.swing.RepaintManager.access$1100(RepaintManager.java:62)
    at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1677)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
    at java.awt.EventQueue.access$200(EventQueue.java:103)
    at java.awt.EventQueue$3.run(EventQueue.java:694)
    at java.awt.EventQueue$3.run(EventQueue.java:692)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
 
Engineer
Joined
Jul 28, 2013
Messages
2,776
That's interesting, I'll get it resolved as soon as I have a chance. Thanks a lot for the bug report :)
 
Engineer
Joined
Jul 28, 2013
Messages
2,776
Just letting everyone know that this was fixed with the most recent release.
 
Status
Not open for further replies.
Top