NullPointerException if setUserId is called with an empty argument and no transaction is active #1749
Labels
1
Story Point Estimate
bug
Something isn't working as designed/intended
jan-mar qtr
Represents proposed work item for the Jan-Mar quarter
Description
We occasionally encounter an exception from calls to
NewRelic.setUserId()
. This appears to be caused by this line inAgentAttributeSender
, which returns a null map reference when no transaction is active.Expected Behavior
Calls to
setUserId()
should succeed regardless of value of user ID argument or transaction state.Your Environment
The text was updated successfully, but these errors were encountered: