SOAP web service throws a stacktrace when raising a user exception #25590
Replies: 3 comments 1 reply
-
|
Would you have time to create some small reproducer ie. adding a test as a PR to the application-tests maven module? We put sources of the application to the src/main/... directories, test to the src/test/... directories, then we use ShrinkWrap to create an archive or a set of archives and deploy it just as user would do that, and finally run the test. See My first guess - can you check the war file or ear file if there are no Java EE or Jakarta EE API jars from an older version? In your project they should be all declared as a I would also recommend to try the latest version, 7.0.25. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @kiwipetedev, this looks like a complex issue and would require deeper investigation. Feel free to contact our engineering team at omnifish.ee/contact-us or even book a free consultation call with us. |
Beta Was this translation helpful? Give feedback.
-
|
Hi Ondro, thanks for your reply. I tried booking a free consultation call twice, but both times I got an error. The last error code was this - tid-ced952c2-624a-4270-8916-4f979b96e890. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a SOAP web service deployed on GF 7.0.15. I have recently upgraded the web service from Java 8 to Java 17. In the web service, I raise exceptions caused by user errors. With Java 8, these errors are sent back to the client, and the user sees an appropriate error message. However, with Java 17, a stacktrace is produced in the web service itself, and this is reported back to the client as a 500 error.
This is the stacktrace from the GF logs:
I'm not sure where to start to determine the cause of this. Does anyone know what is causing this?
Beta Was this translation helpful? Give feedback.
All reactions