Offline inspection does not work anymore in WebStorm 9 (in combination with Git integration plugin)
Hi!
We just updated from Webstorm 8 to Webstorm 9 (WS-139.252), now the offline code inspection does not work anymore :(
We get the following error. However if I disable the "Git Integration" plugin (Version 8.1) everything works!
[ 2658] ERROR - spection.InspectionApplication - Cannot load project: com.intellij.ide.plugins.PluginManager$StartupAbortedException: com.intellij.diagnostic.PluginException: git4idea.test.GitTestRepositoryManager PluginClassLoader[Git4Idea, 8.1] [Plugin: Git4Idea]
java.lang.RuntimeException: Cannot load project: com.intellij.ide.plugins.PluginManager$StartupAbortedException: com.intellij.diagnostic.PluginException: git4idea.test.GitTestRepositoryManager PluginClassLoader[Git4Idea, 8.1] [Plugin: Git4Idea]
at com.intellij.openapi.ui.TestDialog$1.show(TestDialog.java:23)
at com.intellij.openapi.ui.Messages.showDialog(Messages.java:265)
at com.intellij.openapi.ui.Messages.showDialog(Messages.java:291)
at com.intellij.openapi.ui.Messages.showDialog(Messages.java:302)
at com.intellij.openapi.ui.Messages.showMessageDialog(Messages.java:351)
at com.intellij.ide.impl.ProjectUtil.openProject(ProjectUtil.java:184)
at com.intellij.ide.impl.ProjectUtil.openOrImport(ProjectUtil.java:109)
at com.intellij.codeInspection.InspectionApplication.b(InspectionApplication.java:137)
at com.intellij.codeInspection.InspectionApplication.access$200(InspectionApplication.java:58)
at com.intellij.codeInspection.InspectionApplication$1.run(InspectionApplication.java:102)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:893)
at com.intellij.codeInspection.InspectionApplication.startup(InspectionApplication.java:93)
at com.intellij.codeInspection.InspectionMain.main(InspectionMain.java:112)
at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:160)
at com.intellij.idea.MainImpl$1$1$1.run(MainImpl.java:66)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
[ 2661] ERROR - spection.InspectionApplication - WebStorm 9.0.1 Build #WS-139.252
[ 2661] ERROR - spection.InspectionApplication - JDK: 1.7.0_40
[ 2661] ERROR - spection.InspectionApplication - VM: Java HotSpot(TM) 64-Bit Server VM
[ 2662] ERROR - spection.InspectionApplication - Vendor: Oracle Corporation
[ 2662] ERROR - spection.InspectionApplication - OS: Linux
[ 2662] ERROR - spection.InspectionApplication - Last Action:
Cannot load project: com.intellij.ide.plugins.PluginManager$StartupAbortedException: com.intellij.diagnostic.PluginException: git4idea.test.GitTestRepositoryManager PluginClassLoader[Git4Idea, 8.1] [Plugin: Git4Idea]
Are we doing something wrong?
Please sign in to leave a comment.
Please can you attach your idea.log? How did you update WebStorm? Did you have WebStorm 9 RC installed?
Hi Elena,
thanks for your answer! Here's the log file.
It was a clean install of Webstorm 9 final release (WS-139.164). After that, I upgraded to the newest version WS-139.252.
Cheers
Michael
Attachment(s):
idea.log.zip
Log shows that the installation is broken. Such problems usually occiur when extracting installation package over existing installation... I can only suggest removing WebStorm completely and re-installing from scratch, by downloading the archive and extracting into the empty directory
Hi Elena!
I have just done the following on my Linux Laptop:
sh /neo/apps/WebStorm-139.252/bin/inspect.sh /home/neo/WebstormProjects/untitled /home/neo/WebstormProjects/untitled/.idea/inspectionProfiles/Project_Default.xml /home/neo/WebstormProjects/inspection-result -v1 -d /home/neo/WebstormProjects/untitled
And still the same problem (see linux-idea.log)!
If I start Webstorm normally, everything including the actual code inspection and also the "Git Integration" plugin (which obviously causes the error during offline inspection) works perfectly!
AND HERE COMES THE GOOD PART
I did the following on my Windows Laptop:
Same Problem! See windows-idea.log.
This looks like an offline inspection bug to me :-)
Attachment(s):
linux-idea.log.zip
windows-idea.log.zip
I see, thanks:) Logged as https://youtrack.jetbrains.com/issue/IDEA-132298, please vote for it