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 2023/03/28 14:26:00 UTC

[jira] [Closed] (DAFFODIL-2645) Parse Error: Insufficient bits. Needed 160 but found only 1192

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

Dave Thompson closed DAFFODIL-2645.
-----------------------------------

Verified the specified commit (commit 6590127afe09aaa5a8bcffa4296fa6ec852d0ebe) is included in the latest pull from the daffodil repository.

Verified, via review, changes identified in the commit comment were implemented. 

Verified the affected daffodil subproject sbt test suites executed successfully, including the added and modified tests.

Rolled the commit back to a pre-fix commit, copied the associated sbt test files (TestLengthKindExplicit.scala, ExplicitTests.tdml, TestBlobs.scala, Blobs.tdml) from the fix commit.

Ran the tests on the pre-fix commit. The 3 new and modified tests in the ExplicitTests.tdml failed as expected. The 2 new tests in Blobs.tdml did not fail. This is expected per dev, tests were added for coverage.

> Parse Error: Insufficient bits. Needed 160 but found only 1192 
> ---------------------------------------------------------------
>
>                 Key: DAFFODIL-2645
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2645
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Back End
>    Affects Versions: 3.2.1
>            Reporter: Mike Beckerle
>            Assignee: Mike McGann
>            Priority: Major
>             Fix For: 3.5.0
>
>
> I got this diagnostic message today, which makes no sense:
> {code:java}
> Parse Error: Insufficient bits in data. Needed 160 bit(s) but found only 1192 available. {code}
> There's some situation where it is miscalculating, or maybe just has the args backwards. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)