Announcement Announcement Module
Collapse
No announcement yet.
Error 500: net.sf.jasperreports.engine.JRException: Error retrieving field value from Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error 500: net.sf.jasperreports.engine.JRException: Error retrieving field value from

    Hi,
    I am trying generate reports using Jasper Plugin.
    In my dynamicJasper.groovy file, if I use below code I am able get the report

    Trip.findAll('from Trip as s where s.name = ? order by name', [params.name])

    But when I try to use below executeQuery method I am getting below error message.

    Trip.executeQuery(' select s.name from Trip as s where s.name = ? order by name', [params.name])

    the error details are
    Error 500: net.sf.jasperreports.engine.JRException: Error retrieving field value from bean : id
    Servlet: grails
    URI: /planner/grails/djReport.dispatch
    Exception Message: Unknown property 'id'
    Caused by: net.sf.jasperreports.engine.JRException: Error retrieving field value from bean : id
    Class: DjReportController
    At Line: [35]
    Code Snippet:

    Please help me to resolve this issue.

    thanks,
    Prasad
Working...
X