You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@daffodil.apache.org by "Steve Lawrence (JIRA)" <ji...@apache.org> on 2019/06/27 12:21:00 UTC

[jira] [Resolved] (DAFFODIL-2167) NITF schema fails to unparse with exception

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

Steve Lawrence resolved DAFFODIL-2167.
--------------------------------------
    Resolution: Fixed

Fixed in commit 3a837fd88d134a2fe3026c942e15558cf491b2ff

> NITF schema fails to unparse with exception
> -------------------------------------------
>
>                 Key: DAFFODIL-2167
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2167
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Back End
>            Reporter: Steve Lawrence
>            Assignee: Steve Lawrence
>            Priority: Blocker
>             Fix For: 2.4.0
>
>
> Fails with the following exception:
> {code:java}
> java.lang.ClassCastException: org.apache.daffodil.infoset.DISimple cannot be cast to org.apache.daffodil.infoset.DIArray, took 7.024 sec
> [error] at org.apache.daffodil.infoset.InfosetInputter.handleStartElement(InfosetInputter.scala:311)
> [error] at org.apache.daffodil.infoset.InfosetInputter.reallyFill(InfosetInputter.scala:262)
> [error] at org.apache.daffodil.infoset.InfosetInputter.fill(InfosetInputter.scala:247)
> [error] at org.apache.daffodil.util.CursorImplMixin.doAdvance(Cursor.scala:226)
> [error] at org.apache.daffodil.util.CursorImplMixin.advance(Cursor.scala:176)
> [error] at org.apache.daffodil.util.CursorImplMixin.advance$(Cursor.scala:173)
> [error] at org.apache.daffodil.infoset.InfosetInputter.advance(InfosetInputter.scala:54)
> [error] at org.apache.daffodil.processors.unparsers.UStateMain.advance(UState.scala:483)
> [error] at org.apache.daffodil.util.Cursor.advanceMaybe(Cursor.scala:118)
> [error] at org.apache.daffodil.util.Cursor.advanceMaybe$(Cursor.scala:117)
> [error] at org.apache.daffodil.processors.unparsers.UState.advanceMaybe(UState.scala:72)
> [error] at org.apache.daffodil.processors.unparsers.UStateMain.advanceOrError(UState.scala:501)
> [error] at org.apache.daffodil.processors.unparsers.OVCStartEndStrategy.unparseBegin(ElementUnparser.scala:476)
>  {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)