You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the RestfulServer there are two places (lines 1220 and 1282) where the Pointcut.SERVER_HANDLE_EXCEPTION interceptor is called and if it returns false (signifying that the exception has been "handled"), the handleRequest method then returns.
However, it doesn't clear the variable unhandledException before doing so which means the finally block then attempts to (re-)handle the exception. This can result it another exception being thrown as a second attempt is made to write an output result.
I believe the fix is to add:
`unhandledException = null;`
before each of these return statements.
The text was updated successfully, but these errors were encountered:
In the RestfulServer there are two places (lines 1220 and 1282) where the Pointcut.SERVER_HANDLE_EXCEPTION interceptor is called and if it returns false (signifying that the exception has been "handled"), the handleRequest method then returns.
However, it doesn't clear the variable unhandledException before doing so which means the finally block then attempts to (re-)handle the exception. This can result it another exception being thrown as a second attempt is made to write an output result.
I believe the fix is to add:
before each of these return statements.
The text was updated successfully, but these errors were encountered: