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

Steve Lawrence resolved DAFFODIL-2348.
--------------------------------------
    Fix Version/s: 3.1.0
       Resolution: Fixed

Fixed in commit fb736835446f89d81057e50f30d9a8a3087f4538

> Debugger breaks with prefixed lengths
> -------------------------------------
>
>                 Key: DAFFODIL-2348
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2348
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Debugger
>    Affects Versions: 2.6.0
>            Reporter: Steve Lawrence
>            Assignee: Steve Lawrence
>            Priority: Major
>             Fix For: 3.1.0
>
>
> When using the debugger and displaying the infoset (e.g. info infoset), if 
> the current element is a prefixed length element Daffodil will abort with an 
> exception about "No parent element for element (prefixLength)". This is 
> because the debugger tries to find the root element:
> {code:scala}
> infoset = infoset.toRootDoc.getRootElement().asInstanceOf[DIElement]
> {code}
> But that fails when the element is a prefixed length element. Need special 
> logic somewhere to handle these detached elements.



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

Reply via email to