You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@daffodil.apache.org by Attila Horvath <at...@gmail.com> on 2021/08/18 14:04:20 UTC
unexpected exception occurred - this is a bug
ALCON
Below is a different error from priors - if you need data/xsd to reproduce
- let me know
- - -
Wed 18 Aug 2021 08:54:33 AM EDT
TD: /home/attila/CDES/trunk/dpms/data/JITC
DATA: l2h_test_files
++ basename
/home/attila/CDES/trunk/dpms/data/JITC/l2h_test_files/blank/vlh_039a.txt
+ filebase=vlh_039a.txt
+ filename=vlh_039a
+ fileext=txt
++ dirname
/home/attila/CDES/trunk/dpms/data/JITC/l2h_test_files/blank/vlh_039a.txt
+ filepath=/home/attila/CDES/trunk/dpms/data/JITC/l2h_test_files/blank
++ echo /home/attila/CDES/trunk/dpms/data/JITC/l2h_test_files/blank/vlh_039a
++ sed 's/\//_-_/g'
+
fileout=_-_home_-_attila_-_CDES_-_trunk_-_dpms_-_data_-_JITC_-_l2h_test_files_-_blank_-_vlh_039a
+ echo Test case:
/home/attila/CDES/trunk/dpms/data/JITC/l2h_test_files/blank/vlh_039a.txt
Test case:
/home/attila/CDES/trunk/dpms/data/JITC/l2h_test_files/blank/vlh_039a.txt
+ daffodil -v parse --validate=on -s dpms_l2h.dfdl.xsd -r dpms_l2h.dfdl.xsd
-o
out/_-_home_-_attila_-_CDES_-_trunk_-_dpms_-_data_-_JITC_-_l2h_test_files_-_blank_-_vlh_039a.xml
/home/attila/CDES/trunk/dpms/data/JITC/l2h_test_files/blank/vlh_039a.txt
[info] Time (compiling): 2934ms
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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.
org.apache.daffodil.exceptions.Abort: Invariant broken:
MPState.this.groupIndexStack.length.==(1)
org.apache.daffodil.exceptions.Assert$.abort(Assert.scala:129)
org.apache.daffodil.processors.parsers.MPState.verifyFinalState(PState.scala:141)
org.apache.daffodil.processors.parsers.PState.verifyFinalState(PState.scala:352)
org.apache.daffodil.processors.DataProcessor.doParse(DataProcessor.scala:243)
at
org.apache.daffodil.processors.parsers.PState.verifyFinalState(PState.scala:361)
at
org.apache.daffodil.processors.DataProcessor.doParse(DataProcessor.scala:243)
at
org.apache.daffodil.processors.DataProcessor.$anonfun$parse$1(DataProcessor.scala:196)
at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
at
org.apache.daffodil.ExecutionMode$.$anonfun$usingRuntimeMode$1(ExecutionMode.scala:65)
at
org.apache.daffodil.processors.DataProcessor.parse(DataProcessor.scala:188)
at
org.apache.daffodil.processors.DataProcessor.parse(DataProcessor.scala:184)
at org.apache.daffodil.Main$.$anonfun$run$1(Main.scala:850)
at org.apache.daffodil.util.Timer$.getTimeResult(Timer.scala:76)
at org.apache.daffodil.util.Timer$.getResult(Timer.scala:35)
at org.apache.daffodil.Main$.run(Main.scala:850)
at org.apache.daffodil.Main$.main(Main.scala:1363)
at org.apache.daffodil.Main.main(Main.scala)
Suppressed: org.apache.daffodil.exceptions.Abort: Invariant broken:
MPState.this.groupIndexStack.length.==(1)
org.apache.daffodil.exceptions.Assert$.abort(Assert.scala:129)
org.apache.daffodil.processors.parsers.MPState.verifyFinalState(PState.scala:141)
org.apache.daffodil.processors.parsers.PState.verifyFinalState(PState.scala:352)
org.apache.daffodil.processors.DataProcessor.doParse(DataProcessor.scala:243)
at
org.apache.daffodil.exceptions.Assert$.abort(Assert.scala:129)
at
org.apache.daffodil.processors.parsers.MPState.verifyFinalState(PState.scala:141)
at
org.apache.daffodil.processors.parsers.PState.verifyFinalState(PState.scala:352)
... 12 more
+ parse_exit_code=1
+ echo daffodil parse exit code: 1
daffodil parse exit code: 1
+ date
Wed 18 Aug 2021 08:54:37 AM EDT
Re: unexpected exception occurred - this is a bug
Posted by Attila Horvath <at...@gmail.com>.
yes - 2.4.0 - due to vendor limitations (have requested them to 'upgrade'
but denied)
will try 3.1.0 - thx
On Wed, Aug 18, 2021 at 10:18 AM Steve Lawrence <sl...@apache.org>
wrote:
> Was this error on Daffodil 2.4.0? Have you tried with 3.1.0?
>
> I know we've made a few changes to how verifyFinalState works and to
> make sure things like groupIndexStack are reset correctly, which is what
> this error is complaining about. So my guess is this has been fixed
> since 2.4.0. You can try running with 3.1.0 to see, or you can send the
> schema and data files and we can verify it.
>
> - Steve
>
> On 8/18/21 10:04 AM, Attila Horvath wrote:
> > ALCON
> >
> > Below is a different error from priors - if you need data/xsd to
> reproduce - let
> > me know
> >
> > - - -
> >
> > Wed 18 Aug 2021 08:54:33 AM EDT
> > TD: /home/attila/CDES/trunk/dpms/data/JITC
> > DATA: l2h_test_files
> > ++ basename
> /home/attila/CDES/trunk/dpms/data/JITC/l2h_test_files/blank/vlh_039a.txt
> > + filebase=vlh_039a.txt
> > + filename=vlh_039a
> > + fileext=txt
> > ++ dirname
> /home/attila/CDES/trunk/dpms/data/JITC/l2h_test_files/blank/vlh_039a.txt
> > + filepath=/home/attila/CDES/trunk/dpms/data/JITC/l2h_test_files/blank
> > ++ echo
> /home/attila/CDES/trunk/dpms/data/JITC/l2h_test_files/blank/vlh_039a
> > ++ sed 's/\//_-_/g'
> > +
> >
> fileout=_-_home_-_attila_-_CDES_-_trunk_-_dpms_-_data_-_JITC_-_l2h_test_files_-_blank_-_vlh_039a
> > + echo Test case:
> > /home/attila/CDES/trunk/dpms/data/JITC/l2h_test_files/blank/vlh_039a.txt
> > Test case:
> /home/attila/CDES/trunk/dpms/data/JITC/l2h_test_files/blank/vlh_039a.txt
> > + daffodil -v parse --validate=on -s dpms_l2h.dfdl.xsd -r
> dpms_l2h.dfdl.xsd -o
> >
> out/_-_home_-_attila_-_CDES_-_trunk_-_dpms_-_data_-_JITC_-_l2h_test_files_-_blank_-_vlh_039a.xml
>
> > /home/attila/CDES/trunk/dpms/data/JITC/l2h_test_files/blank/vlh_039a.txt
> > [info] Time (compiling): 2934ms
> >
> > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> > !! An unexpected exception occurred. This is a bug! !!
> > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> >
> > Please report this bug and help us fix it:
> >
> > https://daffodil.apache.org/community/#issue-tracker
> > <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.
> >
> >
> > org.apache.daffodil.exceptions.Abort: Invariant broken:
> > MPState.this.groupIndexStack.length.==(1)
> > org.apache.daffodil.exceptions.Assert$.abort(Assert.scala:129)
> >
> org.apache.daffodil.processors.parsers.MPState.verifyFinalState(PState.scala:141)
> >
> org.apache.daffodil.processors.parsers.PState.verifyFinalState(PState.scala:352)
> >
> org.apache.daffodil.processors.DataProcessor.doParse(DataProcessor.scala:243)
> > at
> >
> org.apache.daffodil.processors.parsers.PState.verifyFinalState(PState.scala:361)
> > at
> >
> org.apache.daffodil.processors.DataProcessor.doParse(DataProcessor.scala:243)
> > at
> >
> org.apache.daffodil.processors.DataProcessor.$anonfun$parse$1(DataProcessor.scala:196)
> > at
> scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
> > at
> >
> org.apache.daffodil.ExecutionMode$.$anonfun$usingRuntimeMode$1(ExecutionMode.scala:65)
> > at
> >
> org.apache.daffodil.processors.DataProcessor.parse(DataProcessor.scala:188)
> > at
> >
> org.apache.daffodil.processors.DataProcessor.parse(DataProcessor.scala:184)
> > at org.apache.daffodil.Main$.$anonfun$run$1(Main.scala:850)
> > at org.apache.daffodil.util.Timer$.getTimeResult(Timer.scala:76)
> > at org.apache.daffodil.util.Timer$.getResult(Timer.scala:35)
> > at org.apache.daffodil.Main$.run(Main.scala:850)
> > at org.apache.daffodil.Main$.main(Main.scala:1363)
> > at org.apache.daffodil.Main.main(Main.scala)
> > Suppressed: org.apache.daffodil.exceptions.Abort: Invariant
> broken:
> > MPState.this.groupIndexStack.length.==(1)
> > org.apache.daffodil.exceptions.Assert$.abort(Assert.scala:129)
> >
> org.apache.daffodil.processors.parsers.MPState.verifyFinalState(PState.scala:141)
> >
> org.apache.daffodil.processors.parsers.PState.verifyFinalState(PState.scala:352)
> >
> org.apache.daffodil.processors.DataProcessor.doParse(DataProcessor.scala:243)
> > at
> org.apache.daffodil.exceptions.Assert$.abort(Assert.scala:129)
> > at
> >
> org.apache.daffodil.processors.parsers.MPState.verifyFinalState(PState.scala:141)
> > at
> >
> org.apache.daffodil.processors.parsers.PState.verifyFinalState(PState.scala:352)
> > ... 12 more
> > + parse_exit_code=1
> > + echo daffodil parse exit code: 1
> > daffodil parse exit code: 1
> > + date
> > Wed 18 Aug 2021 08:54:37 AM EDT
> >
>
>
Re: unexpected exception occurred - this is a bug
Posted by Steve Lawrence <sl...@apache.org>.
Was this error on Daffodil 2.4.0? Have you tried with 3.1.0?
I know we've made a few changes to how verifyFinalState works and to
make sure things like groupIndexStack are reset correctly, which is what
this error is complaining about. So my guess is this has been fixed
since 2.4.0. You can try running with 3.1.0 to see, or you can send the
schema and data files and we can verify it.
- Steve
On 8/18/21 10:04 AM, Attila Horvath wrote:
> ALCON
>
> Below is a different error from priors - if you need data/xsd to reproduce - let
> me know
>
> - - -
>
> Wed 18 Aug 2021 08:54:33 AM EDT
> TD: /home/attila/CDES/trunk/dpms/data/JITC
> DATA: l2h_test_files
> ++ basename /home/attila/CDES/trunk/dpms/data/JITC/l2h_test_files/blank/vlh_039a.txt
> + filebase=vlh_039a.txt
> + filename=vlh_039a
> + fileext=txt
> ++ dirname /home/attila/CDES/trunk/dpms/data/JITC/l2h_test_files/blank/vlh_039a.txt
> + filepath=/home/attila/CDES/trunk/dpms/data/JITC/l2h_test_files/blank
> ++ echo /home/attila/CDES/trunk/dpms/data/JITC/l2h_test_files/blank/vlh_039a
> ++ sed 's/\//_-_/g'
> +
> fileout=_-_home_-_attila_-_CDES_-_trunk_-_dpms_-_data_-_JITC_-_l2h_test_files_-_blank_-_vlh_039a
> + echo Test case:
> /home/attila/CDES/trunk/dpms/data/JITC/l2h_test_files/blank/vlh_039a.txt
> Test case: /home/attila/CDES/trunk/dpms/data/JITC/l2h_test_files/blank/vlh_039a.txt
> + daffodil -v parse --validate=on -s dpms_l2h.dfdl.xsd -r dpms_l2h.dfdl.xsd -o
> out/_-_home_-_attila_-_CDES_-_trunk_-_dpms_-_data_-_JITC_-_l2h_test_files_-_blank_-_vlh_039a.xml
> /home/attila/CDES/trunk/dpms/data/JITC/l2h_test_files/blank/vlh_039a.txt
> [info] Time (compiling): 2934ms
>
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> !! An unexpected exception occurred. This is a bug! !!
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>
> Please report this bug and help us fix it:
>
> https://daffodil.apache.org/community/#issue-tracker
> <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.
>
>
> org.apache.daffodil.exceptions.Abort: Invariant broken:
> MPState.this.groupIndexStack.length.==(1)
> org.apache.daffodil.exceptions.Assert$.abort(Assert.scala:129)
> org.apache.daffodil.processors.parsers.MPState.verifyFinalState(PState.scala:141)
> org.apache.daffodil.processors.parsers.PState.verifyFinalState(PState.scala:352)
> org.apache.daffodil.processors.DataProcessor.doParse(DataProcessor.scala:243)
> at
> org.apache.daffodil.processors.parsers.PState.verifyFinalState(PState.scala:361)
> at
> org.apache.daffodil.processors.DataProcessor.doParse(DataProcessor.scala:243)
> at
> org.apache.daffodil.processors.DataProcessor.$anonfun$parse$1(DataProcessor.scala:196)
> at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
> at
> org.apache.daffodil.ExecutionMode$.$anonfun$usingRuntimeMode$1(ExecutionMode.scala:65)
> at
> org.apache.daffodil.processors.DataProcessor.parse(DataProcessor.scala:188)
> at
> org.apache.daffodil.processors.DataProcessor.parse(DataProcessor.scala:184)
> at org.apache.daffodil.Main$.$anonfun$run$1(Main.scala:850)
> at org.apache.daffodil.util.Timer$.getTimeResult(Timer.scala:76)
> at org.apache.daffodil.util.Timer$.getResult(Timer.scala:35)
> at org.apache.daffodil.Main$.run(Main.scala:850)
> at org.apache.daffodil.Main$.main(Main.scala:1363)
> at org.apache.daffodil.Main.main(Main.scala)
> Suppressed: org.apache.daffodil.exceptions.Abort: Invariant broken:
> MPState.this.groupIndexStack.length.==(1)
> org.apache.daffodil.exceptions.Assert$.abort(Assert.scala:129)
> org.apache.daffodil.processors.parsers.MPState.verifyFinalState(PState.scala:141)
> org.apache.daffodil.processors.parsers.PState.verifyFinalState(PState.scala:352)
> org.apache.daffodil.processors.DataProcessor.doParse(DataProcessor.scala:243)
> at org.apache.daffodil.exceptions.Assert$.abort(Assert.scala:129)
> at
> org.apache.daffodil.processors.parsers.MPState.verifyFinalState(PState.scala:141)
> at
> org.apache.daffodil.processors.parsers.PState.verifyFinalState(PState.scala:352)
> ... 12 more
> + parse_exit_code=1
> + echo daffodil parse exit code: 1
> daffodil parse exit code: 1
> + date
> Wed 18 Aug 2021 08:54:37 AM EDT
>