SonarJava does have issues with Nullable, since update

75 views
Skip to first unread message

frank.re...@googlemail.com

unread,
Apr 17, 2018, 5:17:04 AM4/17/18
to SonarQube
Hello

I have updated from SonarJava 5.0.1 -> 5.3
Now i have new issues about Nullable.
In my project i use the eclipse annotations.
And this was working before the update.

Now, after the update, i have for example this issues:

"This method's return value is marked "org.eclipse.jdt.annotation.NonNullByDefault" but null is returned."
But the method is declared like this:

import org.eclipse.jdt.annotation.Nullable;
...
@Nullable
public String lookupFile(long address) {



Is this a regression bug?
Are there new configurations needed to keep this working?
Can someone help please?

Regards
Frank Benoit
Message has been deleted

Nicolas Peru

unread,
Apr 27, 2018, 5:19:35 AM4/27/18
to frank.re...@googlemail.com, SonarQube
Hi, 

You are encountering this issue : https://jira.sonarsource.com/browse/SONARJAVA-2734

Thanks.

--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/bae636ff-4885-4dbe-a79c-989921b6becf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Nicolas Peru | SonarSource
Reply all
Reply to author
Forward
0 new messages