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 7.2 RC1 (Build 201206272359) VM: Java HotSpot(TM) 64-Bit Server VM, 23.1-b03, Java(TM) SE Runtime Environment, 1.7.0_05-b05 OS: Linux User Comments: GUEST: inspect and transform GUEST: Running various refactorization checks as preview mps77: Inspect & Transform on single file GUEST: Preview Inspect and Transform with nearly all rules activated everflux: Ran inspections on complete code base, added new configuration and added all inspections available. GUEST: Inspect and Transform Stacktrace: java.lang.IndexOutOfBoundsException: start < 0 (-1 < 0) at org.netbeans.spi.editor.hints.ErrorDescriptionFactory.createErrorDescription(ErrorDescriptionFactory.java:230) at org.netbeans.modules.java.hints.suggestions.ExpandEnhancedForLoop.run(ExpandEnhancedForLoop.java:115) at sun.reflect.GeneratedMethodAccessor112.invoke(GeneratedMethodAccessor112.java:0) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl.createErrors(CodeHintProviderImpl.java:299)
Created attachment 121607 [details] stacktrace
Created attachment 122244 [details] stacktrace running inspections (all) on maven/spring based web project
*** Bug 217062 has been marked as a duplicate of this bug. ***
http://hg.netbeans.org/jet-main/rev/487dbf9b62e1
Integrated into 'main-golden', will be available in build *201208270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/487dbf9b62e1 User: Jan Lahoda <jlahoda@netbeans.org> Log: #215015: do not show suggestions in Refactor/Inspec&Transform and Source/Inspect and ignore any suggestions that would happen to be sent to computing backend.
To reproduce (IIRC), select Suggestions/Expand Enhanced for Loop in Inspect&Transform and select a scope that contains a file with the enhanced for loop. Expected: no "Suggestions" in Source/Inspect and Refactor/Inspect&Transform.
verified in trunk, please integrate
Transplated to release72 branch: http://hg.netbeans.org/releases/rev/35ad13470ddc
Integrated into 'releases', will be available in build *201209010822* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/35ad13470ddc User: Jan Lahoda <jlahoda@netbeans.org> Log: #215015: do not show suggestions in Refactor/Inspec&Transform and Source/Inspect and ignore any suggestions that would happen to be sent to computing backend.