java.lang.InternalError: MaskFill can only fill with colors

Oracle Community | 807587 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Display image in DesktopPane

    Oracle Community | 1 decade ago | 807587
    java.lang.InternalError: MaskFill can only fill with colors
  2. 0

    Graphics setComposite

    Oracle Community | 6 years ago | 838392
    java.lang.InternalError: not implemented yet

    Root Cause Analysis

    1. java.lang.InternalError

      MaskFill can only fill with colors

      at sun.java2d.loops.MaskFill.makePrimitive()
    2. Java RT
      SunGraphics2D.fillRect
      1. sun.java2d.loops.MaskFill.makePrimitive(MaskFill.java:120)
      2. sun.java2d.loops.GraphicsPrimitiveMgr.locate(GraphicsPrimitiveMgr.java:167)
      3. sun.java2d.loops.MaskFill.locate(MaskFill.java:46)
      4. sun.java2d.loops.FillRect$General.<init>(FillRect.java:83)
      5. sun.java2d.loops.FillRect.makePrimitive(FillRect.java:72)
      6. sun.java2d.loops.GraphicsPrimitiveMgr.locate(GraphicsPrimitiveMgr.java:167)
      7. sun.java2d.loops.FillRect.locate(FillRect.java:38)
      8. sun.java2d.SurfaceData.makeRenderLoops(SurfaceData.java:478)
      9. sun.java2d.SurfaceData.getRenderLoops(SurfaceData.java:461)
      10. sun.awt.image.BufImgSurfaceData.getRenderLoops(BufImgSurfaceData.java:318)
      11. sun.java2d.SunGraphics2D.revalidateAll(SunGraphics2D.java:2143)
      12. sun.java2d.SunGraphics2D.fillRect(SunGraphics2D.java:2123)
      12 frames
    3. gamegui
      TileBackgroundBorder.paintBorder
      1. gamegui.TileBackgroundBorder.paintBorder(TileBackgroundBorder.java:29)
      1 frame
    4. Java RT
      EventDispatchThread.run
      1. javax.swing.JComponent.paintBorder(JComponent.java:707)
      2. javax.swing.JComponent.paint(JComponent.java:809)
      3. javax.swing.JComponent.paintChildren(JComponent.java:647)
      4. javax.swing.JComponent.paint(JComponent.java:817)
      5. javax.swing.JComponent.paintChildren(JComponent.java:647)
      6. javax.swing.JComponent.paint(JComponent.java:817)
      7. javax.swing.JComponent.paintChildren(JComponent.java:647)
      8. javax.swing.JComponent.paint(JComponent.java:817)
      9. javax.swing.JComponent.paintChildren(JComponent.java:647)
      10. javax.swing.JComponent.paint(JComponent.java:817)
      11. javax.swing.JLayeredPane.paint(JLayeredPane.java:552)
      12. javax.swing.JComponent.paintChildren(JComponent.java:647)
      13. javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4778)
      14. javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4724)
      15. javax.swing.JComponent.paint(JComponent.java:798)
      16. java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
      17. sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
      18. sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
      19. java.awt.Container.paint(Container.java:1309)
      20. sun.awt.RepaintArea.paint(RepaintArea.java:177)
      21. sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:260)
      22. java.awt.Component.dispatchEventImpl(Component.java:3699)
      23. java.awt.Container.dispatchEventImpl(Container.java:1623)
      24. java.awt.Window.dispatchEventImpl(Window.java:1590)
      25. java.awt.Component.dispatchEvent(Component.java:3480)
      26. java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
      27. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
      28. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      29. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
      30. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
      31. java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
      31 frames