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 201105270401) VM: Java HotSpot(TM) 64-Bit Server VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07 OS: Linux User Comments: jocke: ... jocke: .... jocke: ... Stacktrace: java.lang.IllegalStateException: PLUS at org.netbeans.modules.java.hints.introduce.Flow$VisitorImpl.visitCompoundAssignment(Flow.java:243) at org.netbeans.modules.java.hints.introduce.Flow$VisitorImpl.visitCompoundAssignment(Flow.java:175) at com.sun.tools.javac.tree.JCTree$JCAssignOp.accept(JCTree.java:1511) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:67) at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:94) at org.netbeans.modules.java.hints.introduce.Flow$VisitorImpl.scan(Flow.java:192)
Created attachment 108574 [details] stacktrace
Created attachment 108575 [details] stacktrace Forgot to comment the last one. This is happening pretty regularly. I'm entering java code building a debug string the line looks like info += ind + "field" when I put a plus at the end of that statment I get this exception.
Created attachment 108599 [details] stacktrace This seems to only occur with String concatenator + not aritmetic addition.
Updated Flow pushed into release701 branch: http://hg.netbeans.org/releases/rev/45663387d032 Fix in trunk: http://hg.netbeans.org/jet-main/rev/17eb4b1673fa Thanks for the report.
Integrated into 'main-golden', will be available in build *201105310954* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/17eb4b1673fa User: Jan Lahoda <jlahoda@netbeans.org> Log: #198975: preventing IllegalStateException.
Integrated into 'main-golden', will be available in build *201106010401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/17eb4b1673fa User: Jan Lahoda <jlahoda@netbeans.org> Log: #198975: preventing IllegalStateException.
Integrated into 'main-golden', will be available in build *201106021001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/17eb4b1673fa User: Jan Lahoda <jlahoda@netbeans.org> Log: #198975: preventing IllegalStateException.