• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

uber / NullAway / #959
93%

Build:
DEFAULT BRANCH: master
Ran 14 Sep 2022 12:03AM UTC
Jobs 1
Files 73
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
#959

push

github-actions

web-flow
Prevent crash in fixserialization when ClassSymbol.sourcefile is null. (#656)

In general, neither `ClassSymbol.sourcefile` nor `ClassSymbol.classfile` are guaranteed to be non-null. This can lead to crashes when performing fixserialization, in particular when the symbol comes from a jar file.

This PR changes our logic to provide best effort file locations for code, checking first for `sourcefile`, then `classfile`, then defaulting to the string `"null"`. 

We also add a test case to simulate the behavior of other build systems (namely buck) where `sourcefile` might be `null`. This requires adding significant new mockito magic to our tests, including `mockito-inline`.

4929 of 5326 relevant lines covered (92.55%)

0.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #959.1 14 Sep 2022 12:03AM UTC 0
92.55
Source Files on build #959
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #959
  • 1cd2d280 on github
  • Prev Build on master
  • Next Build on master
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc