You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "shanedell (via GitHub)" <gi...@apache.org> on 2023/06/15 17:55:52 UTC
[GitHub] [daffodil-vscode] shanedell commented on pull request #663: Throw parse errors
shanedell commented on PR #663:
URL: https://github.com/apache/daffodil-vscode/pull/663#issuecomment-1593502833
Sample output from an assert failed
```bash
2023-06-14 16:58:58,763 [io-compute-5] INFO o.a.d.d.d.DAPodil -
******************************************************
A DAP server for debugging Daffodil schema processors.
Build info:
version: 1.3.0
daffodilVersion: 3.4.0
scalaVersion: 2.12.15
sbtVersion: 1.8.2
******************************************************
....
2023-06-14 16:59:09,787 [io-compute-1] INFO o.a.d.d.d.DAPSession - R> #16 continue {"threadId":1}
2023-06-14 16:59:09,789 [io-compute-0] INFO o.a.d.d.d.DAPSession - <R #16 continue success null
2023-06-14 16:59:09,794 [io-compute-5] DEBUG o.a.d.d.d.P.DaffodilDebugger - infoset queue completed
2023-06-14 16:59:09,794 [io-compute-6] DEBUG o.a.d.d.d.Parse - infosetChanges (orig): Succeeded
2023-06-14 16:59:09,794 [io-compute-2] DEBUG o.a.d.d.d.DAPodil - deliverStoppedEvents: Succeeded
2023-06-14 16:59:09,795 [io-compute-3] DEBUG o.a.d.d.d.Parse - deliverParseData: Succeeded
2023-06-14 16:59:09,795 [io-compute-3] DEBUG o.a.d.d.d.DAPodil - dapEvents: Succeeded
2023-06-14 16:59:09,803 [io-compute-0] INFO o.a.d.d.d.DAPSession - <E thread exited
java.lang.Error: Parse Error: Assertion failed: Magic number was not 0xA1B2C3D4 (for bigEndian) or 0xD4C3B2A1 (for littleEndian).
Schema context: MagicNumber Location line 87 column 14 in file:/Users/sdell/apache/sampleWorkspace/dfdl-pcap/src/main/resources/com/tresys/pcap/xsd/pcap.dfdl.xsd
Data location was preceding byte 4
at org.apache.daffodil.debugger.dap.Parse$$anon$1.$anonfun$run$2(Parse.scala:111)
at as @ com.monovore.decline.effect.CommandIOApp$.addVersionFlag(CommandIOApp.scala:67)
2023-06-14 16:59:09,803 [io-compute-blocker-14] INFO o.a.d.d.d.DAPSession - <E terminated
2023-06-14 16:59:09,804 [io-compute-blocker-1] DEBUG o.a.d.d.d.Parse - parsing: Errored(java.lang.Error: Parse Error: Assertion failed: Magic number was not 0xA1B2C3D4 (for bigEndian) or 0xD4C3B2A1 (for littleEndian).
Schema context: MagicNumber Location line 87 column 14 in file:/Users/sdell/apache/sampleWorkspace/dfdl-pcap/src/main/resources/com/tresys/pcap/xsd/pcap.dfdl.xsd
Data location was preceding byte 4)
java.lang.Error: Parse Error: Assertion failed: Magic number was not 0xA1B2C3D4 (for bigEndian) or 0xD4C3B2A1 (for littleEndian).
Schema context: MagicNumber Location line 87 column 14 in file:/Users/sdell/apache/sampleWorkspace/dfdl-pcap/src/main/resources/com/tresys/pcap/xsd/pcap.dfdl.xsd
Data location was preceding byte 4
at org.apache.daffodil.debugger.dap.Parse$$anon$1.$anonfun$run$2(Parse.scala:111)
at as @ com.monovore.decline.effect.CommandIOApp$.addVersionFlag(CommandIOApp.scala:67)
2023-06-14 16:59:09,812 [io-compute-10] INFO o.a.d.d.d.DAPSession - R> #17 disconnect {"restart":false}
2023-06-14 16:59:09,813 [io-compute-3] INFO o.a.d.d.d.DAPSession - <R #17 disconnect success null
2023-06-14 16:59:09,813 [io-compute-blocker-12] DEBUG o.a.d.d.d.DAPodil - launched: Succeeded
2023-06-14 16:59:09,813 [io-compute-blocker-12] DEBUG o.a.d.d.d.Parse - signalling a stop
2023-06-14 16:59:09,814 [io-compute-blocker-12] DEBUG o.a.d.d.d.Parse - parse done, no interruption
2023-06-14 16:59:09,818 [io-compute-6] DEBUG o.a.d.d.d.DAPodil - debugee: Succeeded
2023-06-14 16:59:09,820 [io-compute-6] ERROR o.a.d.d.d.DAPodil - unhandled error
java.lang.Error: Parse Error: Assertion failed: Magic number was not 0xA1B2C3D4 (for bigEndian) or 0xD4C3B2A1 (for littleEndian).
Schema context: MagicNumber Location line 87 column 14 in file:/Users/sdell/apache/sampleWorkspace/dfdl-pcap/src/main/resources/com/tresys/pcap/xsd/pcap.dfdl.xsd
Data location was preceding byte 4
at org.apache.daffodil.debugger.dap.Parse$$anon$1.$anonfun$run$2(Parse.scala:111)
at as @ com.monovore.decline.effect.CommandIOApp$.addVersionFlag(CommandIOApp.scala:67)
java.lang.Error: Parse Error: Assertion failed: Magic number was not 0xA1B2C3D4 (for bigEndian) or 0xD4C3B2A1 (for littleEndian).
Schema context: MagicNumber Location line 87 column 14 in file:/Users/sdell/apache/sampleWorkspace/dfdl-pcap/src/main/resources/com/tresys/pcap/xsd/pcap.dfdl.xsd
Data location was preceding byte 4
at org.apache.daffodil.debugger.dap.Parse$$anon$1.$anonfun$run$2(Parse.scala:111)
at as @ com.monovore.decline.effect.CommandIOApp$.addVersionFlag(CommandIOApp.scala:67)
2023-06-14 16:59:09,820 [io-compute-10] DEBUG o.a.d.d.d.DAPodil - whenDone: completed
2023-06-14 16:59:09,820 [io-compute-10] DEBUG o.a.d.d.d.DAPodil - hotswap: Succeeded
2023-06-14 16:59:09,820 [io-compute-10] INFO o.a.d.d.d.DAPodil - disconnected at tcp://0.0.0.0:4711
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org