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

uber / NullAway / #1021
93%

Build:
DEFAULT BRANCH: master
Ran 29 Dec 2022 01:20AM UTC
Jobs 1
Files 77
Run time 4s
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
#1021

push

github-actions

web-flow
Add source offset and path to reported errors in error serialization. (#704)

This PR updates error serialization contents by adding the source offset of the error and the path to the containing source file where the error is reported.

It will update the header of `errors.tsv` file (which each row is a reported error from NullAway) from below:
```tsv
"message_type" "message" "enc_class" "enc_member" "target_kind" "target_class" "target_method" "param" "index" "uri"
```
To:
```tsv
"message_type" "message" "enc_class" "enc_member" "offset" "uri" "target_kind" "target_class" "target_method" "target_param" "target_index" "target_uri"
```

Adding offset helps users to uniquely identify reported errors across different compilations.

This PR also adds support for backward compatibility with `SerializationAdapters`. Version `1` is considered for the previous output format, and version `2` applies the changes described above.

To control the serialization version, use the error prone flag below:
```
"-XepOpt:NullAway:SerializeFixMetadataVersion=version number",
```
example:
```
"-XepOpt:NullAway:SerializeFixMetadataVersion=2",
```

If not defined the latest version will be used.

5178 of 5572 relevant lines covered (92.93%)

0.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #1021.1 29 Dec 2022 01:20AM UTC 0
92.93
Source Files on build #1021
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #1021
  • e83747a0 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