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.
Build: NetBeans IDE Dev (Build 201511240002) VM: Java HotSpot(TM) 64-Bit Server VM, 25.66-b17, Java(TM) SE Runtime Environment, 1.8.0_66-b17 OS: Windows 7 User Comments: MackSix: 1. Opened up a Mavan Java project. 2. While scanning, initianted Refacor>>Inspect&Transform. 3. I got a message saying to wait while scanning in process. 4. When scanning stopped, this exception was thrown and the I&T window popped up. MackSix: This happend simply by trying to run Refactor>>Inspect & Transform. Stacktrace: java.lang.IndexOutOfBoundsException: Index: 1, Size: 0 at java.util.ArrayList.RangeCheck(ArrayList.java:653) at java.util.ArrayList.get(ArrayList.java:429) at org.netbeans.modules.java.hints.spiimpl.refactoring.InspectionComboModel.getElementAt(InspectionComboModel.java:90) at org.netbeans.modules.java.hints.spiimpl.refactoring.InspectionComboModel.<init>(InspectionComboModel.java:79) at org.netbeans.modules.java.hints.spiimpl.refactoring.InspectAndRefactorPanel.initialize(InspectAndRefactorPanel.java:173) at org.netbeans.modules.java.hints.spiimpl.refactoring.InspectAndRefactorUI$1$1.run(InspectAndRefactorUI.java:116)
Created attachment 157587 [details] stacktrace
In addition, the I&T window fields were all blank. Restarting NetBeans solved the problem.
I wasn't able to reproduce the situation. It seems as some timing-related bug, UI vs. project/classpath initialization. Since the combo is reinitialized fresh on every UI appearance, I just fixed the error: jet-main#7bce36356670
Integrated into 'main-silver', will be available in build *201605250002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/7bce36356670 User: Svata Dedic <sdedic@netbeans.org> Log: #256900: Avoid exception with hints model still initializing