XML DataSource [message #128670] |
Sat, 11 February 2006 07:41  |
Eclipse User |
|
|
|
Originally posted by: rui.gil.com
Hello,
I'm trying to integrate BIRT in a java application. I'm using a specified
xml file for instance data in the report designer and everything is fine,
but how can I specify the XML DataSource a runtime ? I would like to pass
the XML Data as a stream, is it possible ?
Rui Gil
|
|
|
|
|
|
|
Re: XML DataSource [message #131440 is a reply to message #129281] |
Thu, 16 February 2006 09:37  |
Eclipse User |
|
|
|
Originally posted by: rigel.inov.intranet
I've managed to trak down the NPE. It was a classloader issue, related to
bug #126073, but now the XML Data Stream doesn't work properly. If I have
more that one dataset it starts to give saxparser exceptions. I suspect
that this is a bug from the XMLDataInputStream trying to reopening the
stream over an over...
As anynone in BIRT come across this ?
Doug Porter wrote:
> Could you post the code you are using to call the report and indicate the
> line where it is blowing up?
>
> Doug Porter
> DailyAccess Corporation
>
> "Rui Gil" <rui.gil@inov.pt> wrote in message
> news:8bdc75e132b5b0bd33320123f202d4a0$1@www.eclipse.org...
>> Thanks for the answer. Apparently, this could work, but I've got some
>> strange error that I believe is happening before the actual rendering, in
>> the model parsing phase.
>>
>> The Engine is tryng to parse the model (the oda.xml extension) and booms
>> with an NPE ! Any idea why this could happen ?
>>
>> Id: java.lang.NullPointerException
>> Callstack:
>>
>>
org.eclipse.datatools.connectivity.oda.util.manifest.Manifes tExplorer. <clinit>()
>> line:47
>>
>> org.eclipse.birt.data.oda.util.manifest.DtpManifestExplorer. getInstance()
>> line:56
>>
>>
org.eclipse.birt.report.model.extension.oda.ODAManifestUtil. getDataSourceExtension()
>> line:42
>>
>>
org.eclipse.birt.report.model.parser.OdaDataSourceState.pars eODADataSourceExtensionID()
>> line:105
>>
>>
>> Rui Gil
>>
|
|
|
Powered by
FUDForum. Page generated in 0.03078 seconds