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 201103020001) VM: OpenJDK Client VM, 19.0-b09, OpenJDK Runtime Environment, 1.6.0_20-b20 OS: Linux User Comments: obalyuk: was typing html <img tag... Stacktrace: java.lang.NullPointerException at javax.swing.text.html.StyleSheet.getForeground(StyleSheet.java:896) at javax.swing.text.DefaultStyledDocument.getForeground(DefaultStyledDocument.java:777) at javax.swing.text.LabelView.setPropertiesFromAttributes(LabelView.java:146) at javax.swing.text.html.InlineView.setPropertiesFromAttributes(InlineView.java:306) at javax.swing.text.LabelView.sync(LabelView.java:56) at javax.swing.text.LabelView.getFont(LabelView.java:208)
Created attachment 107390 [details] stacktrace
Could you please be more specific? Did you type it in an html source? Could you please provide steps to reproduce? Thanks.
I'm unable to reproduce this problem. I was working on editing smarty file (without smarty plug-in), file with tpl extension. In my configs I have .tpl associated with .html File contains HTML sources with smarty {$variables}, which does not really matter... When I typed "<img src=", the error popped up (right after releasing "=").
Seems like a JDK problem
Unreproducible. Hard to report against JDK without additional information.
without additional information - v/c