google-code-export / ivyidea

Automatically exported from code.google.com/p/ivyidea
1 stars 0 forks source link

IvyIDEA doesn't work with IDEA 10.5 #80

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Select IvyDEA->Resolve for module ... / all modules

No libraries are created. Got internal IDEA error:

org/apache/commons/vfs/FileSystemException: 
org/apache/commons/vfs/FileSystemException
java.lang.NoClassDefFoundError: org/apache/commons/vfs/FileSystemException
    at org.apache.ivy.plugins.resolver.VfsResolver.<init>(VfsResolver.java:34)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at java.lang.Class.newInstance0(Class.java:355)
    at java.lang.Class.newInstance(Class.java:308)
    at org.apache.ivy.util.Configurator.addChild(Configurator.java:586)
    at org.apache.ivy.util.Configurator.startCreateChild(Configurator.java:503)
    at org.apache.ivy.core.settings.XmlSettingsParser.inConfiguratorStarted(XmlSettingsParser.java:558)
    at org.apache.ivy.core.settings.XmlSettingsParser.startElement(XmlSettingsParser.java:200)
    at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:277)
    at org.apache.ivy.core.settings.XmlSettingsParser.doParse(XmlSettingsParser.java:159)
    at org.apache.ivy.core.settings.XmlSettingsParser.parse(XmlSettingsParser.java:182)
    at org.apache.ivy.core.settings.XmlSettingsParser.includeStarted(XmlSettingsParser.java:424)
    at org.apache.ivy.core.settings.XmlSettingsParser.startElement(XmlSettingsParser.java:210)
    at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
    at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:277)
    at org.apache.ivy.core.settings.XmlSettingsParser.doParse(XmlSettingsParser.java:159)
    at org.apache.ivy.core.settings.XmlSettingsParser.parse(XmlSettingsParser.java:149)
    at org.apache.ivy.core.settings.IvySettings.load(IvySettings.java:377)
    at org.apache.ivy.Ivy.configure(Ivy.java:411)
    at org.clarent.ivyidea.ivy.IvyManager.getIvy(IvyManager.java:29)
    at org.clarent.ivyidea.resolve.DependencyResolver.resolve(DependencyResolver.java:52)
    at org.clarent.ivyidea.resolve.IntellijDependencyResolver$1.run(IntellijDependencyResolver.java:44)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:767)
    at org.clarent.ivyidea.resolve.IntellijDependencyResolver.resolve(IntellijDependencyResolver.java:40)
    at org.clarent.ivyidea.ResolveForAllModulesAction$1.doResolve(ResolveForAllModulesAction.java:37)
    at org.clarent.ivyidea.intellij.task.IvyIdeaResolveBackgroundTask.run(IvyIdeaResolveBackgroundTask.java:47)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:488)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:205)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:233)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:196)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl$6.run(ProgressManagerImpl.java:364)
    at com.intellij.openapi.application.impl.ApplicationImpl$6.run(ApplicationImpl.java:375)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
    at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:130)
Caused by: java.lang.ClassNotFoundException: 
org.apache.commons.vfs.FileSystemException
    at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:70)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    ... 62 more

java.lang.ClassNotFoundException: org.apache.commons.vfs.FileSystemException
    at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:70)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at org.apache.ivy.plugins.resolver.VfsResolver.<init>(VfsResolver.java:34)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at java.lang.Class.newInstance0(Class.java:355)
    at java.lang.Class.newInstance(Class.java:308)
    at org.apache.ivy.util.Configurator.addChild(Configurator.java:586)
    at org.apache.ivy.util.Configurator.startCreateChild(Configurator.java:503)
    at org.apache.ivy.core.settings.XmlSettingsParser.inConfiguratorStarted(XmlSettingsParser.java:558)
    at org.apache.ivy.core.settings.XmlSettingsParser.startElement(XmlSettingsParser.java:200)
    at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:277)
    at org.apache.ivy.core.settings.XmlSettingsParser.doParse(XmlSettingsParser.java:159)
    at org.apache.ivy.core.settings.XmlSettingsParser.parse(XmlSettingsParser.java:182)
    at org.apache.ivy.core.settings.XmlSettingsParser.includeStarted(XmlSettingsParser.java:424)
    at org.apache.ivy.core.settings.XmlSettingsParser.startElement(XmlSettingsParser.java:210)
    at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
    at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:277)
    at org.apache.ivy.core.settings.XmlSettingsParser.doParse(XmlSettingsParser.java:159)
    at org.apache.ivy.core.settings.XmlSettingsParser.parse(XmlSettingsParser.java:149)
    at org.apache.ivy.core.settings.IvySettings.load(IvySettings.java:377)
    at org.apache.ivy.Ivy.configure(Ivy.java:411)
    at org.clarent.ivyidea.ivy.IvyManager.getIvy(IvyManager.java:29)
    at org.clarent.ivyidea.resolve.DependencyResolver.resolve(DependencyResolver.java:52)
    at org.clarent.ivyidea.resolve.IntellijDependencyResolver$1.run(IntellijDependencyResolver.java:44)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:767)
    at org.clarent.ivyidea.resolve.IntellijDependencyResolver.resolve(IntellijDependencyResolver.java:40)
    at org.clarent.ivyidea.ResolveForAllModulesAction$1.doResolve(ResolveForAllModulesAction.java:37)
    at org.clarent.ivyidea.intellij.task.IvyIdeaResolveBackgroundTask.run(IvyIdeaResolveBackgroundTask.java:47)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:488)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:205)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:233)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:196)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl$6.run(ProgressManagerImpl.java:364)
    at com.intellij.openapi.application.impl.ApplicationImpl$6.run(ApplicationImpl.java:375)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
    at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:130)

OS: Windows 7

Original issue reported on code.google.com by Leonid.T...@gmail.com on 20 May 2011 at 11:18

GoogleCodeExporter commented 9 years ago
What version are you using?  I'm using 0.9 beta4 with IDEA 10.5 and it works OK.

Original comment by cjk...@gmail.com on 20 May 2011 at 3:26

GoogleCodeExporter commented 9 years ago
You right. The problem exists with 0.8, which is installed by default from 
IDEA's plugins tab. I downloaded 0.9 beta and it works. So the issue can be 
resolved.

Original comment by Leonid.T...@gmail.com on 21 May 2011 at 12:11

GoogleCodeExporter commented 9 years ago

Original comment by maarten....@gmail.com on 8 Jul 2011 at 12:48