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 232048

Summary: NullPointerException at org.netbeans.api.visual.widget.Widget.calculatePreferredBounds
Product: platform Reporter: alied <alied>
Component: GraphAssignee: issues@platform <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 201802
Attachments: stacktrace

Description alied 2013-06-30 21:39:15 UTC
Build: NetBeans IDE Dev (Build 201306181109)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b15
OS: Linux

User Comments:
alied: in the Options window, C/C++ page, pressed the Apply button. After a high CPU usage (close to 100%) I had this exception.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.api.visual.widget.Widget.calculatePreferredBounds(Widget.java:1017)
   at org.netbeans.api.visual.widget.Widget.getPreferredBounds(Widget.java:987)
   at org.netbeans.modules.uml.drawingarea.layout.HierarchicalLayout$BuildDatastructure.run(HierarchicalLayout.java:231)
   at org.netbeans.modules.uml.drawingarea.layout.HierarchicalLayout$AlgorithmPart.start(HierarchicalLayout.java:157)
   at org.netbeans.modules.uml.drawingarea.layout.HierarchicalLayout.performGraphLayout(HierarchicalLayout.java:174)
   at org.netbeans.api.visual.graph.layout.GraphLayout.layoutGraph(GraphLayout.java:121)
Comment 1 alied 2013-06-30 21:39:17 UTC
Created attachment 136520 [details]
stacktrace
Comment 2 Exceptions Reporter 2014-11-02 04:06:32 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=201802