Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No class found definition error since 0.11.112 #688

Closed
hoshsadiq opened this issue Mar 3, 2016 · 6 comments
Closed

No class found definition error since 0.11.112 #688

hoshsadiq opened this issue Mar 3, 2016 · 6 comments

Comments

@hoshsadiq
Copy link

After #686 I've upgraded and I continually get the following error in the event log:

NoClassDefFoundError: org/apache/commons/vfs2/FileSystemException

Full stack trace:

org/apache/commons/vfs2/FileSystemException
java.lang.NoClassDefFoundError: org/apache/commons/vfs2/FileSystemException
    at fr.adrienbrault.idea.symfony2plugin.Symfony2ProjectComponent.projectClosed(Symfony2ProjectComponent.java:104)
    at com.intellij.openapi.project.impl.ProjectImpl.a(ProjectImpl.java:412)
    at com.intellij.openapi.project.impl.ProjectImpl.access$300(ProjectImpl.java:63)
    at com.intellij.openapi.project.impl.ProjectImpl$MyProjectManagerListener.projectClosed(ProjectImpl.java:440)
    at com.intellij.openapi.project.impl.ProjectManagerImpl$1.projectClosed(ProjectManagerImpl.java:106)
    at com.intellij.openapi.project.impl.ProjectManagerImpl.d(ProjectManagerImpl.java:736)
    at com.intellij.openapi.project.impl.ProjectManagerImpl.access$700(ProjectManagerImpl.java:67)
    at com.intellij.openapi.project.impl.ProjectManagerImpl$10.run(ProjectManagerImpl.java:634)
    at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1010)
    at com.intellij.openapi.project.impl.ProjectManagerImpl.closeProject(ProjectManagerImpl.java:629)
    at com.intellij.openapi.project.impl.ProjectManagerImpl.closeAndDispose(ProjectManagerImpl.java:656)
    at com.intellij.ide.impl.ProjectUtil.closeAndDispose(ProjectUtil.java:87)
    at com.intellij.openapi.wm.impl.IdeFrameImpl$5$1.run(IdeFrameImpl.java:267)
    at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.a(LaterInvocator.java:337)
    at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:321)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:745)
    at java.awt.EventQueue.access$300(EventQueue.java:103)
    at java.awt.EventQueue$3.run(EventQueue.java:706)
    at java.awt.EventQueue$3.run(EventQueue.java:704)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:715)
    at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:866)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:654)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:381)
    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: org.apache.commons.vfs2.FileSystemException PluginClassLoader[fr.adrienbrault.idea.symfony2plugin, 0.11.112]
    at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:68)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    ... 32 more
@hoshsadiq hoshsadiq changed the title No class found definition error since 0.11.111 No class found definition error since 0.11.112 Mar 4, 2016
@sidz
Copy link

sidz commented Mar 4, 2016

same problem, and I can't open twig templates.

@akostylev0
Copy link

@hoshsadiq @sidz try to invalidate cache with restart + reenable plugin for project.
its helped me

UPD!
And clean index

@sidz
Copy link

sidz commented Mar 4, 2016

@Ezaki113 PhpStorm 145.184.39 your solution doesn't help :(

@samimussbach
Copy link

I deleted the jar in the pluginfolder (~/.WebIde100/config/plugins/symfony2-plugin.jar or USER.WebIde100\config\plugins\symfony2-plugin.jar on Win) and replaced it with the last stable Version 0.11.110 from https://plugins.jetbrains.com/plugin/download?pr=&updateId=24192
until the next Version is stable.

@Haehnchen
Copy link
Owner

for now just enable the plugin "Remote Hosts Access" for this missing class. cleanup follows

@samimussbach
Copy link

0.11.113 works for me, no errors any more

@Haehnchen Haehnchen modified the milestone: PhpStorm 2016.1 Mar 13, 2016
@Haehnchen Haehnchen removed this from the PhpStorm 2016.1 milestone Mar 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants