apache / apache/druid

Spotbugs build error

Open
#7,942 2 comments 0 reactions 0 assignees View on GitHub
Area - Automation/Static Analysis Area - Dev Development Blocker
Dominant language
Java
Stars
14.1k
Forks
3.8k
Avg merge
2d 58m
Merged PRs (30d)
233

Description

https://github.com/apache/incubator-druid/pull/7925#issuecomment-504464597

```
[ERROR] Method org.apache.druid.math.expr.StringExpr.toString() overrides the return value nullness annotation in an incompatible way. [org.apache.druid.math.expr.StringExpr] At Expr.java:[line 350] NP_METHOD_RETURN_RELAXING_ANNOTATION
```

FYI @Fokko

Contributor guide

Open the contributing guide

Research direction

Start with the linked pull-request comment and inspect Expr.java around line 350, especially StringExpr.toString() and the reported nullness annotation conflict. Confirm the SpotBugs failure and identify what change is needed for the build to pass without NP_METHOD_RETURN_RELAXING_ANNOTATION.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.