Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

ClassCastException #10

Open
dpw67 opened this issue May 18, 2016 · 0 comments
Open

ClassCastException #10

dpw67 opened this issue May 18, 2016 · 0 comments

Comments

@dpw67
Copy link

dpw67 commented May 18, 2016

I received an IDE fatal error from WebStorm 2016.2 for nosql4idea with the following error when creating a new project. NoSql plugin was active in another project. An exception occurred in NoSql plugin at 4:44 pm yesterday, which happened 9 times since the last clear. I did not disable it as suggested, since it still appears to work when I checked that other project. For example, I can still display MongoDB collections. However, I thought it might be helpful to report this problem to you. I like the plugin, and it’s been quite useful. I have tried it with MongoDB for now, but will probably try Redis and possibly CouchDB later. Thanks for a nice plugin.

Error message:

update failed for AnAction with ID=RunClass: org.codinjutsu.tools.mongo.runner.MongoRunConfiguration cannot be cast to org.codinjutsu.tools.nosql.mongo.runner.MongoRunConfiguration

Details:

java.lang.ClassCastException: org.codinjutsu.tools.mongo.runner.MongoRunConfiguration cannot be cast to org.codinjutsu.tools.nosql.mongo.runner.MongoRunConfiguration
at org.codinjutsu.tools.nosql.mongo.runner.MongoScriptRunConfigurationProducer.createConfigurationByElement(MongoScriptRunConfigurationProducer.java:56)
at com.intellij.execution.junit.RuntimeConfigurationProducer.createProducer(RuntimeConfigurationProducer.java:61)
at com.intellij.execution.actions.PreferredProducerFind.findAllProducers(PreferredProducerFind.java:79)
at com.intellij.execution.actions.PreferredProducerFind.findPreferredProducers(PreferredProducerFind.java:53)
at com.intellij.execution.actions.ConfigurationContext.findPreferredProducers(ConfigurationContext.java:289)
at com.intellij.execution.actions.ConfigurationContext.findExisting(ConfigurationContext.java:188)
at com.intellij.execution.actions.BaseRunConfigurationAction.update(BaseRunConfigurationAction.java:191)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:120)
at com.intellij.openapi.actionSystem.impl.Utils.a(Utils.java:188)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:139)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:164)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:164)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:164)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:164)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:164)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:86)
at com.intellij.openapi.actionSystem.impl.Utils.fillMenu(Utils.java:280)
at com.intellij.openapi.actionSystem.impl.ActionPopupMenuImpl$MyMenu.show(ActionPopupMenuImpl.java:95)
at com.intellij.openapi.editor.impl.EditorImpl.a(EditorImpl.java:7130)
at com.intellij.openapi.editor.impl.EditorImpl.access$12200(EditorImpl.java:125)
at com.intellij.openapi.editor.impl.EditorImpl$MyMouseAdapter.f(EditorImpl.java:5914)
at com.intellij.openapi.editor.impl.EditorImpl$MyMouseAdapter.mousePressed(EditorImpl.java:5835)
at java.awt.Component.processMouseEvent(Component.java:6530)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6298)
at java.awt.Container.processEvent(Container.java:2236)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2294)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4522)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
at java.awt.Container.dispatchEventImpl(Container.java:2280)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at com.intellij.ide.IdeEventQueue.h(IdeEventQueue.java:857)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:654)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:386)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant