Comments (3)
Product Infos
SpotBugs: 4.0.6
IntelliJ SpotBugs plugin: 1.2.2
IDEA: IntelliJ IDEA 2020.1.2
IDEA-Build: IU-201.7846.76, June 1, 2020
JRE: 11.0.7+10-b765.53 x86_64
JVM: OpenJDK 64-Bit Server VM JetBrains s.r.o.
java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0
at org.jetbrains.plugins.spotbugs.gui.toolwindow.view.BugTreePanel.scrollToPreviewSource(BugTreePanel.java:148)
at org.jetbrains.plugins.spotbugs.gui.toolwindow.view.BugTreePanel.setPreview(BugTreePanel.java:179)
at org.jetbrains.plugins.spotbugs.gui.tree.view.BugTree$SelectionListenerImpl.valueChanged(BugTree.java:324)
at java.desktop/javax.swing.JTree.fireValueChanged(JTree.java:2967)
at java.desktop/javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:3456)
at java.desktop/javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:641)
at java.desktop/javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1111)
at java.desktop/javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:297)
at java.desktop/javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelectionModel.java:191)
at java.desktop/javax.swing.JTree.setSelectionPath(JTree.java:1656)
at java.desktop/javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(BasicTreeUI.java:2736)
at java.desktop/javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(BasicTreeUI.java:4016)
at java.desktop/javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(BasicTreeUI.java:3955)
at com.intellij.util.ui.MouseEventAdapter.mousePressed(MouseEventAdapter.java:30)
at java.desktop/java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:288)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6647)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3345)
at java.desktop/java.awt.Component.processEvent(Component.java:6415)
at java.desktop/java.awt.Container.processEvent(Container.java:2263)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5025)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4857)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4544)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2773)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4857)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:778)
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)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:751)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:749)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:748)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:974)
at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.java:912)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:844)
at com.intellij.ide.IdeEventQueue.lambda$null$8(IdeEventQueue.java:449)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:741)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$9(IdeEventQueue.java:448)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:831)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:502)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
from spotbugs-intellij-plugin.
Duplicate of #35.
from spotbugs-intellij-plugin.
This will be fixed in an upcoming release.
from spotbugs-intellij-plugin.
Related Issues (20)
- java.lang.LinkageError: loader constraint violation: when resolving method 'org.slf4j.ILoggerFactory HOT 7
- java.util.ServiceConfigurationError: org.slf4j.spi.SLF4JServiceProvider: org.slf4j.jul.JULServiceProvider not a subtype at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:593) HOT 2
- java.util.ServiceConfigurationError: org.slf4j.spi.SLF4JServiceProvider: org.slf4j.jul.JULServiceProvider not a subtype at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:593) HOT 3
- Rules from fb-contrib not detected by plugin, but are detected in sonarqube HOT 2
- java.lang.IllegalArgumentException: Unsupported class file major version 61 at org.objectweb.asm.ClassReader.<init>(ClassReader.java:196)
- java.util.ServiceConfigurationError: org.slf4j.spi.SLF4JServiceProvider: org.slf4j.jul.JULServiceProvider not a subtype at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:593) HOT 2
- Settings window hangs with "loading ..." HOT 2
- Doesn't support generated-sources
- Do not request resource from classloader using path with leading slash
- com.intellij.diagnostic.PluginException: PSI element is provided on EDT by org.jetbrains.plugins.spotbugs.gui.tree.view.BugTree.getData("psi.Element"). Please move that to a BGT data provider using PlatformCoreDataKeys.BGT_DATA_PROVIDER [Plugin: org.jetbrains.plugins.spotbugs] at com.intellij.diagnostic.PluginProblemReporterImpl.createPluginExceptionByClass(PluginProblemReporterImpl.java:23)
- com.intellij.diagnostic.PluginException: 402 ms to call on EDT PreviewSelectBugInstance#update@mouse shortcut (org.jetbrains.plugins.spotbugs.actions.PreviewSelectBugInstance). Revise AnAction.getActionUpdateThread property [Plugin: org.jetbrains.plugins.spotbugs] at com.intellij.diagnostic.PluginProblemReporterImpl.createPluginExceptionByClass(PluginProblemReporterImpl.java:23)
- java.util.ServiceConfigurationError: org.slf4j.spi.SLF4JServiceProvider: org.slf4j.jul.JULServiceProvider not a subtype at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:593)
- java.util.ServiceConfigurationError: org.slf4j.spi.SLF4JServiceProvider: org.slf4j.jul.JULServiceProvider not a subtype at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:593)
- Since update to Intellij 2024.1, an error is reported for use of deprecated 'ActionUpdateThread.OLD_EDT' HOT 3
- Since update to Intellij 2024.1 java.lang.RuntimeException: Cannot invoke (class=BulkVirtualFileListenerAdapter, method=after, topic=BulkFileListener)
- org.jetbrains.plugins.spotbugs.messages.MessageBusManager holds disposed Project
- Update SpotBugs dependency to 4.8
- Cannot use Spotbugs at all: java.lang.LinkageError: loader constraint violation: when resolving method 'org.slf4j.ILoggerFactory HOT 1
- java.lang.Throwable: AWT events are not allowed inside write action: java.awt.event.FocusEvent[FOCUS_LOST,temporary,opposite=EditorComponent file=file://E:/DS/Java Projects/Learning/src/Ifstatement.java,cause=ACTIVATION] on com.intellij.ui.popup.list.ListPopupImpl$MyList[,0,0,390x173,invalid,alignmentX=0.0,alignmentY=0.0,border=com.intellij.ui.components.JBViewport$ViewBorder@11db3fd4,flags=33554728,maximumSize=,minimumSize=,preferredSize=,fixedCellHeight=-1,fixedCellWidth=-1,horizontalScrollIncrement=-1,selectionBackground=javax.swing.plaf.ColorUIResource[r=75,g=110,b=175] Name: List.selectionBackground,selectionForeground=javax.swing.plaf.ColorUIResource[r=187,g=187,b=187] Name: List.selectionForeground,visibleRowCount=30,layoutOrientation=0] at com.intellij.openapi.diagnostic.Logger.error(Logger.java:370)
- com.intellij.diagnostic.PluginException: 311 ms to call on EDT PreviewSelectBugInstance#update@mouse shortcut (org.jetbrains.plugins.spotbugs.actions.PreviewSelectBugInstance). Revise AnAction.getActionUpdateThread property [Plugin: org.jetbrains.plugins.spotbugs] at com.intellij.diagnostic.PluginProblemReporterImpl.createPluginExceptionByClass(PluginProblemReporterImpl.java:23)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spotbugs-intellij-plugin.