Results 1 to 5 of 5

Thread: Get the Error java.lang.Object cannot be cast to com.sencha.idea.ui.NewAppModel

    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.
  1. #1
    Sencha User
    Join Date
    Nov 2016
    Posts
    8

    Default 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)

  2. #2
    Sencha - Support Team bjdurham85's Avatar
    Join Date
    Mar 2014
    Posts
    962
    Answers
    55

    Default

    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

  3. #3
    Sencha User
    Join Date
    Nov 2016
    Posts
    8

    Default

    Hi,

    Thanks Bryan!!
    Any clue when it will be fixed??

    Best Regards
    Raj

  4. #4
    Sencha Premium Member
    Join Date
    Oct 2010
    Posts
    7

    Default

    Same error, anything new for an update?

  5. #5
    Sencha Premium User
    Join Date
    May 2016
    Posts
    5

    Default

    Hi,

    any update on this bug ?


    Thank you.

Similar Threads

  1. Replies: 2
    Last Post: 6 Sep 2016, 2:12 AM
  2. Replies: 4
    Last Post: 20 Jan 2014, 7:14 PM
  3. sencha cmd v4.0.1.45 error(java.lang.NullPointerException)
    By icebergdelphi in forum Sencha Cmd
    Replies: 1
    Last Post: 14 Jan 2014, 7:54 PM
  4. sencha compile error(java.lang.NullPointerException)
    By smuthu01 in forum Sencha Touch 2.x: Bugs
    Replies: 3
    Last Post: 24 Dec 2013, 3:52 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •