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.
This issue was originally marked as duplicate of issue 160614, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related. Build: NetBeans IDE Dev (Build 200906081401) VM: Java HotSpot(TM) Client VM, 16.0-b03, Java(TM) SE Runtime Environment, 1.7.0-ea-b59 OS: Windows NT, 4.0, x86 User Comments: mps77: select string expression under debug with + operand:) message="�n most meg�llok" method("XXX" + message); ^^^^^^^ //selected + message Stacktrace: java.lang.IllegalStateException: Bad expression type: "�n most meg�llok" at org.netbeans.modules.debugger.jpda.expr.EvaluatorVisitor.visitUnary(EvaluatorVisitor.java:2833) at org.netbeans.modules.debugger.jpda.expr.EvaluatorVisitor.visitUnary(EvaluatorVisitor.java:182) at com.sun.tools.javac.tree.JCTree$JCUnary.accept(JCTree.java:1513) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:49) at org.netbeans.modules.debugger.jpda.expr.EvaluatorVisitor.scan(EvaluatorVisitor.java:218) at org.netbeans.modules.debugger.jpda.expr.EvaluatorVisitor.scan(EvaluatorVisitor.java:182)
Created attachment 83563 [details] stacktrace
Reproduced.
Fixed in changeset: 135202:df16ef01bb0c http://hg.netbeans.org/main/rev/df16ef01bb0c
Integrated into 'main-golden', will be available in build *200906170201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/df16ef01bb0c User: mentlicher@netbeans.org Log: #167069 - Handle invalid unary operators in a better way.
Verified in trunk build (200906220201) Is this fix safe to go to 67patch? (Will mark as verified once integrated in 67patch)
Yes, I believe that this fix is safe enough for 67patch.
Marking as verified, so this can go to 67patch.
The fix has been ported into the release67_fixes repository. http://hg.netbeans.org/release67_fixes/rev/eb997d86d2f9