1. Error description
Compiling to file... d: \ Program Files (x86) \ workspaces \ report4.jasper compilation running time: 3,096! Filling report... locale: Chinese (China) Time Zone: defaulterror filling print... error evaluating expression: Source Text: Id net. SF. jasperreports. engine. fill. jrexpressionevalexception: error evaluating expression: Source Text: ID at net. SF. jasperreports. engine. fill. jrevaluator. evaluate (jrevaluator. java: 263) at net. SF. jasperreports. engine. fill. jrcalculator. evaluate (jrcalculator. java: 611) at net. SF. jasperreports. engine. fill. jrcalculator. evaluate (jrcalculator. java: 579) at net. SF. jasperreports. engine. fill. jrfillelement. evaluateexpression (jrfillelement. java: 1016) at net. SF. jasperreports. engine. fill. jrfilltextfield. evaluatetext (jrfilltextfield. java: 504) at net. SF. jasperreports. engine. fill. jrfilltextfield. evaluate (jrfilltextfield. java: 488) at net. SF. jasperreports. engine. fill. jrfillelementcontainer. evaluate (jrfillelementcontainer. java: 259) at net. SF. jasperreports. engine. fill. jrfillband. evaluate (jrfillband. java: 456) at net. SF. jasperreports. engine. fill. jrverticalfiller. fillbandnooverflow (jrverticalfiller. java: 467) at net. SF. jasperreports. engine. fill. jrverticalfiller. fillcolumnheader (jrverticalfiller. java: 512) at net. SF. jasperreports. engine. fill. jrverticalfiller. fillreportstart (jrverticalfiller. java: 294) at net. SF. jasperreports. engine. fill. jrverticalfiller. fillreport (jrverticalfiller. java: 152) at net. SF. jasperreports. engine. fill. jrbasefiller. fill (jrbasefiller. java: 963) at net. SF. jasperreports. engine. fill. jrbasefiller. fill (jrbasefiller. java: 873) at net. SF. jasperreports. engine. fill. jrfiller. fill (jrfiller. java: 87) at net. SF. jasperreports. engine. jasperfillmanager. fill (jasperfillmanager. java: 287) at net. SF. jasperreports. engine. jasperfillmanager. fillreport (jasperfillmanager. java: 760) at com. jaspersoft. ireport. designer. compiler. ireportcompiler. run (ireportcompiler. java: 891) at Org. openide. util. requestprocessor $ task. run (requestprocessor. java: 572) at Org. openide. util. requestprocessor $ processor. run (requestprocessor. java: 997) caused by: groovy. lang. missingpropertyexception: no such property: ID for class: report4_1445910598157_686313 at Org. codehaus. groovy. runtime. scriptbytecodeadapter. unwrap (scriptbytecodeadapter. java: 50) at Org. codehaus. groovy. runtime. callsite. getinclutivepogopropertysite. getproperty (getinclutivepogopropertysite. java: 86) at Org. codehaus. groovy. runtime. callsite. abstractcallsite. callpolicyobjectgetproperty (abstractcallsite. java: 231) at report4_1445910598157_686313.evaluate (calculator_report4_1445910598157_686313: 180) at net. SF. jasperreports. engine. fill. jrevaluator. evaluate (jrevaluator. java: 250 )... 19 more print not filled. try to use an emptydatasource...
2. Error cause
The error message shows that the attribute "ID" is not displayed, resulting in an error.
3. Solution
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.
Caused by: groovy. Lang. missingpropertyexception: no such property: ID for class