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 20110728-8102e293bc4b) VM: Java HotSpot(TM) 64-Bit Server VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05 OS: Linux User Comments: marfous: pasted some classname into .css file Stacktrace: java.lang.NullPointerException at org.netbeans.modules.css.lib.api.model.Rule.getRuleCloseBracketOffset(Rule.java:108) at org.netbeans.modules.css.lib.api.model.Stylesheet.ruleForOffset(Stylesheet.java:153) at org.netbeans.modules.css.editor.CssEditorSupport.updateSelectedRule(CssEditorSupport.java:242) at org.netbeans.modules.css.editor.CssEditorSupport.access$600(CssEditorSupport.java:77) at org.netbeans.modules.css.editor.CssEditorSupport$2.run(CssEditorSupport.java:204) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
Created attachment 109675 [details] stacktrace
Really annoying - cannot write anything to the .css file.
fixed in web-main#9d06a9494ab2
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/9d06a9494ab2 User: Marek Fukala <mfukala@netbeans.org> Log: #200473 - NullPointerException at org.netbeans.modules.css.lib.api.model.Rule.getRuleCloseBracketOffset
verified - no problems with pasting classnames or css code into css file
*** Bug 200930 has been marked as a duplicate of this bug. ***