You found a bug! We've classified it as
IDEAPLUGIN-366
.
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
-
Sencha User
Get the Error java.lang.Object cannot be cast to com.sencha.idea.ui.NewAppModel
I have installed IntelliJ IDE Version 2017.3.2 (Trial for 30 days)
Downloaded Sencha -jetbrains-plugin-6.0.11.531
Tried to Create a New Sencha ExtJS Application and get the error:
java.lang.Object cannot be cast to com.sencha.idea.ui.NewAppModel
java.lang.ClassCastException: java.lang.Object cannot be cast to com.sencha.idea.ui.NewAppModel
at com.sencha.idea.project.ExtJSAppGenerator.generateProject(ExtJSAppGenerator.groovy)
at com.intellij.openapi.module.WebModuleBuilder.a(WebModuleBuilder.java:104)
at com.intellij.openapi.module.WebModuleBuilder.commitModule(WebModuleBuilder.java:92)
at com.intellij.ide.util.projectWizard.ModuleBuilder.commit(ModuleBuilder.java:322)
at com.intellij.ide.impl.NewProjectUtil.a(NewProjectUtil.java:149)
at com.intellij.ide.impl.NewProjectUtil.createFromWizard(NewProjectUtil.java:76)
at com.intellij.ide.impl.NewProjectUtil.createNewProject(NewProjectUtil.java:71)
at com.intellij.ide.actions.NewProjectAction.actionPerformed(NewProjectAction.java:36)
at com.intellij.ui.components.labels.ActionLink$1.linkSelected(ActionLink.java:67)
at com.intellij.ui.components.labels.LinkLabel.doClick(LinkLabel.java:156)
at com.intellij.ui.components.labels.ActionLink.doClick(ActionLink.java:80)
at com.intellij.ui.components.labels.LinkLabel$MyMouseHandler.mouseReleased(LinkLabel.java:352)
at java.awt.Component.processMouseEvent(Component.java:6541)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6306)
at java.awt.Container.processEvent(Container.java:2237)
at java.awt.Component.dispatchEventImpl(Component.java:4897)
at java.awt.Container.dispatchEventImpl(Container.java:2295)
at java.awt.Component.dispatchEvent(Component.java:4719)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4889)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4526)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4467)
at java.awt.Container.dispatchEventImpl(Container.java:2281)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4719)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)
at java.awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
at java.awt.EventQueue$4.run(EventQueue.java:737)
at java.awt.EventQueue$4.run(EventQueue.java:735)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:734)
at com.intellij.ide.IdeEventQueue.h(IdeEventQueue.java:822)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:646)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:366)
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)
-
Sencha - Support Team
Hi--,
It looks like this has been filed in our tracking system so I've gone ahead and linked your thread to the open bug.
Regards,
Bryan
-
Sencha User
Hi,
Thanks Bryan!!
Any clue when it will be fixed??
Best Regards
Raj
-
Sencha Premium Member
Same error, anything new for an update?
-
Sencha Premium User
Hi,
any update on this bug ?
Thank you.