DECreateDynamicTable.java tutorial
Options
Hi Having a problem with the DECreateDynamicTable.java tutorial
I am getting this error.
java.lang.NullPointerException
at org.eclipse.birt.sample.reportitem.rotatedlabel.DECreateDynamicTable.buildDataSource(DECreateDynamicTable.java:67)
at org.eclipse.birt.sample.reportitem.rotatedlabel.DECreateDynamicTable.buildReport(DECreateDynamicTable.java:132)
at org.eclipse.birt.sample.reportitem.rotatedlabel.DECreateDynamicTable.main(DECreateDynamicTable.java:48)
I have checked that all the libraries are included in the build path
chartengineapi.jar
com.ibm.icu_3.4.4.1.jar
commons-cli-1.0.jar
commons-codec-1.3.jar
coreapi.jar
dataadapterapi.jar
dteapi.jar
engineapi.jar
flute.jar
js.jar
modelapi.jar
org.eclipse.emf.common_2.2.0.v200606051102.jar
org.eclipse.emf.ecore.xmi_2.2.0.v200606051102.jar
org.eclipse.emf.ecore_2.2.0.v200606051102.jar
sac.jar
scriptapi.jar
and that the oda-jdbc.jar is present in the drivers folder.
If I comment out the following two lines the report is created ok but obviously the data source and data set are missing from the report
buildDataSource();
buildDataSet(cols, fromClause);
It seams to be erroring at this point
dsHandle.setProperty( "odaDriverClass",
"org.eclipse.birt.report.data.oda.sampledb.Driver" );
any suggestiopns would be appreciated
I am getting this error.
java.lang.NullPointerException
at org.eclipse.birt.sample.reportitem.rotatedlabel.DECreateDynamicTable.buildDataSource(DECreateDynamicTable.java:67)
at org.eclipse.birt.sample.reportitem.rotatedlabel.DECreateDynamicTable.buildReport(DECreateDynamicTable.java:132)
at org.eclipse.birt.sample.reportitem.rotatedlabel.DECreateDynamicTable.main(DECreateDynamicTable.java:48)
I have checked that all the libraries are included in the build path
chartengineapi.jar
com.ibm.icu_3.4.4.1.jar
commons-cli-1.0.jar
commons-codec-1.3.jar
coreapi.jar
dataadapterapi.jar
dteapi.jar
engineapi.jar
flute.jar
js.jar
modelapi.jar
org.eclipse.emf.common_2.2.0.v200606051102.jar
org.eclipse.emf.ecore.xmi_2.2.0.v200606051102.jar
org.eclipse.emf.ecore_2.2.0.v200606051102.jar
sac.jar
scriptapi.jar
and that the oda-jdbc.jar is present in the drivers folder.
If I comment out the following two lines the report is created ok but obviously the data source and data set are missing from the report
buildDataSource();
buildDataSet(cols, fromClause);
It seams to be erroring at this point
dsHandle.setProperty( "odaDriverClass",
"org.eclipse.birt.report.data.oda.sampledb.Driver" );
any suggestiopns would be appreciated
0
Comments
Categories
- All Categories
- 109 Developer Announcements
- 49 Articles
- 100 General Questions
- 122 IM Services
- 40 OpenText Hackathon
- 31 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 897 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 123 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management