guymahieu / ivyidea

Resolve dependencies for your Intellij projects using Ivy
Apache License 2.0
13 stars 18 forks source link

ClassNotFoundException: org.bouncycastle.openpgp.PGPException PluginClassLoader[IvyIDEA, 1.0.11] #144

Closed robinroos closed 4 years ago

robinroos commented 8 years ago

IvyIDEA appears not to work for me in IntelliJ IDEA 15.0.2 Build #UI-143.1184 (December 7, 2015).

Stack trace below.

org/bouncycastle/openpgp/PGPException java.lang.NoClassDefFoundError: org/bouncycastle/openpgp/PGPException at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671) at java.lang.Class.getConstructor0(Class.java:3075) at java.lang.Class.newInstance(Class.java:412) at org.apache.ivy.util.Configurator.addChild(Configurator.java:585) at org.apache.ivy.util.Configurator.startCreateChild(Configurator.java:502) at org.apache.ivy.core.settings.XmlSettingsParser.inConfiguratorStarted(XmlSettingsParser.java:579) at org.apache.ivy.core.settings.XmlSettingsParser.startElement(XmlSettingsParser.java:201) 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:274) at org.apache.ivy.core.settings.XmlSettingsParser.doParse(XmlSettingsParser.java:160) at org.apache.ivy.core.settings.XmlSettingsParser.parse(XmlSettingsParser.java:150) at org.apache.ivy.core.settings.IvySettings.load(IvySettings.java:393) at org.clarent.ivyidea.config.IvyIdeaConfigHelper.createConfiguredIvySettings(IvyIdeaConfigHelper.java:253) at org.clarent.ivyidea.intellij.facet.ui.BasicSettingsTab.createIvyEngineForCurrentSettingsInUI(BasicSettingsTab.java:183) at org.clarent.ivyidea.intellij.facet.ui.BasicSettingsTab.loadConfigurations(BasicSettingsTab.java:177) at org.clarent.ivyidea.intellij.facet.ui.BasicSettingsTab.reset(BasicSettingsTab.java:258) at com.intellij.openapi.options.UnnamedConfigurableGroup.reset(UnnamedConfigurableGroup.java:51) at com.intellij.facet.impl.ui.FacetEditorImpl.reset(FacetEditorImpl.java:65) at com.intellij.facet.impl.ProjectFacetsConfigurator.getOrCreateEditor(ProjectFacetsConfigurator.java:191) at com.intellij.openapi.roots.ui.configuration.projectRoot.FacetConfigurable.getEditor(FacetConfigurable.java:86) at com.intellij.openapi.roots.ui.configuration.projectRoot.FacetConfigurable.createOptionsPanel(FacetConfigurable.java:82) at com.intellij.openapi.ui.NamedConfigurable.createComponent(NamedConfigurable.java:85) at com.intellij.openapi.ui.MasterDetailsComponent.updateSelection(MasterDetailsComponent.java:700) at com.intellij.openapi.roots.ui.configuration.projectRoot.FacetStructureConfigurable.updateSelection(FacetStructureConfigurable.java:329) at com.intellij.openapi.ui.MasterDetailsComponent.setSelectedNode(MasterDetailsComponent.java:691) at com.intellij.openapi.ui.MasterDetailsComponent.updateSelectionFromTree(MasterDetailsComponent.java:261) at com.intellij.openapi.ui.MasterDetailsComponent.reset(MasterDetailsComponent.java:406) at com.intellij.openapi.roots.ui.configuration.projectRoot.BaseStructureConfigurable.reset(BaseStructureConfigurable.java:273) at com.intellij.openapi.roots.ui.configuration.projectRoot.FacetStructureConfigurable.reset(FacetStructureConfigurable.java:227) at com.intellij.openapi.roots.ui.configuration.ProjectStructureConfigurable.reset(ProjectStructureConfigurable.java:383) at com.intellij.openapi.options.ex.SingleConfigurableEditor.(SingleConfigurableEditor.java:69) at com.intellij.openapi.options.ex.SingleConfigurableEditor.(SingleConfigurableEditor.java:91) at com.intellij.openapi.options.ex.SingleConfigurableEditor.(SingleConfigurableEditor.java:106) at com.intellij.ide.actions.ShowStructureSettingsAction$1.(ShowStructureSettingsAction.java:43) at com.intellij.ide.actions.ShowStructureSettingsAction.showDialog(ShowStructureSettingsAction.java:43) at com.intellij.ide.actions.ShowStructureSettingsAction.actionPerformed(ShowStructureSettingsAction.java:38) at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:182) at com.intellij.openapi.actionSystem.impl.ActionButton.a(ActionButton.java:161) at com.intellij.openapi.actionSystem.impl.ActionButton.a(ActionButton.java:125) at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:299) at java.awt.Component.processEvent(Component.java:6290) at java.awt.Container.processEvent(Container.java:2234) at java.awt.Component.dispatchEventImpl(Component.java:4881) at java.awt.Container.dispatchEventImpl(Container.java:2292) at java.awt.Component.dispatchEvent(Component.java:4703) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462) at java.awt.Container.dispatchEventImpl(Container.java:2278) at java.awt.Window.dispatchEventImpl(Window.java:2750) at java.awt.Component.dispatchEvent(Component.java:4703) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86) at java.awt.EventQueue$4.run(EventQueue.java:731) at java.awt.EventQueue$4.run(EventQueue.java:729) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) at com.intellij.ide.IdeEventQueue.f(IdeEventQueue.java:866) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:650) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:381) 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) Caused by: java.lang.ClassNotFoundException: org.bouncycastle.openpgp.PGPException PluginClassLoader[IvyIDEA, 1.0.11] at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:68) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 83 more

robinroos commented 8 years ago

ideaversion

guymahieu commented 4 years ago

BouncyCastle dependency is now included in the classpath. Should work in the latest version