removeDomainMarker is not working

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
sesar
Posts: 12
Joined: Fri Jul 13, 2007 10:57 am

removeDomainMarker is not working

Post by sesar » Mon Apr 07, 2008 9:50 am

I use jfreechart 1.0.8 and removeDomainMarker is not working.

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at org.jfree.chart.plot.XYPlot.removeRangeMarker(XYPlot.java:2444)
at org.jfree.chart.plot.XYPlot.removeRangeMarker(XYPlot.java:2414)

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Mon Apr 07, 2008 2:01 pm

I looked at the code, but couldn't figure out a way to reproduce the NullPointerException. Can you post a small self-contained demo showing the problem? Or, even better, a JUnit test?
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Mon Apr 07, 2008 2:38 pm

Oh, I see the bug now. I'll fix this for 1.0.10.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked