Viewing inspection data in IDEA not possible
I don't know if this is an IDEA or an TeamCity (plugin) issue, but accessing code inspection data of TC 3.0.1 from IDEA 7.0.2 doesn't work for me.
IDEA's log file shows the follwoing exception:
2008-02-08 10:20:18,329 ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=jetbrains.buildServer.codeInspection.actions.ShowProjectInspectionsAction$3$1@632ce9,notifier=null,catchExceptions=false,when=1202462418048] on sun.awt.windows.WToolkit@18a8bfa
java.lang.IllegalArgumentException: Argument 0 for @NotNull parameter of com/intellij/openapi/module/impl/ModuleManagerImpl.findModuleByName must not be null
at com.intellij.openapi.module.impl.ModuleManagerImpl.findModuleByName(ModuleManagerImpl.java)
at com.intellij.codeInspection.ex.InspectionRVContentProvider.buildTree(InspectionRVContentProvider.java:17)
at com.intellij.codeInspection.offlineViewer.OfflineInspectionRVContentProvider.appendToolNodeContent(OfflineInspectionRVContentProvider.java:1)
at com.intellij.codeInspection.ui.InspectionResultsView.a(InspectionResultsView.java:168)
at com.intellij.codeInspection.ui.InspectionResultsView.h(InspectionResultsView.java:221)
at com.intellij.codeInspection.ui.InspectionResultsView.updateView(InspectionResultsView.java:250)
at com.intellij.codeInspection.ui.InspectionResultsView.update(InspectionResultsView.java:43)
at com.intellij.codeInspection.actions.ViewOfflineResultsAction.showOfflineView(ViewOfflineResultsAction.java:28)
at com.intellij.codeInspection.actions.ViewOfflineResultsAction.showOfflineView(ViewOfflineResultsAction.java:19)
at jetbrains.buildServer.codeInspection.actions.ShowProjectInspectionsAction$3$1.run(ShowProjectInspectionsAction.java:97)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:10)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:87)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:188)
at com.intellij.ide.IdeEventQueue.pumpEventsForHierarchy(IdeEventQueue.java:216)
at com.intellij.openapi.progress.util.ProgressWindow.startBlocking(ProgressWindow.java:121)
at com.intellij.openapi.application.impl.ApplicationImpl.runProcessWithProgressSynchronously(ApplicationImpl.java:34)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcessWithProgressSynchronously(ProgressManagerImpl.java:65)
at jetbrains.buildServer.BuildServerManager.runProcessWithProgressSynchronously(BuildServerManager.java:658)
at jetbrains.buildServer.TeamCityProcessManager.performAction(TeamCityProcessManager.java:58)
at jetbrains.buildServer.codeInspection.actions.ShowProjectInspectionsAction.showBuildInspections(ShowProjectInspectionsAction.java:80)
at jetbrains.buildServer.codeInspection.actions.ShowProjectInspectionsAction.access$000(ShowProjectInspectionsAction.java:36)
at jetbrains.buildServer.codeInspection.actions.ShowProjectInspectionsAction$1.onChosen(ShowProjectInspectionsAction.java:53)
at jetbrains.buildServer.codeInspection.actions.ShowProjectInspectionsAction$1.onChosen(ShowProjectInspectionsAction.java:50)
at com.intellij.ui.popup.list.ListPopupImpl.b(ListPopupImpl.java:109)
at com.intellij.ui.popup.list.ListPopupImpl.handleSelect(ListPopupImpl.java:91)
at com.intellij.ui.popup.list.ListPopupImpl$MyMouseListener.mouseClicked(ListPopupImpl.java:13)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
at java.awt.Component.processMouseEvent(Component.java:6041)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3995)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:10)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:132)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:188)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
2008-02-08 10:20:18,344 ERROR - com.intellij.ide.IdeEventQueue - IntelliJ IDEA 7.0.2 Build #7590
2008-02-08 10:20:18,344 ERROR - com.intellij.ide.IdeEventQueue - JDK: 1.6.0_02
2008-02-08 10:20:18,344 ERROR - com.intellij.ide.IdeEventQueue - VM: Java HotSpot(TM) Client VM
2008-02-08 10:20:18,344 ERROR - com.intellij.ide.IdeEventQueue - Vendor: Sun Microsystems Inc.
2008-02-08 10:20:18,344 ERROR - com.intellij.ide.IdeEventQueue - OS: Windows XP
2008-02-08 10:20:18,344 ERROR - com.intellij.ide.IdeEventQueue - Last Action: BuildServer.ShowProjecct
Please sign in to leave a comment.
Hello Tobias,
This is IDEA's bug. Fix will be available in 7.0.3.
As a workaround you may disable show structure information in Inspection
Results View
Thank you
-
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"