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 162048 - NullPointerException at org.netbeans.modules.uml.drawingarea.persistence.PersistenceManager.hasContainerWidgetAsParent
Summary: NullPointerException at org.netbeans.modules.uml.drawingarea.persistence.Pers...
Status: RESOLVED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: General (show other bugs)
Version: 7.0
Hardware: All All
: P2 blocker (vote)
Assignee: javydreamercsw
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on: 171788
Blocks:
  Show dependency tree
 
Reported: 2009-04-06 15:48 UTC by ecastro
Modified: 2010-08-21 21:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 149018


Attachments
stacktrace (3.75 KB, text/plain)
2009-04-06 15:49 UTC, ecastro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ecastro 2009-04-06 15:48:53 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Windows XP, 5.1, x86

User Comments:
ecastro: Just can't save my beautyful diagram. Arrrrggghhhh!!!!!!!!!!!!



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.uml.drawingarea.persistence.PersistenceManager.hasContainerWidgetAsParent(PersistenceManager.java:133)
        at org.netbeans.modules.uml.drawingarea.persistence.PersistenceManager.saveDiagram(PersistenceManager.java:94)
        at org.netbeans.modules.uml.drawingarea.persistence.SaveDiagram.save(SaveDiagram.java:72)
        at org.netbeans.modules.uml.drawingarea.UMLDiagramTopComponent.canClose(UMLDiagramTopComponent.java:406)
        at org.netbeans.core.windows.Central.removeModeTopComponent(Central.java:925)
        at org.netbeans.core.windows.Central.userClosedTopComponent(Central.java:1946)
Comment 1 ecastro 2009-04-06 15:49:00 UTC
Created attachment 79538 [details]
stacktrace
Comment 2 javydreamercsw 2010-08-16 21:04:36 UTC
Found an unhandled case that might be related to this issue. Should be fixed but unable to test until issue #171788 is addressed.
Comment 3 javydreamercsw 2010-08-18 12:33:02 UTC
Changeset: 9bcdbf02d990
Author:    Javier Ortiz <javier.ortiz.78@gmail.com>
Date:      2010-08-18 07:32
Message:   Handle a null child
Issue #162048 - NullPointerException at org.netbeans.modules.uml.drawingarea.persistence.PersistenceManager.hasContainerWidgetAsParent
Comment 4 javydreamercsw 2010-08-20 21:51:49 UTC
Changing to reopened since I'm having issues pushing to repository to avoid verification.
Comment 5 javydreamercsw 2010-08-21 21:04:48 UTC
Changeset: c6bcb08c414d
Author:    Javier Ortiz <javydreamercsw@netbeans.org>
Date:      2010-08-21 16:03
Message:   Handle a null child
Issue #162048 - NullPointerException at org.netbeans.modules.uml.drawingarea.persistence.PersistenceManager.hasContainerWidgetAsParent