net.sf.jasperreports.engine.fill.JRExpressionEvalException: Error evaluating expression : Source text : $P{REPORT_DATA_SOURCE}.subDataSource("/person/phone")


Solutions on the web

Solution icon of stackoverflow
Error evaluating expression : Source text : $P{REPORT_DATA_SOURCE}.subDataSource("/person/phone")

Solution icon of stackoverflow
Error evaluating expression : Source text : ((net.sf.jasperreports.engine.data.JsonDataSource)((net.sf.jasperreports.engine.data.JsonDataSource)$P{REPORT_DATA_SOURCE}).subDataSource("MaintLogResource")).subDataSource("MaintLogResource")

Solution icon of stackoverflow
Error evaluating expression for source text: ((net.sf.jasperreports.engine.data.JsonDataSource)$P{REPORT_DATA_SOURCE}).subDataSource()

Solution icon of web
via jaspersoft.com by Unknown author, 1 year ago
Error evaluating expression : Source text : ((nextplan.reporting.jasperreports.plugin.NPCustomDataSource)$P{REPORT_DATA_SOURCE})

Solution icon of stackoverflow
Error evaluating expression for source text: ((net.sf.jasperreports.engine.data.JsonDataSource)$P{REP_DS}).subDataSource("json.Peoples")

Solution icon of stackoverflow
Error evaluating expression : Source text : $P{IMAGE}

Solution icon of web
Error evaluating expression : Source text : (((JRDataSourceScriptlet)$P{REPORT_SCRIPTLET}).getField("designation"))

Solution icon of stackoverflow
Error evaluating expression : Source text : JRImageLoader.loadImage($P{firma}.getImagen())

Solution icon of stackoverflow
Error evaluating expression for source text: $P{Read_DocFile_SCRIPTLET}.readline()

Solution icon of web
via commentcamarche.net by Unknown author, 1 year ago
Error evaluating expression : Source text :

Stack trace

net.sf.jasperreports.engine.fill.JRExpressionEvalException: Error evaluating expression :  

    Source text : $P{REPORT_DATA_SOURCE}.subDataSource("/person/phone")
	at net.sf.jasperreports.engine.fill.JREvaluator.evaluate(JREvaluator.java:203)
	at net.sf.jasperreports.engine.fill.JRCalculator.evaluate(JRCalculator.java:591)
	at net.sf.jasperreports.engine.fill.JRCalculator.evaluate(JRCalculator.java:559)
	at net.sf.jasperreports.engine.fill.JRFillElement.evaluateExpression(JRFillElement.java:966)
	at net.sf.jasperreports.engine.fill.JRFillSubreport.evaluateSubreport(JRFillSubreport.java:384)
	at net.sf.jasperreports.engine.fill.JRFillSubreport.evaluate(JRFillSubreport.java:286)
	at net.sf.jasperreports.engine.fill.JRFillElementContainer.evaluate(JRFillElementContainer.java:259)
	at net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:459)
	at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:2044)
	at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:778)
	at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:288)
	at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:151)
	at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:909)
	at net.sf.jasperreports.engine.fill.JRFiller.fill(JRFiller.java:126)
	at net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:464)
	at net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:300)
	at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:757)
	at com.jaspersoft.ireport.designer.compiler.IReportCompiler.run(IReportCompiler.java:1003)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
Caused by: groovy.lang.MissingMethodException: No signature of method: net.sf.jasperreports.engine.fill.SortedDataSource.subDataSource() 
is applicable for argument types: (java.lang.String) values: [/person/phone]
	at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:54)
	at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:46)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124)
	at TestParam_1362739351228_895383.evaluate(calculator_TestParam_1362739351228_895383:223)
	at net.sf.jasperreports.engine.fill.JREvaluator.evaluate(JREvaluator.java:190)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Once, 1 month ago
Once, 3 months ago
Once, 3 months ago
Once, 7 months ago
Once, 9 months ago
33 more bugmates