Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » scripted datasource fetch metod exception(Please help me in that)
scripted datasource fetch metod exception [message #1768141] Fri, 14 July 2017 04:05 Go to next message
bhagavan reddy is currently offline bhagavan reddyFriend
Messages: 5
Registered: June 2017
Junior Member
Hi i am new to birt i tried but fecth method returns null values

in java class i return List<JSONObjects>

open method

var myDataSet ;
myDataSet=new JsonParse();
var myData ;
myData= myDataSet.getJsonArray();
myIterator = myData.iterator();

fetch method
var node ;

row["Requirement"] =node.getString("Requirement");
row["Description"] = node.getString("Description");
row["Remarks"] = node.getString("Remarks");
row["WhocanSign"] = node.getString("WhocanSign");
row["Format"] = node.getString("Format");
row["Source"] =node.getString("Source");
row["Required"] = node.getString("Required");
row["UsedforBranch"] = node.getString("UsedforBranch");

return true;

else return false

close method
myDataSet = null;
myArrayList = null;
myIterator = null;
node = null;
my dataset preview result are empty
in my design the given below exception occures

- Data Set script method "Fetch" returned null; expected a Boolean value. at at at at at$ScriptDSQueryExecutor
$CustomDataSet.fetch( at at at at at at at at at at at<init>( at
132) at at
Re: scripted datasource fetch metod exception [message #1784519 is a reply to message #1768141] Wed, 28 March 2018 21:19 Go to previous message
Fullar Senjit is currently offline Fullar SenjitFriend
Messages: 4
Registered: March 2018
Junior Member
Hello.. did you get the solution ? i am getting the same error.
Previous Topic:BIRT 4.7 Designed in Ecllipse
Next Topic:Color chart series based on another series value
Goto Forum:

Current Time: Tue Feb 25 16:40:01 GMT 2020

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

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

Back to the top