Error in SonarLint for IntelliJ with Atom Icons Plugin

Environment:

  • Java: JetBrains s.r.o. 11.0.13
  • OS: Linux amd64
  • IDE: IntelliJ IDEA 2021.3
  • SonarLint: 6.3.1.40498
java.lang.NullPointerException
	at o.sl.ij.actions.SonarLintToolWindow.populateTaintVulnerabilitiesTab(SonarLintToolWindow.java:111)
	at o.sl.ij.issue.vulnerabilities.TaintVulnerabilitiesPresenter$presentTaintVulnerabilitiesForOpenFiles$1.run$lambda-0(TaintVulnerabilitiesPresenter.kt:93)
	at c.ij.oa.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:214)
	at c.ij.oa.application.TransactionGuardImpl.access$200(TransactionGuardImpl.java:21)
	at c.ij.oa.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:196)
	at c.ij.oa.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:805)
	at c.ij.oa.application.impl.ApplicationImpl.lambda$invokeLater$4(ApplicationImpl.java:348)
	at c.ij.oa.application.impl.FlushQueue.doRun(FlushQueue.java:82)
	at c.ij.oa.application.impl.FlushQueue.runNextEvent(FlushQueue.java:131)
	at c.ij.oa.application.impl.FlushQueue.flushNow(FlushQueue.java:47)
	at c.ij.oa.application.impl.FlushQueue$FlushNow.run(FlushQueue.java:187)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)

Hello @yacosta738,

Welcome to the community!

I can see indeed a condition where this error could happen. I created a ticket to fix the problem.

Thanks for raising the issue!
Damien

1 Like