Jump to content

Recommended Posts

Posted

I am trying to pass JRBeanCollectionDataSource as parameter to Jasper from a java application. I am getting below error. Is there a way around this ?

 

 

  JRBeanCollectionDataSource bcDataSource = new JRBeanCollectionDataSource(list);[/code]
parameterMap.put("REPORT_DATA_SOURCE", bcDataSource);         [/code]
 report = client.runReport(rDesc, parameterMap);[/code]

 

 

java.lang.Exception: 1 - java.lang.String incompatible with net.sf.jasperreports.engine.JRDataSource
at com.jaspersoft.ireport.jasperserver.ws.WSClient.runReport(WSClient.java:403)
 
 
 
 
  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...