Cannot create new classes, components

Issue #160 resolved
Gurpreet Parmar created an issue

For all of my projects when I try to create a new class or component IntelliJ does not show me the prompt to name my component. At this point I am unable to create any new components in my projects through IntelliJ. I was not able to find any logs.

Comments (6)

  1. Scott Wells repo owner

    Hi, Gurpreet. Sorry for the issues you're seeing. Just to clarify, is this a change in behavior where things did work before or are you just trying to bring up a new project and seeing this behavior when trying these operations for the first time? The reason I ask is if it's a change in behavior, we'll want to look for something that might have contributed to that change, but if it's happening that way from the start, my guess is that the project or module is not configured properly yet.

    Also, you should be able to find logs using the menu item Help>Show Log in Explorer/Finder. Its name is idea.log.

    Keep me posted and we'll get you going!

  2. Gurpreet Parmar reporter

    Hi Scott,

    Thanks for the quick response, this is something that has changed where things did work before.

    Below is the error from the log

    2015-11-05 10:36:35,890 [1474308]  ERROR - llij.ide.plugins.PluginManager - Last Action: Apex.NewClassFile 
    2015-11-05 10:36:38,956 [1477374]  ERROR - llij.ide.plugins.PluginManager - com.intellij.ide.fileTemplates.FileTemplateManager.getInstance(Lcom/intellij/openapi/project/Project;)Lcom/intellij/ide/fileTemplates/FileTemplateManager; 
    java.lang.NoSuchMethodError: com.intellij.ide.fileTemplates.FileTemplateManager.getInstance(Lcom/intellij/openapi/project/Project;)Lcom/intellij/ide/fileTemplates/FileTemplateManager;
        at com.illuminatedcloud.intellij.filetype.IlluminatedCloudFileTemplateUtil.getFileTemplateManager(SourceFile:70)
        at com.illuminatedcloud.intellij.filetype.AbstractCreateApexFileAction.addCustomFileTemplates(SourceFile:104)
        at com.illuminatedcloud.intellij.filetype.AbstractCreateApexFileAction.buildDialog(SourceFile:59)
        at com.intellij.ide.actions.CreateFromTemplateAction.actionPerformed(CreateFromTemplateAction.java:63)
        at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:164)
        at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter$1.run(ActionMenuItem.java:266)
        at com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:926)
        at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.runOnOwnContext(IdeFocusManagerImpl.java:124)
        at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:236)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
        at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:105)
        at com.intellij.ui.plaf.beg.BegMenuItemUI.a(BegMenuItemUI.java:512)
        at com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:44)
        at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:532)
        at java.awt.Component.processMouseEvent(Component.java:6516)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3320)
        at java.awt.Component.processEvent(Component.java:6281)
        at java.awt.Container.processEvent(Container.java:2229)
        at java.awt.Component.dispatchEventImpl(Component.java:4872)
        at java.awt.Container.dispatchEventImpl(Container.java:2287)
        at java.awt.Component.dispatchEvent(Component.java:4698)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
        at java.awt.Container.dispatchEventImpl(Container.java:2273)
        at java.awt.Window.dispatchEventImpl(Window.java:2719)
        at java.awt.Component.dispatchEvent(Component.java:4698)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
        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.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
        at java.awt.EventQueue$4.run(EventQueue.java:708)
        at java.awt.EventQueue$4.run(EventQueue.java:706)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
        at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:748)
        at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:573)
        at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:384)
        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)
    2015-11-05 10:36:38,957 [1477375]  ERROR - llij.ide.plugins.PluginManager - IntelliJ IDEA 14.0.3  Build #IU-139.1117.1 
    2015-11-05 10:36:38,957 [1477375]  ERROR - llij.ide.plugins.PluginManager - JDK: 1.7.0_67 
    2015-11-05 10:36:38,957 [1477375]  ERROR - llij.ide.plugins.PluginManager - VM: Java HotSpot(TM) 64-Bit Server VM 
    2015-11-05 10:36:38,957 [1477375]  ERROR - llij.ide.plugins.PluginManager - Vendor: Oracle Corporation 
    2015-11-05 10:36:38,957 [1477375]  ERROR - llij.ide.plugins.PluginManager - OS: Mac OS X 
    2015-11-05 10:36:38,957 [1477375]  ERROR - llij.ide.plugins.PluginManager - Last Action: Visualforce.NewComponentFile 
    
  3. Scott Wells repo owner

    Gurpreet, I see that you're on IntelliJ IDEA 14.0.3. There are known issues with the plugin SDK in those early builds of 14. Can you update to the latest build of 14 (or 15 if you want to live on the bleeding edge!). That should resolve these issues.

  4. Log in to comment