Skip to content

Platform TCK challenge for Persistence core annotations (elementCollectionTest) tests that have been excluded since Jakarta EE 8 but not yet fixed  #2593

@scottmarlow

Description

@scottmarlow
  1. Spec Version: Jakarta EE 11 Platform
  2. The coordinates of the challenged test(s): ee.jakarta.tck.persistence.core.annotations.mapkeyenumerated.ClientPmservletTest.elementCollectionTest + ee.jakarta.tck.persistence.core.annotations.mapkeytemporal.ClientPmservletTest.elementCollectionTest + ee.jakarta.tck.persistence.core.annotations.mapkeyenumerated.ClientAppmanagedTest.elementCollectionTest + ee.jakarta.tck.persistence.core.annotations.mapkeytemporal.ClientAppmanagedTest.elementCollectionTest + ee.jakarta.tck.persistence.core.annotations.mapkeyenumerated.ClientStateful3Test.elementCollectionTest + ee.jakarta.tck.persistence.core.annotations.mapkeytemporal.ClientStateful3Test.elementCollectionTest + ee.jakarta.tck.persistence.core.annotations.mapkeyenumerated.ClientStateless3Test.elementCollectionTest + ee.jakarta.tck.persistence.core.annotations.mapkeytemporal.ClientStateless3Test.elementCollectionTest
  3. The exact TCK version: Jakarta EE 11.0.1 Platform TCK
  4. The implementation being tested: WildFly Preview (main branch)
  5. Why: The tests have been excluded since Jakarta EE 8 and have not yet been updated to be fixed.
  6. Any supporting material: We should remove or update these tests upstream.

The relevant test excludes from EE 10 https://github.com/jakartaee/platform-tck/blob/10.0.x/install/jakartaee/bin/ts.jtx#L67:

com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated/Client.java#elementCollectionTest_from_pmservlet
com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated/Client.java#elementCollectionTest_from_stateless3
com/sun/ts/tests/jpa/core/annotations/mapkeytemporal/Client.java#elementCollectionTest_from_pmservlet
com/sun/ts/tests/jpa/core/annotations/mapkeytemporal/Client.java#elementCollectionTest_from_stateless3

The above test excludes from EE 10 are relevant as the tests should of been fixed or excluded for EE 11 but were not.

Example test failure:

[0m09-30-2025 11:49:57:  SVR-ERROR: java.lang.NullPointerException: Cannot invoke "java.util.Map.entrySet()" because "emps" is null
	at deployment.jpa_core_annotations_mapkeyenumerated_pmservlet_vehicle_web.war//ee.jakarta.tck.persistence.core.annotations.mapkeyenumerated.Client.elementCollectionTest(Client.java:365)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at deployment.jpa_core_annotations_mapkeyenumerated_pmservlet_vehicle_web.war//com.sun.ts.tests.common.base.EETest.run(EETest.java:546)
	at deployment.jpa_core_annotations_mapkeyenumerated_pmservlet_vehicle_web.war//com.sun.ts.tests.common.base.ServiceEETest.run(ServiceEETest.java:130)
	at deployment.jpa_core_annotations_mapkeyenumerated_pmservlet_vehicle_web.war//com.sun.ts.tests.common.vehicle.pmservlet.PMServletVehicle.runTest(PMServletVehicle.java:111)
	at deployment.jpa_core_annotations_mapkeyenumerated_pmservlet_vehicle_web.war//com.sun.ts.tests.common.vehicle.servlet.ServletVehicle.doGet(ServletVehicle.java:100)
	at deployment.jpa_core_annotations_mapkeyenumerated_pmservlet_vehicle_web.war//com.sun.ts.tests.common.vehicle.servlet.ServletVehicle.doPost(ServletVehicle.java:118)
	at [email protected]//jakarta.servlet.http.HttpServlet.service(HttpServlet.java:653)
	at [email protected]//jakarta.servlet.http.HttpServlet.service(HttpServlet.java:723)
	at [email protected]//io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
	at [email protected]//io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
	at [email protected]//io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
	at [email protected]//io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
	at [email protected]//org.wildfly.elytron.web.undertow.server.ElytronRunAsHandler.lambda$handleRequest$1(ElytronRunAsHandler

Metadata

Metadata

Assignees

No one assigned

    Labels

    11.0Issues related to the Jakarta EE 11 Platform TCK releaseacceptedTCK challenge acceptedchallengeTCK challenge

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions