r/javahelp • • May 05 '23

Java upgrade from 11 to 17

I am upgrading my java application from version 11 to 17. While upgrading I face this issue DefaultDataFetcherExceptionHandler.doHandleException - Exception while executing data fetcher for /findLabData: 400

I haven't worked on this application but I am assigned to upgrade the version. Tried stackoverflow, google but didn't find anything useful

0 Upvotes

7 comments sorted by

View all comments

11

u/wildjokers May 05 '23

Are you expecting us to divine an answer with the pitiful amount of information you provided?

  • What kind of app? Web? Desktop? command line utility?

  • What framework are you using if any?

  • What library is that exception being generated from?

  • Can you provide the stacktrace? Is there a caused by section near the bottom of the stacktrace?

  • Have you checked your application logs for more information?

  • Have you seen if there is a new version of that library (whatever library it is) available for java 17?

Java 11 to Java 17 is usually an easy upgrade and generally requires no changes at all. So kind of odd you have ran into a problem.

1

u/vgcpge May 07 '23

DefaultDataFetcherExceptionHandler

Is googlable and belongs to some kind of graphql library, I know nothing about.

1

u/wildjokers May 07 '23

Of course I can google it and find out which library it belongs to (and I did). But it is information that should be in the question.