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 110301-b86a0857e6ec) VM: Java HotSpot(TM) Client VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07 OS: Linux User Comments: GUEST: Entered Math.signum() GUEST: Entered "import java.lang.Math.*;" GUEST: Creating a simple application with struts / spring integration. Went to project properties to verify the spring framework version and the libraries. Did that a few times and on clicking ok, I got this. GUEST: I was just editing a source file. GUEST: Entering simple java code. This fixed a flagged error and was thrown when error was unmarked? Stacktrace: java.lang.ClassCastException: java.awt.Color cannot be cast to java.lang.Boolean at org.netbeans.modules.editor.lib2.view.HighlightsViewUtils.strikeThrough(HighlightsViewUtils.java:195) at org.netbeans.modules.editor.lib2.view.HighlightsViewUtils.findAffectedLayoutIndex(HighlightsViewUtils.java:138) at org.netbeans.modules.editor.lib2.view.EditorBoxViewChildren.setVisualIndexAndOffset(EditorBoxViewChildren.java:216) at org.netbeans.modules.editor.lib2.view.EditorBoxViewChildren.replace(EditorBoxViewChildren.java:133) at org.netbeans.modules.editor.lib2.view.EditorBoxView.replace(EditorBoxView.java:289) at org.netbeans.modules.editor.lib2.view.ViewReplace.replaceViews(ViewReplace.java:132)
Created attachment 106606 [details] stacktrace
This is fixed by checking both for Boolean and Color by issue 197534. *** This bug has been marked as a duplicate of bug 197534 ***