Closed akmad closed 12 years ago
I have received another report of this error, but it doesn't happen in my setup, I suppose this happen because of a project created under IDEA 10 or 9 version and opened with the IDEA 11 version. Please help me with this, in a computer without intellij IDEA or a one that you don't care you intellij preferences remove .IntelliJIdea11 folder in $user.home folder, in windows 7 for example: c:/Users/yourname then install or start intellij 11 again, do not import any old preferences from other version, create a "new project from scratch", create a class and test if the error happens again, and please report your results right here. Thanks very much.
I have uploaded a new version with just subtle changes under 1.0.6 version you can see this here:
http://plugins.intellij.net/plugin/index?pr=&pluginId=5847
But you will have it for installing from Intellij IDEA Plugins setting panel within two days after being approved by jetbrains, please download GenerateTestCases_1.0.6.jar from here https://github.com/skarootz/GenerateTestCases/downloads
then go to
C:\Users\user.IntelliJIdea11\config\plugins\
remove the old jar that should be there, replace it with the one you downloaded, restart the IDE and try again, if it does work with your setup please report it here, then in a couple of days it should be available to be downloaded from intellij plugins site right from the IDE.
Thanks for your report
Thanks for pushing out a fix so quickly! I downloaded and installed the updated plugin and it's working great.
Thanks for testing it, perfect perfect it won't be, I haven't tested the plugin in IDEA 11 too much, but there were a couple of things failing like renaming the @should descriptions, anyway I'll fix them all, just feel free to report any bug and request feature, and I'll be glad to work on it, good bye and I'm waiting for your feedback on the plugin
On Fri, Jun 22, 2012 at 12:42 PM, Wes < reply@reply.github.com
wrote:
Thanks for pushing out a fix so quickly! I downloaded and installed the updated plugin and it's working great.
Reply to this email directly or view it on GitHub:
https://github.com/skarootz/GenerateTestCases/issues/26#issuecomment-6513854
Jaime Hablutzel - 9-9956-3299
(tildes omitidas intencionalmente)
I am getting an error in IntelliJ (version 11.1.2) with the 1.0.5 version of the GenerateTestCases plugin.
This error occurs when I click on the Generate Test Methods toolbar button: [Lcom.intellij.openapi.options.ConfigurableEP; cannot be cast to [Lcom.intellij.openapi.options.Configurable;: [Lcom.intellij.openapi.options.ConfigurableEP; cannot be cast to [Lcom.intellij.openapi.options.Configurable; java.lang.ClassCastException: [Lcom.intellij.openapi.options.ConfigurableEP; cannot be cast to [Lcom.intellij.openapi.options.Configurable; at com.intellij.generatetestcases.actions.GenerateTestMethods$1.getConfigurables(GenerateTestMethods.java:85) at com.intellij.ide.actions.ShowSettingsUtilImpl.a(ShowSettingsUtilImpl.java:173) at com.intellij.ide.actions.ShowSettingsUtilImpl.a(ShowSettingsUtilImpl.java:57) at com.intellij.ide.actions.ShowSettingsUtilImpl.showSettingsDialog(ShowSettingsUtilImpl.java:49) at com.intellij.generatetestcases.actions.GenerateTestMethods.actionPerformed(GenerateTestMethods.java:99) at com.intellij.openapi.actionSystem.impl.ActionButton.a(ActionButton.java:169) at com.intellij.openapi.actionSystem.impl.ActionButton.a(ActionButton.java:133) at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:310) at java.awt.Component.processEvent(Component.java:6055) at java.awt.Container.processEvent(Container.java:2039) at java.awt.Component.dispatchEventImpl(Component.java:4653) at java.awt.Container.dispatchEventImpl(Container.java:2097) at java.awt.Component.dispatchEvent(Component.java:4481) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166) at java.awt.Container.dispatchEventImpl(Container.java:2083) at java.awt.Window.dispatchEventImpl(Window.java:2482) at java.awt.Component.dispatchEvent(Component.java:4481) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:648) at java.awt.EventQueue.access$000(EventQueue.java:84) at java.awt.EventQueue$1.run(EventQueue.java:607) at java.awt.EventQueue$1.run(EventQueue.java:605) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98) at java.awt.EventQueue$2.run(EventQueue.java:621) at java.awt.EventQueue$2.run(EventQueue.java:619) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:618) at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:699) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:534) at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:420) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:378) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Thanks for creating this plugin and for any help that you can provide in getting it up and running!