upgrading 9.20 to 9.21 exception

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
dpop
Posts: 20
Joined: Thu Jun 03, 2004 4:05 pm
Contact:

upgrading 9.20 to 9.21 exception

Post by dpop » Tue Nov 30, 2004 1:26 pm

hi
I just upgraded the jfreechart library from .20 to 21. the package naming changes were not a problem, but when I try to see one of my charts i get this exception:

java.lang.NoSuchMethodError: org.jfree.text.TextUtilities.drawAlignedString(Ljava/lang/String;Ljava/awt/Graphics2D;FFLorg/jfree/ui/TextAnchor;)Ljava/awt/geom/Rectangle2D;
at org.jfree.chart.StandardLegend.drawSeriesElements(StandardLegend.java:1035)
at org.jfree.chart.StandardLegend.draw(StandardLegend.java:870)
at org.jfree.chart.StandardLegend.draw(StandardLegend.java:690)
at org.jfree.chart.JFreeChart.draw(JFreeChart.java:896)
at org.jfree.chart.JFreeChart.draw(JFreeChart.java:804)
.......................

thanks

angel
Posts: 899
Joined: Thu Jan 15, 2004 12:07 am
Location: Germany - Palatinate

Post by angel » Tue Nov 30, 2004 1:40 pm

Do you have also upgraded jcommon to 0.9.6?

dpop
Posts: 20
Joined: Thu Jun 03, 2004 4:05 pm
Contact:

oops

Post by dpop » Tue Nov 30, 2004 1:51 pm

i don't think i did... :oops: i'll try that,
thx

Locked