lrbarber commented on PR #1759:
URL: https://github.com/apache/daffodil-vscode/pull/1759#issuecomment-5121051430

   When I compile a schema, then start debugging a different schema the 
daffodil-debugger.log includes the error message shown below. Have also 
duplicated the error when switching to from debugging one schema to another. 
The trigger seems to be that there is no saved parser for the second schema.
   
   2026-07-29 10:21:43,920 [io-compute-blocker-18] WARN  o.a.d.d.d.DAPCompiler 
- Failed to load cached parser from 
C:\Users\LARRY~1.BAR\AppData\Local\Temp\daffodil-vscode\saved-parsers\20263659ff7ec399d6993741e9a77a4550d460305c431dac4279d211ab4253bd.bin;
 recompiling 
   org.apache.daffodil.sapi.InvalidParserException: The saved parser was 
created with a different version of org.scala-lang.scala-library-2.13.18.jar 
with incompatible class: scala.collection.immutable.ArraySeq
        at org.apache.daffodil.sapi.Compiler.reload(Daffodil.scala:218)
        at 
org.apache.daffodil.debugger.dap.Support$.reloadDataProcessor(Support.scala:70)
        at 
org.apache.daffodil.debugger.dap.Support$.$anonfun$loadCachedDataProcessor$1(Support.scala:39)
        at println @ 
com.monovore.decline.effect.CommandIOApp$.addVersionFlag(CommandIOApp.scala:67)
        at flatMap @ 
org.apache.daffodil.debugger.dap.DAPCompiler$$anon$1.compile(Compiler.scala:62)
        at flatMap @ 
org.apache.daffodil.debugger.dap.Parse$.apply(Parse.scala:85)
        at map @ org.apache.daffodil.debugger.dap.Parse$.apply(Parse.scala:83)
        at flatMap @ 
org.apache.daffodil.debugger.dap.Parse$.apply(Parse.scala:83)
        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:268)
        at flatMap @ 
org.apache.daffodil.debugger.dap.Parse$.$anonfun$debugee$10(Parse.scala:709)


-- 
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]

Reply via email to