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.
Build: NetBeans IDE 6.5 RC2 (Build 200810270001) VM: Java HotSpot(TM) Client VM, 1.5.0_15-b04, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_15-b04 OS: Windows Vista, 6.0, x86 User Comments: sergeyp: tried to copy attribute from one class to another |(with ctrl+drag&drop in project tree) then try popup on attribute on a diagram Stacktrace: java.lang.NullPointerException at org.netbeans.modules.uml.drawingarea.actions.DiagramPopupMenuProvider.getPopupMenu(DiagramPopupMenuProvider.java:144) at org.netbeans.modules.visual.action.PopupMenuAction.handleMouseEvent(PopupMenuAction.java:113) at org.netbeans.modules.visual.action.PopupMenuAction.mouseReleased(PopupMenuAction.java:89) at org.netbeans.api.visual.action.WidgetAction$Chain.mouseReleased(WidgetAction.java:790) at org.netbeans.api.visual.widget.SceneComponent$Operator$.operate(SceneComponent.java:553) at org.netbeans.api.visual.widget.SceneComponent.processLocationOperator(SceneComponent.java:330)
Created attachment 73549 [details] stacktrace
//investigation: initial reason is fail to duplicate attribute: CreationFactory can't create empty Presentation elements, reasons are unknown yet. may require extra time. it may have sense to disable copy action in project tree for now (move will remains), thi way attributes/operations will work exactly the same way as all other elements (all elements support move only in rpoject tree).
Build: NetBeans IDE 6.7 Beta (Build 200904242137) VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: Windows Vista, 6.1, x86 User Comments: Stacktrace: java.lang.NullPointerException at org.netbeans.modules.uml.drawingarea.actions.DiagramPopupMenuProvider.getPopupMenu(DiagramPopupMenuProvider.java:141) at org.netbeans.modules.visual.action.PopupMenuAction.handleMouseEvent(PopupMenuAction.java:113) at org.netbeans.modules.visual.action.PopupMenuAction.mouseReleased(PopupMenuAction.java:89) at org.netbeans.api.visual.action.WidgetAction$Chain.mouseReleased(WidgetAction.java:790) at org.netbeans.api.visual.widget.SceneComponent$Operator$3.operate(SceneComponent.java:561) at org.netbeans.api.visual.widget.SceneComponent.processLocationOperator(SceneComponent.java:338)
Created attachment 82836 [details] stacktrace