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 252587

Summary: NullPointerException at org.netbeans.api.visual.model.ObjectScene.setSelectedObjects
Product: platform Reporter: janvo <janvo>
Component: GraphAssignee: issues@platform <issues>
Status: NEW ---    
Severity: normal CC: janvo
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 216929
Attachments: stacktrace

Description janvo 2015-05-26 10:37:31 UTC
Build: NetBeans IDE 8.0.2 (Build 201408251540)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.72-b04, Java(TM) SE Runtime Environment, 1.7.0_72-b14
OS: Linux

User Comments:
janvo: try adding a Class in a (invalid?) UML diagram

GUEST: Problem occurs while changing the name of a relation




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.api.visual.model.ObjectScene.setSelectedObjects(ObjectScene.java:197)
   at org.uml.visual.widgets.ClassDiagramScene.setFocusedObjectAndToggleListeners(ClassDiagramScene.java:454)
   at org.uml.visual.widgets.ClassDiagramScene.deselectAll(ClassDiagramScene.java:432)
   at org.uml.visual.UMLTopComponent.componentDeactivated(UMLTopComponent.java:154)
   at org.openide.windows.WindowManager.activateComponent(WindowManager.java:279)
   at org.netbeans.core.windows.WindowManagerImpl.notifyRegistryTopComponentActivated(WindowManagerImpl.java:1171)
Comment 1 janvo 2015-05-26 10:37:33 UTC
Created attachment 153868 [details]
stacktrace
Comment 2 Exceptions Reporter 2015-11-14 06:50:49 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=216929