-
Notifications
You must be signed in to change notification settings - Fork 223
Open
Description
Complaint
Mobile pubs sometimes report a crash on interstitial requests like:
500 error type: Critical error while running the auction: null
(talk to me in Prebid Slack I'll give you a curl)
Root cause analysis
formats is not null-checked here in the Index Exchange adapter:
| } else if (formats.size() == 1) { |
and it causes a crash when there was no formats specified and no matching sizes were computed due to device.ext.prebid.interstitial.min[width/height]perc being too high or not specified. imp will be returned unaltered from here in either of those cases:
prebid-server-java/src/main/java/org/prebid/server/auction/InterstitialProcessor.java
Line 83 in 01acd95
| return imp; |
Fix options
- implement a null check and a test case (but other adapters may have similar failures, thus see option 2)
- ensure
formatsis always an array before sending it to bid adapters either empty or with at least one size (but which?)
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Triage