Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-2276

Get java.lang.ClassCastException on nightly nitf unparse test

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.0
    • 2.6.0
    • Unparsing
    • None
    • The nightly performance test platform.

    Description

      The nitf_1t_5k_20000_unparse and nitf_10t_5k_15000_unparse tests fail with the following exception. The 1m nitf unparsed tests pass!

       

      Exception:

      Wed Jan 29 08:03:14 2020: (1) Error running test nitf_1t_5k_20000_unparse (1 of 10)

      Wed Jan 29 08:03:14 2020: Output is: u'bash: no job control in this shell\n', u'\n', u'!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n', u'!!   An unexpected exception occurred. This is a bug!   !!\n', u'!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n', u'\n', u' Please report this bug and help us fix it:\n', u'\n', u' [https://daffodil.apache.org/community/#issue-tracker\n]', u'\n', u' Please include the following exception, the command you\n', u' ran, and any input, schema, or tdml files used that led\n', u' to this bug.\n', u'\n', u'\n', u'java.lang.ClassCastException: java.lang.Long cannot be cast to java.math.BigInteger\n', u'\tat org.apache.daffodil.infoset.DataValue$.getBigInt$extension(DataValue.scala:91)\n', u'\tat org.apache.daffodil.dpath.UnsignedLongToLong$.computeValue(ConverterOps3.scala:83)\n', u'\tat org.apache.daffodil.dpath.UnsignedLongToLong$.computeValue(ConverterOps3.scala:81)\n', u'\tat org.apache.daffodil.dpath.Converter.run(DPathRuntime.scala:293)\n', u'\tat org.apache.daffodil.dpath.CompiledDPath.run(DPathRuntime.scala:139)\n', u'\tat org.apache.daffodil.dpath.CompiledDPath.runExpression(DPathRuntime.scala:71)\n', u'\tat org.apache.daffodil.dpath.RuntimeExpressionDPath.evaluateExpression(DPath.scala:241)\n', u'\tat org.apache.daffodil.dpath.RuntimeExpressionDPath.evaluateMaybe(DPath.scala:256)\n', u'\tat org.apache.daffodil.dpath.RuntimeExpressionDPath.evaluate(DPath.scala:269)\n', u'\tat org.apache.daffodil.processors.ExprEvalMixin.eval(Evaluatable.scala:434)\n', u'\tat org.apache.daffodil.processors.ExprEvalMixin.eval$(Evaluatable.scala:418)\n', u'\tat org.apache.daffodil.processors.EvaluatableExpression.eval(Evaluatable.scala:459)\n', u'\tat org.apache.daffodil.processors.EvaluatableExpression.compute(Evaluatable.scala:469)\n', u'\tat org.apache.daffodil.processors.ExplicitLengthEv.compute(EvElement.scala:63)\n', u'\tat org.apache.daffodil.processors.ExplicitLengthEv.compute(EvElement.scala:45)\n', u'\tat org.apache.daffodil.processors.InfosetCachedEvaluatable.getCachedOrComputeAndCache(Evaluatable.scala:91)\n', u'\tat org.apache.daffodil.processors.InfosetCachedEvaluatable.getCachedOrComputeAndCache$(Evaluatable.scala:69)\n', u'\tat org.apache.daffodil.processors.ExplicitLengthEv.getCachedOrComputeAndCache(EvElement.scala:45)\n', u'\tat org.apache.daffodil.processors.Evaluatable.evaluate(Evaluatable.scala:277)\n', u'\tat org.apache.daffodil.processors.LengthInBitsEv.lengthInLengthUnits(EvElement.scala:179)\n', u'\tat org.apache.daffodil.processors.LengthInBitsEvBase.compute(EvElement.scala:139)\n', u'\tat org.apache.daffodil.processors.LengthInBitsEvBase.compute(EvElement.scala:128)\n', u'\tat org.apache.daffodil.processors.InfosetCachedEvaluatable.getCachedOrComputeAndCache(Evaluatable.scala:91)\n', u'\tat org.apache.daffodil.processors.InfosetCachedEvaluatable.getCachedOrComputeAndCache$(Evaluatable.scala:69)\n', u'\tat org.apache.daffodil.processors.LengthInBitsEvBase.getCachedOrComputeAndCache(EvElement.scala:128)\n', u'\tat org.apache.daffodil.processors.Evaluatable.evaluate(Evaluatable.scala:277)\n', u'\tat org.apache.daffodil.processors.UnparseTargetLengthInBitsEv.compute(EvElement.scala:234)\n', u'\tat org.apache.daffodil.processors.UnparseTargetLengthInBitsEv.compute(EvElement.scala:213)\n', u'\tat org.apache.daffodil.processors.InfosetCachedEvaluatable.getCachedOrComputeAndCache(Evaluatable.scala:91)\n', u'\tat org.apache.daffodil.processors.InfosetCachedEvaluatable.getCachedOrComputeAndCache$(Evaluatable.scala:69)\n', u'\tat org.apache.daffodil.processors.UnparseTargetLengthInBitsEv.getCachedOrComputeAndCache(EvElement.scala:213)\n', u'\tat org.apache.daffodil.processors.Evaluatable.evaluate(Evaluatable.scala:277)\n', u'\tat org.apache.daffodil.processors.unparsers.TargetLengthOperation.test(SpecifiedLength2.scala:323)\n', u'\tat org.apache.daffodil.processors.SuspendableOperation.doTask(SuspendableOperation.scala:64)\n', u'\tat org.apache.daffodil.processors.SuspendableOperation.doTask$(SuspendableOperation.scala:57)\n', u'\tat org.apache.daffodil.processors.unparsers.TargetLengthOperation.doTask(SpecifiedLength2.scala:304)\n', u'\tat org.apache.daffodil.processors.Suspension.runSuspension(Suspension.scala:83)\n', u'\tat org.apache.daffodil.processors.Suspension.runSuspension$(Suspension.scala:82)\n', u'\tat org.apache.daffodil.processors.unparsers.TargetLengthOperation.runSuspension(SpecifiedLength2.scala:304)\n', u'\tat org.apache.daffodil.processors.unparsers.UStateMain.evalSuspensions(UState.scala:610)\n', u'\tat org.apache.daffodil.processors.DataProcessor.unparse(DataProcessor.scala:335)\n', u'\tat org.apache.daffodil.processors.DataProcessor.unparse(DataProcessor.scala:308)\n', u'\tat org.apache.daffodil.Main$.$anonfun$run$9(Main.scala:1047)\n', u'\tat org.apache.daffodil.util.Timer$.getTimeResult(Timer.scala:76)\n', u'\tat org.apache.daffodil.Main$.$anonfun$run$8(Main.scala:1045)\n', u'\tat scala.concurrent.Future$.$anonfun$apply$1(Future.scala:654)\n', u'\tat scala.util.Success.$anonfun$map$1(Try.scala:251)\n', u'\tat scala.util.Success.map(Try.scala:209)\n', u'\tat scala.concurrent.Future.$anonfun$map$1(Future.scala:288)\n', u'\tat scala.concurrent.impl.Promise.liftedTree1$1(Promise.scala:29)\n', u'\tat scala.concurrent.impl.Promise.$anonfun$transform$1(Promise.scala:29)\n', u'\tat scala.concurrent.impl.CallbackRunnable.run(Promise.scala:60)\n', u'\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\n', u'\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\n', u'\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\n', u'\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\n', u'\tat java.lang.Thread.run(Thread.java:748)\n'

      Attachments

        Activity

          People

            slawrence Steve Lawrence
            dfthompson Dave Thompson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: