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 213029 - IllegalArgumentException: Width (0) and height (0) cannot be <= 0
Summary: IllegalArgumentException: Width (0) and height (0) cannot be <= 0
Status: NEW
Alias: None
Product: contrib
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: _ tboudreau
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-25 18:33 UTC by emiddio
Modified: 2015-05-17 23:59 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 146118


Attachments
stacktrace (3.88 KB, text/plain)
2012-05-25 18:33 UTC, emiddio
Details
stacktrace (3.88 KB, text/plain)
2012-11-13 02:44 UTC, ecerichter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description emiddio 2012-05-25 18:33:10 UTC
Build: NetBeans IDE Dev (Build 201205200400)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.0-b21, Java(TM) SE Runtime Environment, 1.7.0_04-b20
OS: Windows 7

User Comments:
recjake: - opened the source code display of "graphical view" for a class
- decreased size of displayed code




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:329)
   at org.netbeans.modules.graphicclassview.SharedTextWidget.makeImage(SharedTextWidget.java:109)
   at org.netbeans.modules.graphicclassview.SharedTextWidget.setZoom(SharedTextWidget.java:95)
   at org.netbeans.modules.graphicclassview.SharedTextWidget$ZoomAction.mouseClicked(SharedTextWidget.java:159)
   at org.netbeans.api.visual.action.WidgetAction$Chain.mouseClicked(WidgetAction.java:755)
Comment 1 emiddio 2012-05-25 18:33:17 UTC
Created attachment 119898 [details]
stacktrace
Comment 2 Jaroslav Havlin 2012-10-24 14:56:46 UTC
Seems to be a bug in Graphical Class Viewer. Please assign back if it is not. Thank you.
Comment 3 ecerichter 2012-11-13 02:44:32 UTC
Created attachment 127673 [details]
stacktrace

Using the "grafical class view" plugin.
Comment 4 Exceptions Reporter 2015-05-17 23:59:56 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=146118