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 20081010 While verifying issue 149278, NPE come up when I tried to move the selected qualifier using Ctrl+Arrows. See attached ide log file for complete exception. java.lang.NullPointerException at java.awt.Point.<init>(Point.java:64) at org.netbeans.api.visual.widget.Widget.convertLocalToScene(Widget.java:1149) at org.netbeans.modules.uml.drawingarea.view.AlignWithMoveStrategyProvider.getOriginalLocation(AlignWithMoveStrategyProvider.java:203) at org.netbeans.modules.uml.drawingarea.actions.MoveNodeKeyAction.keyPressed(MoveNodeKeyAction.java:108) at org.netbeans.api.visual.action.WidgetAction$Chain.keyPressed(WidgetAction.java:923) at org.netbeans.api.visual.widget.SceneComponent$Operator$10.operate(SceneComponent.java:595) at org.netbeans.api.visual.widget.SceneComponent.processParentOperator(SceneComponent.java:424) at org.netbeans.api.visual.widget.SceneComponent.processKeyOperator(SceneComponent.java:500)
Created attachment 71589 [details] ide log file
Upgrading to P1 since node selection is not possible after encountering this bug.
Fixed http://hg.netbeans.org/uml-main/rev/0e558d07ec82
Reviewed
Integrated into 'main-golden', will be available in build *200810140201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/0e558d07ec82 User: jyothivasa@netbeans.org Log: Fix for #149845 Ctrl+Arrow on qualifier throws NPE
verified in NB 6.5 RC1 build 200810141115. Also verified in the local UML daily build 20081014 that the same exception still came up.
http://hg.netbeans.org/uml-main/rev/b3a2b2d0c049
Code reviewed by Jyothi and Sheryl yesterday.
Integrated into 'main-golden', will be available in build *200810151401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/b3a2b2d0c049 User: jyothivasa@netbeans.org Log: Fix for #149845 Ctrl+Arrow on Association Qualifier throws NPE
Closing and reopening the diagram after the exception re-enables node traversal. Can this bug be downgraded to P2 and added to patch1? Thanks, George
Downgrading it to P2 since it is a corner-case use case (happens only using keyboard move keys, mouse works fine) and has a workaround of closing and re-opening the diagram to continue working with the IDE. Also removing the keyword 65_HR_FIX.. since it need not be ported to release65 and can be in the next patch.
yeah, the workaround seems to work fine. I'm ok with p2 and be in the patch.
the fix has been verified in trunk build 200810151401
I've transplanted the changeset http://hg.netbeans.org/main/rev/b3a2b2d0c049 into release65_fixes as http://hg.netbeans.org/release65_fixes/rev/0c3cf38c7c86 The changeset http://hg.netbeans.org/main/rev/0e558d07ec82 was already part release65_fixes repository.
verified on actual builds in release65_fixes.