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

uber / NullAway / #476
93%

Build:
DEFAULT BRANCH: master
Ran 22 Feb 2021 10:29PM UTC
Jobs 1
Files 42
Run time 7s
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
#476

push

github-actions

web-flow
Replace deprecated EP API buildDescriptionFromChecker with BugChecker#buildDescription (#447)

This PR replaces calls to the deprecated static `BugChecker.buildDescriptionFromChecker` method with calls to `BugChecker#buildDescription`, which was made public in google/error-prone@3ffb9ba42 and available in 2.4.0 and up.

This is necessary to use NullAway with Error Prone 2.5.0 and up, as google/error-prone@704e8a159 removed `BugChecker.buildDescriptionFromChecker` in favour of `BugChecker#buildDescription`. Attempting to use NullAway 0.8.0 with Error Prone 2.5.1 results in errors such as the following (preceeding stack trace from [`gradle-errorprone-plugin`](https://github.com/tbroyer/gradle-errorprone-plugin/) omitted for brevity):

```
Caused by: java.lang.NoSuchMethodError: 'com.google.errorprone.matchers.Description$Builder com.google.errorprone.BugCheckerInfo.buildDescriptionFromChecker(com.sun.source.tree.Tree, com.google.errorprone.bugpatterns.BugChecker)'
        at com.uber.nullaway.handlers.ContractHandler.reportMatch(ContractHandler.java:231)
        at com.uber.nullaway.handlers.ContractHandler.onDataflowVisitMethodInvocation(ContractHandler.java:130)
        at com.uber.nullaway.handlers.CompositeHandler.onDataflowVisitMethodInvocation(CompositeHandler.java:191)
        at com.uber.nullaway.dataflow.AccessPathNullnessPropagation.visitMethodInvocation(AccessPathNullnessPropagation.java:867)
        at com.uber.nullaway.dataflow.AccessPathNullnessPropagation.visitMethodInvocation(AccessPathNullnessPropagation.java:138)
        at shadow.checkerframework.dataflow.cfg.node.MethodInvocationNode.accept(MethodInvocationNode.java:76)
        at shadow.checkerframework.dataflow.analysis.Analysis.callTransferFunction(Analysis.java:408)
        at shadow.checkerframework.dataflow.analysis.Analysis.performAnalysisBlock(Analysis.java:234)
        at shadow.checkerframework.data... (continued)

3457 of 3878 relevant lines covered (89.14%)

0.89 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #476.1 22 Feb 2021 10:29PM UTC 0
89.14
Source Files on build #476
Detailed source file information is not available for this build.
  • Back to Repo
  • 5bfb130a 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