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.
create a class diagram, drop a package, drop two contained widgets, create a connection in between the inner widgets. Moving the package will result in java.lang.NullPointerException at org.netbeans.modules.uml.drawingarea.view.AlignWithMoveStrategyProvider.adjustControlPoints(AlignWithMoveStrategyProvider.java:297) at org.netbeans.modules.uml.drawingarea.view.AlignWithMoveStrategyProvider.locationSuggested(AlignWithMoveStrategyProvider.java:108) at org.netbeans.modules.uml.diagrams.nodes.ContainerNode$2.locationSuggested(ContainerNode.java:121) at org.netbeans.modules.visual.action.MoveAction.move(MoveAction.java:115) at org.netbeans.modules.visual.action.MoveAction.mouseReleased(MoveAction.java:94)
Same problem happens to any container widget, namely, package, activity group, activity partition and composite state, the connection does not have to be bent. The regression is related to fix to issue 145331.
Fixed http://hg.netbeans.org/uml-main/rev/26ae2c350540
Reviewed
verified in build 20080829