Testsuite: org.apache.catalina.session.TestStandardSession Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.38 sec ------------- Standard Error ----------------- Nov 05, 2024 5:54:03 PM org.apache.catalina.session.StandardSession doWriteObject WARNING: Cannot serialize session attribute [nestedNonSerializable] for session [null] java.io.NotSerializableException: org.apache.catalina.session.TestStandardSession$NonSerializable at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1200) at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:358) at java.base/java.util.HashMap.internalWriteEntries(HashMap.java:1952) at java.base/java.util.HashMap.writeObject(HashMap.java:1505) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at java.base/java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1078) at java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1529) at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1451) at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1194) at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:358) at org.apache.catalina.session.StandardSession.doWriteObject(StandardSession.java:1311) at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:848) at org.apache.catalina.session.TestStandardSession.serializeThenDeserialize(TestStandardSession.java:125) at org.apache.catalina.session.TestStandardSession.serializeSkipsNonSerializableAttributes(TestStandardSession.java:113) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:50) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1197) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1042) Nov 05, 2024 5:54:03 PM org.apache.catalina.session.StandardSession doReadObject WARNING: Cannot deserialize session attribute [nestedNonSerializable] for session [null] ------------- ---------------- --------------- Testcase: serializeSkipsNonSerializableAttributes took 0.337 sec Testcase: testSerializationSimple01 took 0.004 sec Testcase: testSerializationSimple02 took 0.002 sec Testcase: testSerializationSimple03 took 0.004 sec Testcase: testSerializationEmpty took 0.007 sec