wmyywm / eclipse-code-formatter-intellij-plugin

Automatically exported from code.google.com/p/eclipse-code-formatter-intellij-plugin
0 stars 0 forks source link

update failed for AnAction with ID=EditSource: java.lang.ClassNotFoundException: com.android.tools.idea.roots.ui.configuration.GradleProjectSettingsService #49

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. open intellij
2. out this error
3.

update failed for AnAction with ID=EditSource: 
java.lang.ClassNotFoundException: 
com.android.tools.idea.roots.ui.configuration.GradleProjectSettingsService
java.lang.RuntimeException: java.lang.ClassNotFoundException: 
com.android.tools.idea.roots.ui.configuration.GradleProjectSettingsService
    at com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAdapter.loadClass(ServiceManagerImpl.java:131)
    at com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAdapter.getDelegate(ServiceManagerImpl.java:171)
    at com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAdapter.initializeInstance(ServiceManagerImpl.java:159)
    at com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAdapter$1.compute(ServiceManagerImpl.java:147)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:964)
    at com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAdapter.getComponentInstance(ServiceManagerImpl.java:139)
    at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:241)
    at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:228)
    at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:215)
    at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.getComponentInstance(AbstractDelegatingMutablePicoContainer.java:75)
    at com.intellij.openapi.components.ServiceManager.getService(ServiceManager.java:40)
    at com.intellij.openapi.roots.ui.configuration.ProjectSettingsService.getInstance(ProjectSettingsService.java:39)
    at com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode.canNavigate(PsiDirectoryNode.java:209)
    at com.intellij.ide.actions.BaseNavigateToSourceAction.getTarget(BaseNavigateToSourceAction.java:81)
    at com.intellij.ide.actions.BaseNavigateToSourceAction.update(BaseNavigateToSourceAction.java:40)
    at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:100)
    at com.intellij.openapi.actionSystem.impl.Utils.doUpdate(Utils.java:167)
    at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:126)
    at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:85)
    at com.intellij.openapi.actionSystem.impl.Utils.fillMenu(Utils.java:241)
    at com.intellij.openapi.actionSystem.impl.ActionPopupMenuImpl$MyMenu.show(ActionPopupMenuImpl.java:96)
    at com.intellij.ide.ui.customization.CustomizationUtil$3.invokePopup(CustomizationUtil.java:284)
    at com.intellij.ui.PopupHandler.mouseReleased(PopupHandler.java:55)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:290)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
    at java.awt.Component.processMouseEvent(Component.java:6505)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
    at com.intellij.ui.treeStructure.Tree.processMouseEvent(Tree.java:420)
    at com.intellij.ide.dnd.aware.DnDAwareTree.processMouseEvent(DnDAwareTree.java:51)
    at java.awt.Component.processEvent(Component.java:6270)
    at java.awt.Container.processEvent(Container.java:2229)
    at java.awt.Component.dispatchEventImpl(Component.java:4861)
    at java.awt.Container.dispatchEventImpl(Container.java:2287)
    at java.awt.Component.dispatchEvent(Component.java:4687)
    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:4687)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:729)
    at java.awt.EventQueue.access$200(EventQueue.java:103)
    at java.awt.EventQueue$3.run(EventQueue.java:688)
    at java.awt.EventQueue$3.run(EventQueue.java:686)
    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:702)
    at java.awt.EventQueue$4.run(EventQueue.java:700)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:699)
    at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:700)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:521)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:348)
    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)
Caused by: java.lang.ClassNotFoundException: 
com.android.tools.idea.roots.ui.configuration.GradleProjectSettingsService
    at com.intellij.util.lang.UrlClassLoader.findClass(UrlClassLoader.java:101)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
    at com.intellij.util.lang.UrlClassLoader.loadClass(UrlClassLoader.java:115)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:266)
    at com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAdapter.loadClass(ServiceManagerImpl.java:128)
    ... 60 more

What is the expected output? What do you see instead?
no error

What version of the product are you using? On what operating system?
IDE version: http://s23.postimg.org/50v16d03v/Immagine.png
Windows 7 home premium x64
Android Studio 0.1.1

Please provide any additional information below.

Original issue reported on code.google.com by luongo.v...@gmail.com on 31 May 2013 at 7:17

GoogleCodeExporter commented 9 years ago
and what exactly has it to do with this plugin? :)

Original comment by vojta.kr...@gmail.com on 1 Jun 2013 at 12:21

GoogleCodeExporter commented 9 years ago
for formatting my code eclipse style

Original comment by luongo.v...@gmail.com on 1 Jun 2013 at 12:44

GoogleCodeExporter commented 9 years ago
I tried it and it works ok. 
Also there is no class from this plugin in the stacktrace.

Original comment by vojta.kr...@gmail.com on 1 Jun 2013 at 12:53

GoogleCodeExporter commented 9 years ago
http://stackoverflow.com/questions/16815393/android-studio-classnotfoundexceptio
n-occured-while-running-the-project/16873002#16873002

Original comment by vojta.kr...@gmail.com on 1 Jun 2013 at 1:08