<p>Hello,</p>
<p> </p>
<p>I have a problem to join two Data Sets in birt when data source is xml.</p>
<p> </p>
<p> </p>
<p>I get this error:</p>
<p> </p>
<div>A BIRT exception occurred.</div>
<div> Plug-in Provider:Eclipse BIRT Project</div>
<div> Plug-in Name:BIRT Data Engine</div>
<div> Plug-in ID:org.eclipse.birt.data</div>
<div> Version:4.4.0.v201405191524</div>
<div> Error Code:data.engine.FailToExecuteScript</div>
<div> Error Message:Fail to execute script in function __bm_beforeOpen(). Source:</div>
<div>
</div>
<div>" + importPackage( Packages.java.io );</div>
<div>base = new ByteArrayInputStream(reportContext.getHttpServletRequest().getAttribute("BASE_ITEM").getBytes("UTF-8"));</div>
<div>reportContext.getAppContext().put("org.eclipse.datatools.enablement.oda.xml.inputStream", base); + "</div>
<div>
</div>
<div>A BIRT exception occurred. See next exception for more information.</div>
<div>TypeError: Cannot call method "getAttribute" of null (/report/data-sources/oda-data-source[
@id="751"]/method[
@name="beforeOpen"]#2)</div>
<div> </div>
<div> </div>
<div>Maybe there is another solution to get data from different Data Sets in the Table?</div>
<div> </div>