stevedlawrence commented on pull request #505:
URL: https://github.com/apache/daffodil/pull/505#issuecomment-828507595


   Looks like there's a single test failure:
   ```
   [error] Test 
org.apache.daffodil.dsom.TestPolymorphicUpwardRelativeExpressions.testPoly2 
failed: java.lang.ClassCastException: cannot assign instance of 
scala.collection.immutable.List$SerializationProxy to field 
org.apache.daffodil.dsom.DPathCompileInfo.elementCompileInfos of type 
scala.collection.Seq in instance of org.apache.daffodil.dsom.DPathCompileInfo, 
took 0.148 sec
   [error]     at 
java.io.ObjectStreamClass$FieldReflector.setObjFieldValues(ObjectStreamClass.java:2288)
   [error]     at 
java.io.ObjectStreamClass$FieldReflector.checkObjectFieldValueTypes(ObjectStreamClass.java:2251)
   ...
   [error]     at 
java.io.ObjectInputStream.readObject(ObjectInputStream.java:495)
   [error]     at 
java.io.ObjectInputStream.readObject(ObjectInputStream.java:453)
   [error]     at 
org.apache.daffodil.compiler.Compiler.reload(Compiler.scala:281)
   [error]     at 
org.apache.daffodil.util.TestUtils$.saveAndReload(TestUtils.scala:181)
   [error]     at 
org.apache.daffodil.util.TestUtils$.runSchemaOnData(TestUtils.scala:194)
   [error]     at 
org.apache.daffodil.util.TestUtils$.testString(TestUtils.scala:85)
   [error]     at 
org.apache.daffodil.dsom.TestPolymorphicUpwardRelativeExpressions.testPoly2(TestPolymorphicUpwardRelativeExpressions.scala:252)
   [error]     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
   [error]     at 
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
   [error]     at 
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   [error]     at java.lang.reflect.Method.invoke(Method.java:567)
   ```
   Seems there's an issue deserializing this parser with Scala 2.12.13. I can 
reproduce it on my system without coverage enabled, so likely unrelated to 
scoverage...
   


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to