Skip to content

issues Search Results · repo:uber/NullAway language:Java

Filter by

424 results
 (117 ms)

424 results

inuber/NullAway (press backspace or delete to remove)

Hi Here s code in our project: public class StringToEnumMapper implements Mapper String, Enum { @Override public Object map(String srcValue, Class Enum clz) { return srcValue == null ? null : ...
  • sergey-morenets
  • 1
  • Opened 
    2 days ago
  • #1180

Hi I m not sure if it s bug or not. So I created this ticket for the clarification. So I have the following code: @Nullable P dest = ReflectionUtil.createInstance(clz); Where createInstance: public ...
  • sergey-morenets
  • 2
  • Opened 
    2 days ago
  • #1179

Example: @NullMarked class SampleNullUnmarkedCall { @NullUnmarked static class Foo T { Foo(T t) {} static U Foo U id(U u) { return new Foo (u); } } static void test() { // ...
  • msridhar
  • Opened 
    2 days ago
  • #1178

Crashing on the following (adapted from Caffeine): import org.jspecify.annotations.NullMarked; import java.util.Set; import java.util.concurrent.CompletableFuture; import java.util.concurrent.ConcurrentHashMap; ...
  • msridhar
  • Opened 
    2 days ago
  • #1176

We should just use our generics checking, particularly with Guava 33.4.5 which has added @NullMarked annotations.
jspecify
  • msridhar
  • Opened 
    5 days ago
  • #1173

See this discussion for context. This reproduction case shows that the issue is specific to generic type usages: import java.util.ArrayList; import java.util.List; import org.jspecify.annotations.Nullable; ...
  • Stephan202
  • 5
  • Opened 
    6 days ago
  • #1172

See this discussion for context. I narrowed down the reproduction case to: import reactor.core.publisher.Mono; final class Test { void m() { Mono.justOrEmpty(null); } } In the absence of a dependency ...
  • Stephan202
  • 1
  • Opened 
    6 days ago
  • #1171

Error Prone has required JDK 17 since Sept. 2024 (version 2.32.0). NullAway currently still runs on JDK 11. Requiring JDK 17 could let us do some cleanup: 1. Text blocks would ease writing of tests. ...
  • msridhar
  • Opened 
    9 days ago
  • #1170

This is using NullAway 0.12.4. If using a switch expression with discard patterns, NullAway fails with a NullPointerException. This can be worked around by changing to something like var _. Interestingly ...
bug
  • MI3Guy
  • 1
  • Opened 
    10 days ago
  • #1168

I have a use case where I want to use Long.hashCode(long value). When I m invoking it with Long that is actually null, I m receiving NullPointerException. NullAway does not provide any warning that the ...
bug
  • violetagg
  • 1
  • Opened 
    16 days ago
  • #1162
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub