-
Notifications
You must be signed in to change notification settings - Fork 37
FIX: RHMAP-19268 - Client gets null pointer exception when connection tag is disabled #257
Conversation
@MikeyBurkman could you help here to verify this PR and via checking if it will solve the issue open from you? |
@camilamacedo86 There's another occurrence of accessing I still have NOT heard an answer as to whether just doing a null check here is correct or not. Why are all the arugments to the error handler undefined at this point? This seems to me like a real issue that this quick fix is just ignoring. |
Hi @MikeyBurkman, Regards your comment: The validation/implementation
|
Will have to get back to you on that. The guy who was debugging this just recently had a baby so he's going to be out for a few days and I don't have the time right now to get set up to debug it myself. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much for the PR @camilamacedo86 . Once the branch is rebased against master, the patch version number bumped and an update to the changelog, we can merge this.
@davidffrench all done for we merge it. Now we just need the approval to do that. Tks :-) |
Ref the Issue: #256
JIRA: https://issues.jboss.org/browse/RHMAP-19268
Root cause: The validation/implementation
req.status
was added without considering that thereq
can beundefined
in some situation. In order to prove it note that thereq
is checked at another point implemented previously. ( https://github.com/feedhenry/fh-js-sdk/blob/2.23.0/src/modules/initializer.js#L81 )