stricklandrbls commented on PR #1361:
URL: https://github.com/apache/daffodil-vscode/pull/1361#issuecomment-3201016247
@duboisfordwork @JeremyYao Still getting the same issue when attempting to
run it on another machine this morning
Here is the output from the _Terminal_ and _Output_ tabs from within the
debugged extension host window when executing the launch config.
<details><summary><h3>Terminal</h3></summary>
```bash
listenPort 4712 -J--add-opens -Jjava.base/java.lang=ALL-UNNAMED
2025-08-19 14:27:23,543 [io-compute-1] INFO o.a.d.d.d.DAPodil -
******************************************************
A DAP server for debugging Daffodil schema processors.
Build info:
version: 1.4.2-SNAPSHOT
daffodilVersion: 3.11.0
scalaVersion: 2.13.16
sbtVersion: 1.10.6
Runtime info:
JVM version: 17.0.14 (/usr/lib/jvm/java-17-openjdk-amd64)
******************************************************
2025-08-19 14:27:23,546 [io-compute-1] INFO o.a.d.d.d.DAPodil - launched
with options listenPort: 4712, listenTimeout: 10 seconds
2025-08-19 14:27:23,556 [io-compute-1] INFO o.a.d.d.d.DAPodil - waiting at
tcp://localhost:4712
2025-08-19 14:27:24,164 [io-compute-blocker-1] INFO o.a.d.d.d.DAPodil -
connected at tcp://localhost:4712
2025-08-19 14:27:24,398 [io-compute-0] INFO o.a.d.d.d.DAPSession - R> #1
initialize {"clientID":"vscode","clientName":"Visual Studio
Code","adapterID":"dfdl","pathFormat":"path","linesStartAt1":true,"columnsStartAt1":true,"supportsVariableType":true,"supportsVariablePaging":true,"supportsRunInTerminalRequest":true,"locale":"en","supportsProgressReporting":true,"supportsInvalidatedEvent":true,"supportsMemoryReferences":true,"supportsArgsCanBeInterpretedByShell":true,"supportsMemoryEvent":true,"supportsStartDebuggingRequest":true,"supportsANSIStyling":true}
2025-08-19 14:27:24,432 [io-compute-1] INFO o.a.d.d.d.DAPSession - <R #1
initialize success
{"supportsConfigurationDoneRequest":true,"supportsHitConditionalBreakpoints":false,"supportsConditionalBreakpoints":false,"supportsEvaluateForHovers":false,"supportsCompletionsRequest":false,"supportsRestartFrame":false,"supportsSetVariable":false,"supportsRestartRequest":false,"supportTerminateDebuggee":false,"supportsDelayedStackTraceLoading":false,"supportsLogPoints":false,"supportsExceptionInfoRequest":false,"supportsDataBreakpoints":false,"supportsClipboardContext":false,"supportsLoadedSourcesRequest":false}
2025-08-19 14:27:24,434 [io-compute-blocker-4] INFO o.a.d.d.d.DAPSession -
<E initialized
2025-08-19 14:27:24,457 [io-compute-0] INFO o.a.d.d.d.DAPSession - R> #2
launch
{"request":"launch","type":"dfdl","name":"Cat_DFDL","schema":{"path":"/home/dfdl-workspace/gif.dfdl.xsd","rootName":null,"rootNamespace":null},"data":"/home/dfdl-workspace/test_images/toast.gif","debugServer":4712,"infosetFormat":"xml","infosetOutput":{"type":"file","path":"/home/dfdl-workspace/target/infoset.xml"},"tdmlConfig":{"action":"generate","name":"Default
Test
Case","description":"undefined","path":"/tmp/generatedTDML.tdml"},"trace":true,"stopOnEntry":true,"useExistingServer":false,"openDataEditor":true,"openInfosetView":true,"openInfosetDiffView":true,"daffodilDebugClasspath":[],"dataEditor":{"port":9000,"logging":{"file":"/home/dfdl-workspace/dataEditor-${omegaEditPort}.log","level":"info"}},"dfdlDebugger":{"logging":{"file":"/home/dfdl-workspace/daffodil-debugger.log","level":"INFO"}},"__configurationTarget":6,"__sessionId":"6ee0c963-715d-4408-b7aa-7e05792b04e2"}
2025-08-19 14:27:24,463 [io-compute-2] INFO o.a.d.d.d.DAPSession - R> #3
configurationDone null
2025-08-19 14:27:25,104 [io-compute-2] ERROR o.a.d.d.d.DAPSession - couldn't
launch, request #2 launch
{"request":"launch","type":"dfdl","name":"Cat_DFDL","schema":{"path":"/home/dfdl-workspace/gif.dfdl.xsd","rootName":null,"rootNamespace":null},"data":"/home/dfdl-workspace/test_images/toast.gif","debugServer":4712,"infosetFormat":"xml","infosetOutput":{"type":"file","path":"/home/dfdl-workspace/target/infoset.xml"},"tdmlConfig":{"action":"generate","name":"Default
Test
Case","description":"undefined","path":"/tmp/generatedTDML.tdml"},"trace":true,"stopOnEntry":true,"useExistingServer":false,"openDataEditor":true,"openInfosetView":true,"openInfosetDiffView":true,"daffodilDebugClasspath":[],"dataEditor":{"port":9000,"logging":{"file":"/home/dfdl-workspace/dataEditor-${omegaEditPort}.log","level":"info"}},"dfdlDebugger":{"logging":{"file":"/home/dfdl-workspace/daffodil-debugger.log","level":"INFO"}},"__configurationTarget":6,"__sessionId":"6ee0c963-715d-4408-b7aa-7e05792b04e2"}
org.apache.daffodil.debugger.dap.DAPCompiler$CompilationFailed: Schema
Definition Error: Error loading schema due to org.xml.sax.SAXParseException;
systemId: file:/home/dfdl-workspace/gif.dfdl.xsd; lineNumber: 7; columnNumber:
3; DOCTYPE is disallowed.
Schema context: Location line 7 column 3 in
/home/dfdl-workspace/gif.dfdl.xsd, Schema Definition Error: Error loading
schema due to org.xml.sax.SAXParseException; systemId:
file:/home/dfdl-workspace/gif.dfdl.xsd; lineNumber: 7; columnNumber: 3; DOCTYPE
is disallowed.
Schema context: Location line 7 column 3 in /home/dfdl-workspace/gif.dfdl.xsd
at
org.apache.daffodil.debugger.dap.DAPCompiler$$anon$1.$anonfun$compile$2(Compiler.scala:52)
at cats.MonadError.$anonfun$ensureOr$1(MonadError.scala:41)
at println @
com.monovore.decline.effect.CommandIOApp$.addVersionFlag(CommandIOApp.scala:67)
at ensureOr$extension @
org.apache.daffodil.debugger.dap.DAPCompiler$$anon$1.compile(Compiler.scala:52)
at map @
org.apache.daffodil.debugger.dap.DAPCompiler$$anon$1.compile(Compiler.scala:53)
at map @
org.apache.daffodil.debugger.dap.Parse$.apply(Parse.scala:89)
at flatMap @
org.apache.daffodil.debugger.dap.Parse$.apply(Parse.scala:87)
at println @
com.monovore.decline.effect.CommandIOApp$.addVersionFlag(CommandIOApp.scala:67)
at map @
org.apache.daffodil.debugger.dap.Parse$Debugee$LaunchArgs$Manual.data(Parse.scala:252)
at flatMap @
org.apache.daffodil.debugger.dap.Parse$.$anonfun$debugee$10(Parse.scala:693)
at ifM$extension @
org.typelevel.log4cats.slf4j.internal.Slf4jLoggerInternal$Slf4jLogger.info(Slf4jLoggerInternal.scala:99)
2025-08-19 14:27:25,105 [io-compute-2] INFO o.a.d.d.d.DAPSession - <E
daffodil.error.request
2025-08-19 14:27:25,107 [io-compute-blocker-2] INFO o.a.d.d.d.DAPSession -
<E terminated
2025-08-19 14:27:25,108 [io-compute-blocker-2] INFO o.a.d.d.d.DAPSession -
<R #3 configurationDone success null
2025-08-19 14:27:25,178 [io-compute-2] INFO o.a.d.d.d.DAPSession - R> #4
disconnect {"restart":false}
2025-08-19 14:27:25,181 [io-compute-1] INFO o.a.d.d.d.DAPSession - R> #5
threads null
2025-08-19 14:27:25,183 [io-compute-2] INFO o.a.d.d.d.DAPSession - <R #4
disconnect success null
2025-08-19 14:27:25,771 [io-compute-1] INFO o.a.d.d.d.DAPodil -
disconnected at tcp://localhost:4712
```
</details>
<details><summary><h3>Terminal</h3></summary>
```bash
Schema Definition Error: Error loading schema due to
org.xml.sax.SAXParseException; systemId:
file:/home/dfdl-workspace/gif.dfdl.xsd; lineNumber: 7; columnNumber: 3; DOCTYPE
is disallowed.
Schema context: Location line 7 column 3 in
/home/dfdl-workspace/gif.dfdl.xsd, Schema Definition Error: Error loading
schema due to org.xml.sax.SAXParseException; systemId:
file:/home/dfdl-workspace/gif.dfdl.xsd; lineNumber: 7; columnNumber: 3; DOCTYPE
is disallowed.
Schema context: Location line 7 column 3 in /home/dfdl-workspace/gif.dfdl.xsd
```
</details>
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]