jdi-testing / jdi-dark

Powerful Framework for Backend Automation Testing on Java (Rest, Soap, WebSocket)
https://jdi-docs.github.io/jdi-dark/
MIT License
39 stars 16 forks source link

SOAP services doesn't work on JDK 16 #480

Closed pnatashap closed 1 year ago

pnatashap commented 3 years ago

There are 22 failed tests on JDK 16 Error: checkRegistration12(com.epam.jdi.httptests.examples.soap.HerongYangServiceTests) Time elapsed: 0.002 s <<< FAILURE! java.lang.RuntimeException: java.lang.NullPointerException: Cannot invoke "java.lang.reflect.Method.invoke(Object, Object[])" because "com.sun.xml.bind.v2.runtime.reflect.opt.Injector.defineClass" is null at com.epam.jdi.httptests.examples.soap.HerongYangServiceTests.checkRegistration12(HerongYangServiceTests.java:56)

Error: checkGeocodeAddressNonParsed(com.epam.jdi.httptests.examples.soap.GeoServicesTests) Time elapsed: 0.006 s <<< FAILURE! java.lang.RuntimeException: java.lang.NullPointerException: Cannot invoke "java.lang.reflect.Method.invoke(Object, Object[])" because "com.sun.xml.bind.v2.runtime.reflect.opt.Injector.defineClass" is null at com.epam.jdi.httptests.examples.soap.GeoServicesTests.checkGeocodeAddressNonParsed(GeoServicesTests.java:24)

Run https://github.com/jdi-testing/jdi-dark/runs/3714178375?check_suite_focus=true

pnatashap commented 1 year ago

Works fine on jdk 16