Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-1374

CLI with old version of Java reports "unexpected exception"

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocking Blocking
    • 2.0.0
    • 2.0.0
    • None
    • None

      When running a CLI test with Java 7, I was expecting an error but not the unexpected exception message.

      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
      !!   An unexpected exception occurred. This is a bug!   !!
      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
       
       Please report this bug and help us fix it:
       
        https://opensource.ncsa.illinois.edu/confluence/display/DFDL/How+to+Report+a+Bug
       
       Please include the following exception, the command you
       ran, and any input, schema, or tdml files used that led
       to this bug.
       
      Schema Definition Error: You must run Java 8 (1.8) or higher. You are currently running 1.7.0_45
      Schema context: element.e1. Location line 49 column 4 in file:/home/efinnegan/Projects/daffodil/daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section00/general/generalSchema.dfdl.xsd.
      	at edu.illinois.ncsa.daffodil.dsom.ImplementsThrowsSDE$class.SDE(SDE.scala:228)
      	at edu.illinois.ncsa.daffodil.processors.TermRuntimeData.SDE(RuntimeData.scala:70)
      	at edu.illinois.ncsa.daffodil.processors.SchemaSetRuntimeData.SDE(SchemaSetRuntimeData.scala:52)
      	at edu.illinois.ncsa.daffodil.util.CheckJavaVersion$.checkJavaVersion(CheckJavaVersion.scala:43)

              efinnegan Elizabeth Finnegan
              efinnegan Elizabeth Finnegan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: