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 bug was originally marked as duplicate of bug 219862, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 201304292301) VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11 OS: Linux User Comments: herent: Just editing a CSS file. Nearly every keystroke was throwing up this error. I was at the bottom of the file (18 lines long, not much there at all, no complicated selectors or nested brackets or anything) trying to type .sem-field-container It seems like these CSS errors show up when you are editing a line of css that is incorrect at that particular moment, so if you are missing a comma or have rules with commas but no brackets, then the error will show up. Honestly, if these errors are in the production release, I will have to find a different IDE. Most of what I do involves CSS. Stacktrace: java.lang.AssertionError at org.netbeans.modules.css.model.api.ModelUtils.findMatchingRule(ModelUtils.java:135) at org.netbeans.modules.css.visual.RuleEditorPanel$6.run(RuleEditorPanel.java:519) at org.netbeans.modules.css.model.api.Model$1.run(Model.java:273) at org.openide.util.Mutex.readAccess(Mutex.java:367) at org.netbeans.modules.css.model.api.Model.runReadTask(Model.java:270) at org.netbeans.modules.css.visual.RuleEditorPanel.setModel(RuleEditorPanel.java:515)
Created attachment 134238 [details] stacktrace
reproducible, see http://statistics.netbeans.org/exceptions/exception.do?id=670995
Created attachment 134241 [details] stacktrace I had this css file: root { display: block; } .eas-asda{ } .nic And I typed {} after ".nic"
>Honestly, if these errors are in the production release, I will have to find a >different IDE. Most of what I do involves CSS. This issue is caused by updating between dev builds which is not supported scenario. Will definitively not happen in production.
> This issue is caused by updating between dev builds which is not supported > scenario. Will definitively not happen in production. Oops, pls disregard this.
100% reproducible on Vlada's sample: 1) type the {} after the last rule, 2) and then delete it.
Created attachment 134907 [details] stacktrace paste into css editor with error
looks like fixed by web-main#00cca0ce8915 (issue 227751)