Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-4420

IllegalArgumentException on drawing a tooltip

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      The relevant stack trace is:

      java.lang.IllegalArgumentException: Width (-1) and height (-1) cannot be <= 0
      	at java.desktop/java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1016)
      	at org.openide.util.ImageUtilities$ToolTipImage.createNew(ImageUtilities.java:1079)
      	at org.openide.util.ImageUtilities.assignToolTipToImageInternal(ImageUtilities.java:385)
      	at org.openide.util.ImageUtilities.image2Icon(ImageUtilities.java:311)
      	at org.openide.explorer.view.VisualizerNode.getIcon(VisualizerNode.java:551)
      	at org.openide.explorer.view.NodeRenderer.configureFrom(NodeRenderer.java:213)
      	at org.openide.explorer.view.NodeRenderer.getTreeCellRendererComponent(NodeRenderer.java:138)
      

      Attachments

        Activity

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

          People

            lkishalmi Laszlo Kishalmi
            lkishalmi Laszlo Kishalmi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1.5h
                1.5h

                Slack

                  Issue deployment