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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

You can also get this error if the objects you're passing to the method are out of order. In other words say your method takes, in order, a string, an integer, and a date. If you pass a date, then a string, then an integer you will get this error.

Solutions on the web

via Stack Overflow by sharipha
, 9 months ago
Error evaluating expression : Source text : $P{REPORT_DATA_SOURCE}.subDataSource("/person/phone")
via Stack Overflow by Arasu
, 1 year ago
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")
via Stack Overflow by siva
, 2 years ago
Error evaluating expression : Source text : $F{someGroupVariable}
via Stack Overflow by ankit12
, 2 years ago
Error evaluating expression : Source text : $F{COLUMN_7}
via Stack Overflow by csabee
, 1 year ago
Error evaluating expression : Source text : CONCATENATE($V{startString}, " - ", $V{endString})
via Stack Overflow by Pollux
, 2 years ago
Error evaluating expression : Source text : groovy.sql.Sql.newInstance("jdbc:oracle:thin:@ip:1521:XE", "user", "pw", "oracle.jdbc.driver.OracleDriver")
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 undefined.TestParam_1362739351228_895383.evaluate(calculator_TestParam_1362739351228_895383:223)

Users with the same issue

Once, 3 weeks ago
Once, 3 weeks ago
Once, 3 months ago
Once, 4 months ago
Once, 5 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.