I got an error in Reporting with Eclipse BIRT and Java Objects (POJO's) - Tutorial

779 views
Skip to first unread message

Tith Sochinda

unread,
Feb 16, 2012, 10:14:43 PM2/16/12
to vog...@googlegroups.com
Hi Lars Vogel,

and I've got error like this: 

A BIRT exception occurred. See next exception for more information.

Error evaluating Javascript expression. Script engine error: ReferenceError: "stock" is not defined. (/report/data-sets/script-data-set[@id="8"]/method[@name="fetch"]#1)

 Script source: /report/data-sets/script-data-set[@id="8"]/method[@name="fetch"], line: 0, text:

__bm_FETCH(). (Element ID:1)

+ Data Set script method "Fetch" returned null; expected a Boolean value. (Element ID:1)


I have follow all what you wrote in your article but in the step 5: Check if your Script works by doubleclicking on the dataset -> Preview Result.

I don't see any data in preview result, please tell me how can I do?


Thanks in advanced

I'm looking for your reply.

Lars Vogel

unread,
Feb 20, 2012, 1:31:52 AM2/20/12
to vog...@googlegroups.com
Hi,

I'm currently not actively using BIRT, at the time of writing the tutorial the approach worked fine. Maybe you check on the BIRT Eclipse Forum for a solution?

Best regards, Lars

2012/2/17 Tith Sochinda <soch...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "vogella" group.
To post to this group, send email to vog...@googlegroups.com.
To unsubscribe from this group, send email to vogella+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/vogella?hl=en.



--
Lars
http://www.vogella.de - Eclipse, Android and Java Tutorials
http://www.twitter.com/vogella - Lars on Twitter
Reply all
Reply to author
Forward
0 new messages