Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-94

Exception in DropShadowDecorator

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1
    • 1.2
    • wtk
    • None

    Description

      > pivot pivot.wtk.test.WindowTest

      Exception thrown during paint(): java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
      Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
      at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:999)
      at java.awt.image.BufferedImage.<init>(BufferedImage.java:321)
      at pivot.wtk.effects.DropShadowDecorator.prepare(DropShadowDecorator.java:179)
      at pivot.wtk.Container.paint(Container.java:379)
      at pivot.wtk.Display.paint(Display.java:100)
      at pivot.wtk.ApplicationContext$DisplayHost.paintDisplay(ApplicationContext.java:442)
      at pivot.wtk.ApplicationContext$DisplayHost.paintVolatileBuffered(ApplicationContext.java:408)
      at pivot.wtk.ApplicationContext$DisplayHost.paint(ApplicationContext.java:326)
      at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
      at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
      at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
      at java.awt.Container.paint(Container.java:1780)
      at sun.awt.RepaintArea.paintComponent(RepaintArea.java:248)
      at sun.awt.X11.XRepaintArea.paintComponent(XRepaintArea.java:56)
      at sun.awt.RepaintArea.paint(RepaintArea.java:224)
      at sun.awt.X11.XComponentPeer.handleEvent(XComponentPeer.java:688)
      at java.awt.Component.dispatchEventImpl(Component.java:4659)
      at java.awt.Container.dispatchEventImpl(Container.java:2099)
      at java.awt.Window.dispatchEventImpl(Window.java:2475)
      at java.awt.Component.dispatchEvent(Component.java:4413)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
      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)

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            gbrown Gregory K. Brown
            tvolkert Todd Volkert
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment