Skip to main content



      Home
Home » Archived » BIRT » Opening xml based reports generated with Runtime engine 2.1.2 in web servlet of version 2.2. m6
Opening xml based reports generated with Runtime engine 2.1.2 in web servlet of version 2.2. m6 [message #239187] Tue, 22 May 2007 06:23 Go to next message
Eclipse UserFriend
Originally posted by: Arthur1968.gmail.com

When I open an xml based report generated with Runtime engine 2.1.2 in the
web servlet of version 2.2. m6 it cannot render the output.
I get this error:

org.eclipse.birt.data.engine.core.DataException: Column binding "field100"
has referred to a data set column "field100" which is not exist.

The report renders fine in the 2.1 servlet.

I create the dataset with:

DataSetHandle datasetHandle = null;
datasetHandle = mElementFactory.newOdaDataSet( "DataSet",
"org.eclipse.birt.report.data.oda.xml.dataSet" );
datasetHandle.setDataSource( "DataSource" );
mReportDesignHandle.getDataSets( ).add( datasetHandle );
return datasetHandle;

and the datasource with:

mDataSourceHandle = mElementFactory.newOdaDataSource("DataSource",
"org.eclipse.birt.report.data.oda.xml");
mDataSourceHandle.setProperty("FILELIST", sDataSource);
mReportDesignHandle.getDataSources( ).add( mDataSourceHandle );

Any hints or people with the same issue?

Thanks in advance

Ron
Re: Opening xml based reports generated with Runtime engine 2.1.2 in web servlet of version 2.2. m6 [message #239437 is a reply to message #239187] Tue, 22 May 2007 16:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

This looks like a binding issue.
Can you post the completed rptdesign?

Jason

Arthur wrote:
> When I open an xml based report generated with Runtime engine 2.1.2 in the
> web servlet of version 2.2. m6 it cannot render the output.
> I get this error:
>
> org.eclipse.birt.data.engine.core.DataException: Column binding "field100"
> has referred to a data set column "field100" which is not exist.
>
> The report renders fine in the 2.1 servlet.
>
> I create the dataset with:
>
> DataSetHandle datasetHandle = null;
> datasetHandle = mElementFactory.newOdaDataSet( "DataSet",
> "org.eclipse.birt.report.data.oda.xml.dataSet" );
> datasetHandle.setDataSource( "DataSource" );
> mReportDesignHandle.getDataSets( ).add( datasetHandle );
> return datasetHandle;
>
> and the datasource with:
>
> mDataSourceHandle = mElementFactory.newOdaDataSource("DataSource",
> "org.eclipse.birt.report.data.oda.xml");
> mDataSourceHandle.setProperty("FILELIST", sDataSource);
> mReportDesignHandle.getDataSources( ).add( mDataSourceHandle );
>
> Any hints or people with the same issue?
>
> Thanks in advance
>
> Ron
>
>
>
>
Re: Opening xml based reports generated with Runtime engine 2.1.2 in web servlet of version 2.2. m6 [message #239451 is a reply to message #239187] Tue, 22 May 2007 16:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: xxxx.xxx.com

Is you dataset built with temporary tables?
Re: Opening xml based reports generated with Runtime engine 2.1.2 in web servlet of version 2.2. m6 [message #239579 is a reply to message #239451] Wed, 23 May 2007 09:47 Go to previous message
Eclipse UserFriend
Originally posted by: Arthur1968.gmail.com

No, this is just one xml file and Birt retrieves the data with XPATH.

Ron

"Birt Guy" <xxxx@xxx.com> wrote in message
news:0731a07e75cc18805d81e58546bd7b81$1@www.eclipse.org...
> Is you dataset built with temporary tables?
>
Previous Topic:secured xml data source ...
Next Topic:Errors starting BIRT Runtime Engine
Goto Forum:
  


Current Time: Wed Jul 23 04:39:44 EDT 2025

Powered by FUDForum. Page generated in 0.07556 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top