New issues raised without update of a source file

Hi,

Something strange appears on our sonarqube.
3 new issues has been raised but this source file hasn’t be updated since one year. Moreover sonarqube tell us that theses issues has been created since one month but i know that’s my last report (one week before) doesn’t show us theses issues.

Did you have an idea of what happens ?

Thanks

Vincent

Hi Vincent,

Thanks for starting with a screenshot of the issues!

From that I can see that all three issues are related to NPEs. This is a classic example of how a change in another file can cause a new issue on ‘old’ code. I’m going to guess that some other file or set of files was updated to make those variables potentially null. And so code that was safe previously now isn’t.

Does that make sense?

 
Ann

Hi Ann,

Sorry for the delay, i didn’t see the notification.
Thanks for your help, you’re right it make sense.

Unfortunately it seems not be the case. I didn’t find linked source files that has been modified.

Vincent

Hi Vincent,

No other files were modified a month ago? I would look at commits that correspond to the dates of the issues.

 
Ann