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 184127 - NullPointerException at org.netbeans.modules.javafx.refactoring.impl.RefactoringActionsProvider.canRename
Summary: NullPointerException at org.netbeans.modules.javafx.refactoring.impl.Refactor...
Status: VERIFIED DUPLICATE of bug 184468
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on: 185346
Blocks:
  Show dependency tree
 
Reported: 2010-04-14 10:46 UTC by Andrei Chistiakov
Modified: 2010-05-14 10:32 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 168019


Attachments
stacktrace (2.71 KB, text/plain)
2010-04-14 10:46 UTC, Andrei Chistiakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Chistiakov 2010-04-14 10:46:14 UTC
Build: NetBeans IDE 6.9 Beta (Build 201004122201)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Windows XP

User Comments:
ca-nb: right-clicked a node in Navigator's Members View in J2ME project




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.javafx.refactoring.impl.RefactoringActionsProvider.canRename(RefactoringActionsProvider.java:195)
   at org.netbeans.modules.refactoring.api.impl.ActionsImplementationFactory.canRename(ActionsImplementationFactory.java:67)
   at org.netbeans.modules.refactoring.spi.impl.RSMDataObjectAction.createContextAwareInstance(RSMDataObjectAction.java:92)
   at org.openide.util.Utilities.actionsToPopup(Utilities.java:2720)
   at org.openide.util.Utilities.actionsToPopup(Utilities.java:2812)
   at org.openide.explorer.view.TreeView.createPopup(TreeView.java:1009)
Comment 1 Andrei Chistiakov 2010-04-14 10:46:19 UTC
Created attachment 97304 [details]
stacktrace
Comment 2 Andrei Chistiakov 2010-04-14 10:57:46 UTC
To reproduce:
- create a new MobileApplication with all defaults
- in Projects tree select root node of the project and invoke Rename. Set new project name, check 'Also Rename Project Folder', press Rename button
- in Editor, switch HelloMIDlet to Source view
- in Navigator, right-click any node of Members View tree

The exception is thrown
Comment 3 J Bachorik 2010-04-20 10:13:19 UTC

*** This bug has been marked as a duplicate of bug 184468 ***
Comment 4 Alexandr Scherbatiy 2010-05-14 10:32:08 UTC
verified in netbeans-trunk-nightly-201005132200-javafx-full-windows.exe