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

Multithreaded runner: ExpressionException: State not bound for use by DFDL expression functions

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • s13
    • s13
    • Back End
    • None

      This exception was first seen in DFDL-924. Please see that ticket for associated files

      [dfdl] (multi-thread_perf_cli)$ ./daffodil-cli/target/start performance -s ../ngf-dfdl/daffodil-perf/src/test/resources/edu/illinois/ncsa/daffodil/csvMixedNarrow/csvMixedNarrow.dfdl.xsd -N 5 ../ngf-dfdl/daffodil-perf/src/test/resources/edu/illinois/ncsa/daffodil/csvMixedNarrow/test.txt 
      --------------------
      --------------------
      5: byte array: [B@4f983433
      5: newArr: Krakens,361-79-9964,w.Krakens9597@gmail.com,http://www.Krakens.com/,1944-07-20,301,blue
       
      --------------------
      --------------------
      4: byte array: [B@7cef859d
      --------------------
      --------------------
      2: byte array: [B@7aa49be5
      2: newArr: Krakens,361-79-9964,w.Krakens9597@gmail.com,http://www.Krakens.com/,1944-07-20,301,blue
       
      --------------------
      3: byte array: [B@21a954f8
      3: newArr: Krakens,361-79-9964,w.Krakens9597@gmail.com,http://www.Krakens.com/,1944-07-20,301,blue
       
      --------------------
      4: newArr: Krakens,361-79-9964,w.Krakens9597@gmail.com,http://www.Krakens.com/,1944-07-20,301,blue
       
      --------------------
      1: byte array: [B@5d474abb
      1: newArr: Krakens,361-79-9964,w.Krakens9597@gmail.com,http://www.Krakens.com/,1944-07-20,301,blue
       
      --------------------
      [error] Parse Error: Expression evaluation failed. Details: javax.xml.xpath.XPathExpressionException: State not bound for use by DFDL expression functions.
      Schema context: element.website Location line 54 column 42 in file:/home/jchab/NGF/dfdl/../ngf-dfdl/daffodil-perf/src/test/resources/edu/illinois/ncsa/daffodil/csvMixedNarrow/csvMixedNarrow.dfdl.xsd(no data location)
      [error] Parse Error: Expression evaluation failed. Details: javax.xml.xpath.XPathExpressionException: State not bound for use by DFDL expression functions.
      Schema context: element.website Location line 54 column 42 in file:/home/jchab/NGF/dfdl/../ngf-dfdl/daffodil-perf/src/test/resources/edu/illinois/ncsa/daffodil/csvMixedNarrow/csvMixedNarrow.dfdl.xsd(no data location)
      <ex:file xmlns:ex="http://www.example.org/example1/">
        <ex:record>
          <ex:last>Krakens</ex:last>
          <ex:ssn>361-79-9964</ex:ssn>
          <ex:email>w.Krakens9597@gmail.com</ex:email>
          <ex:website>http://www.Krakens.com/</ex:website>
          <ex:DOB>1944-07-20+00:00</ex:DOB>
          <ex:weight>301</ex:weight>
          <ex:eyeColor>blue</ex:eyeColor>
        </ex:record>
      </ex:file>
      <ex:file xmlns:ex="http://www.example.org/example1/">
        <ex:record>
          <ex:last>Krakens</ex:last>
          <ex:ssn>361-79-9964</ex:ssn>
          <ex:email>w.Krakens9597@gmail.com</ex:email>
          <ex:website>http://www.Krakens.com/</ex:website>
          <ex:DOB>1944-07-20+00:00</ex:DOB>
          <ex:weight>301</ex:weight>
          <ex:eyeColor>blue</ex:eyeColor>
        </ex:record>
      </ex:file>
      <ex:file xmlns:ex="http://www.example.org/example1/">
        <ex:record>
          <ex:last>Krakens</ex:last>
          <ex:ssn>361-79-9964</ex:ssn>
          <ex:email>w.Krakens9597@gmail.com</ex:email>
          <ex:website>http://www.Krakens.com/</ex:website>
          <ex:DOB>1944-07-20+00:00</ex:DOB>
          <ex:weight>301</ex:weight>
          <ex:eyeColor>blue</ex:eyeColor>
        </ex:record>
      </ex:file>

              jchab Jessie Chab
              jchab Jessie Chab
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 3 minutes
                  3m