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 128289 - AssertionError at org.netbeans.modules.refactoring.javascript.ui.RefactoringActionsProvider$NodeToFileObjectTask.run
Summary: AssertionError at org.netbeans.modules.refactoring.javascript.ui.RefactoringA...
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Torbjorn Norbye
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-25 10:23 UTC by Jiri Skrivanek
Modified: 2009-02-27 14:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 30385


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2008-02-25 10:23:49 UTC
Build: NetBeans IDE Dev (Build 20080225060642)
VM: Java HotSpot(TM) Client VM, 10.0-b19
OS: Windows XP, 5.1, x86
User comments: To reproduce:

- create a new java project
- switch to Files view
- call 'Refactor|Rename' on 'JavaApplication1|test' node and exception is thrown. It seems it throws this exception if
you try to rename any folder other then one under src.

STACKTRACE: (first 10 lines)
java.lang.AssertionError
        at
org.netbeans.modules.refactoring.javascript.ui.RefactoringActionsProvider$NodeToFileObjectTask.run(RefactoringActionsProvider.java:648)
        at
org.netbeans.modules.refactoring.javascript.ui.RefactoringActionsProvider.doRename(RefactoringActionsProvider.java:125)
        at
org.netbeans.modules.refactoring.api.impl.ActionsImplementationFactory.doRename(ActionsImplementationFactory.java:69)
        at org.netbeans.modules.refactoring.spi.impl.RenameAction.performAction(RenameAction.java:62)
        at org.netbeans.modules.refactoring.spi.impl.RefactoringGlobalAction.performAction(RefactoringGlobalAction.java:131)
        at org.openide.util.actions.NodeAction.performAction(NodeAction.java:289)
        at org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:118)
        at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:77)
        at org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:114)
        at org.openide.util.actions.NodeAction.actionPerformed(NodeAction.java:277)
Comment 1 Jiri Skrivanek 2008-02-25 10:25:15 UTC
BTW, it is probably caused by the fact that 'Rename' action disappeard from popup of folders in Files view.
Comment 2 Torbjorn Norbye 2008-02-25 21:51:14 UTC
Fixed in changeset 8e799ab946e5 which I just pushed.
Comment 3 Jiri Skrivanek 2008-02-28 08:20:22 UTC
Verified.