You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Dave Thompson (Jira)" <ji...@apache.org> on 2021/05/20 12:34:03 UTC

[jira] [Closed] (DAFFODIL-1091) NumberFormatException when Unbounded element in unordered sequence

     [ https://issues.apache.org/jira/browse/DAFFODIL-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dave Thompson closed DAFFODIL-1091.
-----------------------------------

Closed due to no activity and  no re-occurrence. If the issue re-occurs the ticket can be reopened or addressed in a new one.

> NumberFormatException when Unbounded element in unordered sequence
> ------------------------------------------------------------------
>
>                 Key: DAFFODIL-1091
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-1091
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Front End, General
>            Reporter: Jessie Chab
>            Assignee: Dave Thompson
>            Priority: Major
>             Fix For: 2.5.0
>
>
> If I create an unordered sequence of optional elements, where maxOccurs = "unbounded", I get the following error:
> [error] Test edu.illinois.ncsa.daffodil.section23.dfdl_expressions.TestDFDLExpressions.test_count_05b failed: edu.illinois.ncsa.daffodil.exceptions.Abort: java.lang.NumberFormatException: For input string: "unbounded"
> [error]     at edu.illinois.ncsa.daffodil.dsom.oolag.OOLAG$OOLAGValue.edu$illinois$ncsa$daffodil$dsom$oolag$OOLAG$OOLAGValue$$oolagTryCatch(OOLAG.scala:485)
> [error]     at edu.illinois.ncsa.daffodil.dsom.oolag.OOLAG$OOLAGValue$$anonfun$4.apply(OOLAG.scala:568)
> [error]     at edu.illinois.ncsa.daffodil.dsom.oolag.OOLAG$OOLAGHost.circularityDetector(OOLAG.scala:265)
> [error]     at edu.illinois.ncsa.daffodil.dsom.oolag.OOLAG$OOLAGValue.valueAsAny(OOLAG.scala:552)
> [error]     at edu.illinois.ncsa.daffodil.dsom.oolag.OOLAG$LV.value(OOLAG.scala:650)
> [error]     at edu.illinois.ncsa.daffodil.grammar.Prod.gram$lzycompute(Grammar.scala:262)
> See test count_05b in the following files:
> /resources/edu/illinois/ncsa/daffodil/section23/dfdl_functions/Functions.tdml
> /scala-debug/edu/illinois/ncsa/daffodil/section23/dfdl_expressions/TestDFDLExpressionsDebug.scala
> /scala/edu/illinois/ncsa/daffodil/section23/dfdl_expressions/TestDFDLExpressions.scala



--
This message was sent by Atlassian Jira
(v8.3.4#803005)