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.
NetBeans IDE Dev (Build 200612031900) 1.5.0_10; Java HotSpot(TM) Client VM 1.5.0_10-b03 Windows XP version 5.1 running on x86 en_GB (nb); Cp1252 Steps: 1. Open j2se project under version control. (CVS) 2. Select interface and invoke "Refactor | Rename..." on it. Proceed all necessary for successful renaming of this interface. Randomly AE is throws. java.lang.AssertionError at org.netbeans.modules.web.jsf.refactoring.Occurrences.getAllOccurrences(Occurrences.java:406) at org.netbeans.modules.web.jsf.refactoring.JSFRenamePlugin.prepare(JSFRenamePlugin.java:122) at org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare(AbstractRefactoring.java:301) at org.netbeans.modules.refactoring.api.AbstractRefactoring.prepare(AbstractRefactoring.java:166)
Created attachment 36455 [details] AssertionError
Raising priority to "P1". Happens always from "Files" view and in the case that project is under SVN instead of [Locally Copied] status it shows [Locally Modified] NetBeans IDE Dev (Build 200701081900) 1.5.0_11; Java HotSpot(TM) Client VM 1.5.0_11-b03 Windows XP version 5.1 running on x86 en_GB (nb); Cp1252
Same steps lead to NPE, I used this issue coz the symptoms are similar. java.lang.NullPointerException at org.netbeans.modules.web.jsf.refactoring.JSFRenamePlugin.prepare(JSFRenamePlugin.java:94) at org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare(AbstractRefactoring.java:301) at org.netbeans.modules.refactoring.api.AbstractRefactoring.prepare(AbstractRefactoring.java:166) at org.netbeans.modules.refactoring.spi.impl.ParametersPanel$Prepare.run(ParametersPanel.java:686) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:541) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:963)
The original bug is duplicate of issue #90511. The problem, which had ppis was coused by NPE: java.lang.NullPointerException at org.netbeans.modules.web.jsf.refactoring.JSFRenamePlugin.prepare(JSFRenamePlugin.java:94) at org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare(AbstractRefactoring.java:301) at org.netbeans.modules.refactoring.api.AbstractRefactoring.prepare(AbstractRefactoring.java:166) ... I fixed the problem with NPE, which was caused renaming folder, which are part of a package name. The original problem is Assertion Error is already fixed as a issue #90511
Verified. NetBeans IDE Dev (Build 200701101900) 1.5.0_11; Java HotSpot(TM) Client VM 1.5.0_11-b03 Windows XP version 5.1 running on x86 en_GB (nb); Cp1252