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
When a synthetics request is sent, the request contains an X-NewRelic-Synthetics header, but the agent is expecting both the X-NewRelic-Synthetics header and the X-NewRelic-Synthetics-Info header. When an X-NewRelic-Synthetics-Info header is not a part of the request, null values are added to the InboundHeaderState where information from the X-NewRelic-Synthetics-Info would have been. The agent is then trying to add those null attributes from the InboundHeaderState to the intrinsic attributes of transactions. This is causing the NullPointerException.
Acceptance Criteria
Add null checks to prevent NPE's when adding attributes from the InboundHeaderState to transaction intrinsic attributes in Transaction.java:
Add a null check to prevent unnecessary parsing of X-NewRelic-Synthetics-Info in InboundHeaderState.java:
The text was updated successfully, but these errors were encountered:
Description
When a synthetics request is sent, the request contains an
X-NewRelic-Synthetics
header, but the agent is expecting both theX-NewRelic-Synthetics
header and theX-NewRelic-Synthetics-Info
header. When anX-NewRelic-Synthetics-Info
header is not a part of the request, null values are added to the InboundHeaderState where information from theX-NewRelic-Synthetics-Info
would have been. The agent is then trying to add those null attributes from the InboundHeaderState to the intrinsic attributes of transactions. This is causing the NullPointerException.Acceptance Criteria
Add null checks to prevent NPE's when adding attributes from the InboundHeaderState to transaction intrinsic attributes in Transaction.java:
Add a null check to prevent unnecessary parsing of
X-NewRelic-Synthetics-Info
in InboundHeaderState.java:The text was updated successfully, but these errors were encountered: