| java.lang.NullPointerException,	at org.eclipse.birt.chart.factory.Generator.getRowExpressions [message #338452] | 
Thu, 24 January 2008 10:19  | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: Salvatore.Contu.gmail.com 
 
Hi all, 
 
I'm trying to create a chart programmatically, and like test I've copied 
a method in org.eclipse.birt.chart.examples_2.1.1.v20070705-1847. My 
Datasets are this: 
 
TextDataSet categoryValues = TextDataSetImpl.create( new String[]{ 
				"March", "April", "May", "June", "July"} ); 
		 
NumberDataSet orthoValues1 = NumberDataSetImpl.create( new double[]{ 
				12.5, 19.6, 18.3, 13.2, 26.5 
		} ); 
 
 
When Birt executes my class it always throws this exception: 
 
java.lang.NullPointerException,	at 
org.eclipse.birt.chart.factory.Generator.getRowExpressions 
 
Any idea ? 
 
Thanks, 
Salvatore 
 
 
p.s: I am depressed for all these problems to create a very stupid and 
trivial chart.
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.99471 seconds