akashraja / jsyntaxpane

Automatically exported from code.google.com/p/jsyntaxpane
0 stars 0 forks source link

NPE when the ruler is installed before the scrollPane #191

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

JEditorPane editor = new JEditorPane("text/html","");
JScrollPane sp = new JScrollPane(editor);

What is the expected output? What do you see instead?
It should not raise an exception, obviously.

What version of the product are you using? On what operating system?
9.6-r156, with the debian patches applied.
http://patch-tracker.debian.org/package/libjsyntaxpane-java/

A patch fixing this issue is attached to this report.

Original issue reported on code.google.com by martin.q...@ens-rennes.fr on 27 Aug 2013 at 9:24

Attachments: