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.
[200806090002, jdk1.6.0] to reproduce: --------------- 1) File>New File...>Javascript File 2) Type: var a|a=2; NOTE: The | char represents cursor 3) Refactor > Rename... ERROR: Unexpected exception - A java.lang.AssertionError exception has occurred. NOTE: Works only when the file is not present in a project NOTE: In 200805300101 there is no exception, but refactoring doesn't work either
Created attachment 62565 [details] AssertionError details
This was just fixed in 6.5; tracked in issue 136936 to hopefully get it backported to 6.1 as well. *** This issue has been marked as a duplicate of 136936 ***
[Build 200806180005, JDK 1.6.0, Vista] This is still reproducible for me. Not fixed. To reproduce: 1) File > New Project > Web > Web Application (default values) Project > New > JavaScript 2) Type: var myv|ar; NOTE: The | char represents cursor 3) Invoke rename ERROR: Unexpected exception - A java.lang.AssertionError exception has occurred. NOTE: Works every time now, regardless of the file's location NOTE: PHP project Javascript refactoring works (only when .js is in 'web' folder)
still reproducible, should be simple
already fixed.