1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Resolved Painting is broke!

Discussion in 'Client & Site Support' started by zeejfps, May 28, 2014.

Thread Status:
Not open for further replies.
  1. zeejfps

    Joined:
    Feb 13, 2014
    Messages:
    1
    Likes Received:
    0
    Umm I know I am new around here, but when you try to debug or draw something using onPaint() I get this error:
    Code (Text):
    1.  
    2. java.lang.ClassCastException: gc cannot be cast to java.lang.Number
    3.     at com.runemate.game.a.nUl.this(ejb:20)
    4.     at com.runemate.game.a.nUl.float(ejb:80)
    5.     at com.runemate.game.a.nUl.float(ejb:155)
    6.     at com.runemate.game.api.osrs.d.nUl.void(wmb:229)
    7.     at com.runemate.game.api.osrs.d.nUl.this(wmb:234)
    8.     at com.runemate.game.api.osrs.d.nUl.void(wmb:248)
    9.     at com.runemate.game.api.hybrid.Projection.coordinateToScreen(oxb:236)
    10.     at com.runemate.game.api.hybrid.location.Coordinate.getBounds(aub:37)
    11.     at WoodCutter.onPaint(WoodCutter.java:70)
    12.     at com.runemate.game.api.script.framework.core.EventProcessor.process(ikb:252)
    13.     at com.runemate.a.nUl.paintComponent(vjb:265)
    14.     at javax.swing.JComponent.paint(JComponent.java:1054)
    15.     at javax.swing.JComponent.paintChildren(JComponent.java:887)
    16.     at javax.swing.JComponent.paint(JComponent.java:1063)
    17.     at javax.swing.JLayeredPane.paint(JLayeredPane.java:585)
    18.     at javax.swing.JComponent.paintChildren(JComponent.java:887)
    19.     at javax.swing.JComponent.paintToOffscreen(JComponent.java:5226)
    20.     at javax.swing.RepaintManager.paint(RepaintManager.java:1252)
    21.     at javax.swing.JComponent.paint(JComponent.java:1040)
    22.     at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39)
    23.     at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:78)
    24.     at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:115)
    25.     at java.awt.Container.paint(Container.java:1967)
    26.     at java.awt.Window.paint(Window.java:3877)
    27.     at javax.swing.RepaintManager$3.run(RepaintManager.java:819)
    28.     at javax.swing.RepaintManager$3.run(RepaintManager.java:796)
    29.     at java.security.AccessController.doPrivileged(Native Method)
    30.     at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    31.     at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:796)
    32.     at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:769)
    33.     at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:718)
    34.     at javax.swing.RepaintManager.access$1100(RepaintManager.java:62)
    35.     at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1677)
    36.     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
    37.     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
    38.     at java.awt.EventQueue.access$200(EventQueue.java:103)
    39.     at java.awt.EventQueue$3.run(EventQueue.java:694)
    40.     at java.awt.EventQueue$3.run(EventQueue.java:692)
    41.     at java.security.AccessController.doPrivileged(Native Method)
    42.     at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    43.     at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
    44.     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    45.     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    46.     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    47.     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
    48.     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    49.     at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
     
  2. Arbiter

    Arbiter Mod Automation

    Joined:
    Jul 26, 2013
    Messages:
    2,938
    Likes Received:
    1,266
    Verified that this is a new bug that came up. @Cloud
     
  3. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    That's interesting, I'll get it resolved as soon as I have a chance. Thanks a lot for the bug report :)
     
  4. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    Just letting everyone know that this was fixed with the most recent release.
     
  5. Arbiter

    Arbiter Mod Automation

    Joined:
    Jul 26, 2013
    Messages:
    2,938
    Likes Received:
    1,266
    Tagging @zeejfps so he sees. @Cloud: get in the habit of doing it too. ;)
     
Thread Status:
Not open for further replies.

Share This Page

Loading...