You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Mike Beckerle (Jira)" <ji...@apache.org> on 2025/06/11 22:18:00 UTC
[jira] [Assigned] (DAFFODIL-3004) Null Pointer (NPE) Abort in Unparsing
[ https://issues.apache.org/jira/browse/DAFFODIL-3004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mike Beckerle reassigned DAFFODIL-3004:
---------------------------------------
Assignee: Alex Parker
> Null Pointer (NPE) Abort in Unparsing
> --------------------------------------
>
> Key: DAFFODIL-3004
> URL: https://issues.apache.org/jira/browse/DAFFODIL-3004
> Project: Daffodil
> Issue Type: Bug
> Components: Back End, Unparsing
> Affects Versions: 3.10.0
> Reporter: Mike Beckerle
> Assignee: Alex Parker
> Priority: Major
>
> At Owl Cyber Defense, we are getting an abort due to NPE when unparsing a Link16 J3.0 message.
> The problem occurs when a complex type has an illegal raw value for type dfi365_AltitudeHeightType7.
> These files can reproduce the error: 144.bin - 153.bin , 160.bin, 162.bin , 164.bin, 166.bin, 168.bin
> See [~aparker101093] for further details.
> This is the abort message:
> {code:java}
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> !! An unexpected exception occurred. This is a bug! !!
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> Please report this bug and help us fix it:
> https://daffodil.apache.org/community/#issue-tracker
> Please include the following exception, the command you
> ran, and any input, schema, or tdml files used that led
> to this bug.
> java.lang.NullPointerException: Cannot read field "mNsOffset" because "this.mCurrElement" is null
> at com.ctc.wstx.sr.InputElementStack.getCurrentNsCount(InputElementStack.java:1029)
> at com.ctc.wstx.sr.BasicStreamReader.getNamespaceCount(BasicStreamReader.java:807)
> at org.codehaus.stax2.ri.evt.EndElementEventImpl.<init>(EndElementEventImpl.java:35){code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)