Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update AnalyticsReporterDelegator to tolerate with missing BidRequest #1302

Merged
merged 1 commit into from
Jun 8, 2021

Conversation

SerhiiNahornyi
Copy link
Collaborator

@SerhiiNahornyi SerhiiNahornyi commented Jun 8, 2021

Fixes NPE:

2021-06-08 02:59:02.352 ERROR 13870 --- [vert.x-eventloop-thread-2] io.vertx.core.impl.ContextImpl : Unhandled exception

java.lang.NullPointerException: null
at org.prebid.server.analytics.AnalyticsReporterDelegator.logUnknownAdapters(AnalyticsReporterDelegator.java:114)
at org.prebid.server.analytics.AnalyticsReporterDelegator.checkUnknownAdaptersForAuctionEvent(AnalyticsReporterDelegator.java:109)
at org.prebid.server.analytics.AnalyticsReporterDelegator.delegateEvent(AnalyticsReporterDelegator.java:87)
at org.prebid.server.analytics.AnalyticsReporterDelegator.lambda$processEvent$1(AnalyticsReporterDelegator.java:78)
at io.vertx.core.impl.FutureImpl.setHandler(FutureImpl.java:80)

@lgtm-com
Copy link

lgtm-com bot commented Jun 8, 2021

This pull request introduces 2 alerts when merging efee093 into 81f950d - view on LGTM.com

new alerts:

  • 2 for Dereferenced variable may be null

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants