Skip to main content
2 votes
1 answer
99 views

I uses nullaway and jspecify in spring web application.My code is like below import org.jspecify.annotations.NonNull; import org.jspecify.annotations.NullUnmarked; @NullUnmarked public class Foo { ...
sunhang's user avatar
  • 417
0 votes
1 answer
153 views

I'm attempting to detect null pointer exceptions in a Java file using NullAway. However, NullAway cannot be runned due to an assertion error related to its initialization: java.lang.AssertionError: ...
Ziao Li's user avatar
  • 51
0 votes
1 answer
157 views

I'm facing to a problem below. [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------...
user25339347's user avatar
1 vote
1 answer
665 views

We're trying to add "Nullaway" (https://github.com/uber/NullAway) to our repo. This is a tool that assumes everything not annotated with @Nullable can't be null and enforces it in compile ...
user1700773's user avatar
2 votes
1 answer
194 views

Trying to understand why Kotlin's smart cast doesn't trigger for a fairly simple use case: val x: Int? = 1 val notNull: Boolean = x != null if (notNull) { val y: Int = x // fails to smart cast }...
Grozz's user avatar
  • 8,455
1 vote
0 answers
568 views

I am incorporating null away and error prone into my app and have added the following to my top-level build.gradle buildscript { repositories { google() maven { url 'https://...
Zachary Sweigart's user avatar
0 votes
2 answers
1k views

In a Maven build how do I configure Nullaway to exclude test classes? Right now it's firing on code that specifically checks that NullPointerExceptions are thrown in the right places. The code to be ...
Elliotte Rusty Harold's user avatar
1 vote
0 answers
79 views

Is it possible to configure the IntelliJ or maybe the NullAway to consider non annotated method as Nullable by default? e.g. The following method: context.getResources().getString(R.string.app_name);...
ademar111190's user avatar
  • 14.5k