VAST ads are not playing due to a NumberFormatException in MediaFile.java (path: VastAdsComponent/src/main/java/com/amazon/android/ads/vast/model/vast).
Open
- Dominant language
- Java
- Stars
- 201
- Forks
- 255
- PR merge metrics
- No merged PRs in 30d
Description
The exception occurs because the code attempts to parse a null value into an integer. Please check and handle the case where the value is null before parsing.
Contributor guide
Research direction
Start in VastAdsComponent/src/main/java/com/amazon/android/ads/vast/model/vast/MediaFile.java and locate the integer parsing that receives the null value. Verify the null case is handled without raising NumberFormatException, then confirm VAST ads can proceed to playback without this failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 52/100