Closed bbockelm closed 3 months ago
Disagree. The code gets the transaction from the supplied user code, but if there is no such user code, then the transaction is null. Solution is to test for a null transaction and return that the user code is incorrect/not valid. So was the user code correct at that point?
Are we looking at the same line? Line 212 in 5.4.1 of that file is this:
MetaDebugUtil debugger = MyProxyDelegationServlet.createDebugger(trans.getOA2Client());
Yes. Line 212 creates a debugger and the NPE is because trans == null. That should be checked on line 211 and if null, an appropriate error message should be issued to the user.
Spotted this NPE when device code flow is being run:
Staring at the line of code a bit, it may be related to #136.