Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8067638

net.sf.jasperreports.engine.JRException: Errors were encountered when compiling

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 8u25
    • core-libs
    • x86_64
    • windows_7

      FULL PRODUCT VERSION :
      jre 1.8_25

      A DESCRIPTION OF THE PROBLEM :
      net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:
      1. The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files
      /*
      ^

      java 7 compile jasperreports jrxml but java 8 not compile

      REGRESSION. Last worked in version 8u25

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      when compile report
      JasperReport jasperReport = JasperCompileManager
      .compileReport(jasperDesign);



      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:
      1. The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files
      /*
      ^
      1 errors

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:
      1. The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files
      /*
      ^
      1 errors

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      JasperReport jasperReport = JasperCompileManager
      .compileReport(jasperDesign);
      ---------- END SOURCE ----------

      SUPPORT :
      YES

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: