This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 270205 - IllegalArgumentException: Width (0) and height (0) cannot be <= 0
Summary: IllegalArgumentException: Width (0) and height (0) cannot be <= 0
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-26 16:04 UTC by veritus4
Modified: 2017-03-26 16:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 228557


Attachments
stacktrace (3.41 KB, text/plain)
2017-03-26 16:04 UTC, veritus4
Details

Note You need to log in before you can comment on or make changes to this bug.
Description veritus4 2017-03-26 16:04:23 UTC
Build: NetBeans IDE 8.2 (Build 20170211-unknown-revn)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.121-b13, Java(TM) SE Runtime Environment, 1.8.0_121-b13
OS: Linux

User Comments:
veritus4: Displayin database diagram




Stacktrace: 
java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
   at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1016)
   at java.awt.image.BufferedImage.<init>(BufferedImage.java:333)
   at pl.waw.ipipan.dbvisualizer.diagram.Graph.getImagesForPrint(Graph.java:405)
   at pl.waw.ipipan.dbvisualizer.diagram.GraphControler.printDB(GraphControler.java:362)
   at pl.waw.ipipan.dbvisualizer.DBVisualizerPanel.printDB(DBVisualizerPanel.java:103)
   at pl.waw.ipipan.dbvisualizer.PrintPanel.jButtonCreateimagesActionPerformed(PrintPanel.java:249)
Comment 1 veritus4 2017-03-26 16:04:25 UTC
Created attachment 163949 [details]
stacktrace