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 208526 - AssertionError at org.netbeans.modules.refactoring.java.ui.RenameRefactoringUI.create
Summary: AssertionError at org.netbeans.modules.refactoring.java.ui.RenameRefactoringU...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks: 53192
  Show dependency tree
 
Reported: 2012-02-16 19:43 UTC by Jesse Glick
Modified: 2012-02-24 09:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 185153


Attachments
stacktrace (2.08 KB, text/plain)
2012-02-16 19:43 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2012-02-16 19:43:25 UTC
Build: NetBeans IDE Dev (Build 20120216-7e59857a6a14)
VM: Java HotSpot(TM) Client VM, 20.5-b03, Java(TM) SE Runtime Environment, 1.6.0_30-b12
OS: Linux

User Comments:
jglick: Trying rename refactoring on a "reduced package" tree node.




Stacktrace: 
java.lang.AssertionError
   at org.netbeans.modules.refactoring.java.ui.RenameRefactoringUI.create(RenameRefactoringUI.java:407)
   at org.netbeans.modules.refactoring.java.ui.ContextAnalyzer$3.createRefactoringUI(ContextAnalyzer.java:140)
   at org.netbeans.modules.refactoring.java.ui.ContextAnalyzer$NodeToFileObjectTask.run(ContextAnalyzer.java:498)
   at org.netbeans.api.java.source.ui.ScanDialog.runWhenScanFinished(ScanDialog.java:153)
   at org.netbeans.modules.refactoring.java.ui.RefactoringActionsProvider.doRename(RefactoringActionsProvider.java:81)
   at org.netbeans.modules.refactoring.api.impl.ActionsImplementationFactory.doRename(ActionsImplementationFactory.java:91)
Comment 1 Jesse Glick 2012-02-16 19:43:28 UTC
Created attachment 115845 [details]
stacktrace
Comment 2 Jan Becicka 2012-02-23 11:17:34 UTC
changeset:   213572:516c5bf80d50
user:        Jan Becicka <jbecicka@netbeans.org>
date:        Thu Feb 23 11:39:41 2012 +0100
Comment 3 Jesse Glick 2012-02-23 15:26:59 UTC
Thanks. I guess you were able to reproduce, since reduced tree mode is in trunk now?
Comment 4 Jan Becicka 2012-02-23 15:52:08 UTC
Yes it is. But the very same exception was thrown also for regular folders (in Files View)
Comment 5 Quality Engineering 2012-02-24 09:29:23 UTC
Integrated into 'main-golden', will be available in build *201202240400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/516c5bf80d50
User: Jan Becicka <jbecicka@netbeans.org>
Log: #208526
proper handling of file renames