Testsuite: org.apache.catalina.session.TestStandardSession Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.543 sec ------------- Standard Error ----------------- Jul 26, 2024 10:57:24 AM 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:1187) at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:350) at java.base/java.util.HashMap.internalWriteEntries(HashMap.java:1944) at java.base/java.util.HashMap.writeObject(HashMap.java:1497) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at java.base/java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1070) at java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1516) at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1438) at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1181) at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:350) at org.apache.catalina.session.StandardSession.doWriteObject(StandardSession.java:1385) at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:861) 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.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) 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) Jul 26, 2024 10:57:24 AM org.apache.catalina.session.StandardSession doReadObject WARNING: Cannot deserialize session attribute [nestedNonSerializable] for session [null] ------------- ---------------- --------------- Testcase: serializeSkipsNonSerializableAttributes took 0.499 sec Testcase: testSerializationSimple01 took 0.003 sec Testcase: testSerializationSimple02 took 0.003 sec Testcase: testSerializationSimple03 took 0.011 sec Testcase: testSerializationEmpty took 0.001 sec