Caused by: groovy. Lang. missingpropertyexception: no such property: ID for class

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.