Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Developing Analytics Applications
NullPointer at referenced object with scripted Dataset
Migrateduser
<p>Hi,</p>
<p> </p>
<p>I have a problem with scripted Datasets.</p>
<p> </p>
<p>I created a report with a scripted dataset which should enter a method of a class and at the result I am getting a filled POJO out. This is all going well as long as I just work with local variables.</p>
<p> </p>
<p>My application uses Spring and Dependency injection and The class I am using is a one of the Spring beans.</p>
<p> </p>
<p>All attributes and services which should be filled and initialized are empty or null. </p>
<p>I think I have to give BIRT something like a proxy or classpath variable but I am not sure how this could work?</p>
<p>I also read something about giving the IRunTask Objet a scrptable Object (maybe with addScriptableJavaObject()-Method (which is deprecated!)) </p>
<p> </p>
<p>Can anybody give me a hint what is missing?</p>
<p> </p>
<p>Thanks </p>
<p>Simon</p>
Find more posts tagged with
Comments
There are no comments yet