net.sf.jasperreports.engine.JRException: net.sf.jasperreports.engine.fill.JRExpressionEvalException: Error evaluating expression : Source text : $F{globalAngaben}.getPruefberichtnr()

Stack Overflow | Davinger | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Problems using Jasper-Report in Eclipse NoClassDefFoundError

    Stack Overflow | 2 years ago | Davinger
    net.sf.jasperreports.engine.JRException: net.sf.jasperreports.engine.fill.JRExpressionEvalException: Error evaluating expression : Source text : $F{globalAngaben}.getPruefberichtnr()

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.systech.ge.client.dao.GlobalAngaben cannot be cast to com.systech.ge.client.dao.GlobalAngaben

      at Gerentform_A4_1425317364309_973729.evaluate()
    2. Unknown
      Gerentform_A4_1425317364309_973729.evaluate
      1. Gerentform_A4_1425317364309_973729.evaluate(Gerentform_A4_1425317364309_973729:215)
      1 frame
    3. JasperReports
      BaseFillHandle$ReportFiller.run
      1. net.sf.jasperreports.engine.fill.JREvaluator.evaluate(JREvaluator.java:250)
      2. net.sf.jasperreports.engine.fill.JRCalculator.evaluate(JRCalculator.java:611)
      3. net.sf.jasperreports.engine.fill.JRCalculator.evaluate(JRCalculator.java:579)
      4. net.sf.jasperreports.engine.fill.JRFillElement.evaluateExpression(JRFillElement.java:1016)
      5. net.sf.jasperreports.engine.fill.JRFillTextField.evaluateText(JRFillTextField.java:504)
      6. net.sf.jasperreports.engine.fill.JRFillTextField.evaluate(JRFillTextField.java:488)
      7. net.sf.jasperreports.engine.fill.JRFillElementContainer.evaluate(JRFillElementContainer.java:259)
      8. net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:456)
      9. net.sf.jasperreports.engine.fill.JRVerticalFiller.fillTitle(JRVerticalFiller.java:354)
      10. net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:290)
      11. net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:152)
      12. net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:963)
      13. net.sf.jasperreports.engine.fill.BaseFillHandle$ReportFiller.run(BaseFillHandle.java:120)
      13 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame