Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-10728

ClassNotFoundException: org.apache.ivy.Ivy On repository startup

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 5.0.0
    • None
    • None
    • Turing
    • Turing Sprint 157, Turing Sprint 158

    Description

      Starting acceptance  project on Cloud gave the following exception.

      Looks like the Groovy upgrade tries to load Ivy for grab but unclear.

      No verified reproduction path. This issue can be closed if not reproduced before release

       

      Caused by: java.lang.ClassNotFoundException: org.apache.ivy.Ivy
      at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1332) ~[catalina.jar:8.0.36]
      at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1166) ~[catalina.jar:8.0.36]
      at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:1.8.0_102]
      at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) ~[?:1.8.0_102]
      at java.lang.Class.privateGetPublicMethods(Class.java:2902) ~[?:1.8.0_102]
      at java.lang.Class.getMethods(Class.java:1615) ~[?:1.8.0_102]
      at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1336) ~[?:1.8.0_102]
      at java.beans.Introspector.getTargetMethodInfo(Introspector.java:1197) ~[?:1.8.0_102]
      at java.beans.Introspector.getBeanInfo(Introspector.java:426) ~[?:1.8.0_102]
      at java.beans.Introspector.getBeanInfo(Introspector.java:173) ~[?:1.8.0_102]
      at groovy.lang.MetaClassImpl$15.run(MetaClassImpl.java:3290) ~[groovy-all-2.4.7.jar:2.4.7]
      at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_102]
      at groovy.lang.MetaClassImpl.addProperties(MetaClassImpl.java:3288) ~[groovy-all-2.4.7.jar:2.4.7]
      at groovy.lang.MetaClassImpl.initialize(MetaClassImpl.java:3265) ~[groovy-all-2.4.7.jar:2.4.7]
      at org.codehaus.groovy.reflection.ClassInfo.getMetaClassUnderLock(ClassInfo.java:254) ~[groovy-all-2.4.7.jar:2.4.7]
      at org.codehaus.groovy.reflection.ClassInfo.getMetaClass(ClassInfo.java:285) ~[groovy-all-2.4.7.jar:2.4.7]
      at groovy.grape.GrapeIvy.$getStaticMetaClass(GrapeIvy.groovy) ~[groovy-all-2.4.7.jar:2.4.7]
      at groovy.grape.GrapeIvy.<init>(GrapeIvy.groovy:81) ~[groovy-all-2.4.7.jar:2.4.7]
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_102]
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_102]
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_102]
      at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_102]
      at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_102]
      at groovy.grape.Grape.getInstance(Grape.java:121) ~[groovy-all-2.4.7.jar:2.4.7]
      at groovy.grape.Grape.grab(Grape.java:159) ~[groovy-all-2.4.7.jar:2.4.7]
      at groovy.grape.GrabAnnotationTransformation.visit(GrabAnnotationTransformation.java:378) ~[groovy-all-2.4.7.jar:2.4.7]
      at org.codehaus.groovy.transform.ASTTransformationVisitor$3.call(ASTTransformationVisitor.java:321) ~[groovy-all-2.4.7.jar:2.4.7]
      at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:931) ~[groovy-all-2.4.7.jar:2.4.7]
      at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:593) ~[groovy-all-2.4.7.jar:2.4.7]
      at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:569) ~[groovy-all-2.4.7.jar:2.4.7]
      at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:546) ~[groovy-all-2.4.7.jar:2.4.7]
      at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:298) ~[groovy-all-2.4.7.jar:2.4.7]
      at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:268) ~[groovy-all-2.4.7.jar:2.4.7]
      at org.onehippo.repository.update.UpdaterInfo.<init>(UpdaterInfo.java:123) ~[hippo-repository-engine-5.0.0-SNAPSHOT.jar:5.0.0-SNAPSHOT]
      at org.onehippo.repository.update.UpdaterRegistry.buildRegistry(UpdaterRegistry.java:78) ~[hippo-repository-engine-5.0.0-SNAPSHOT.jar:5.0.0-SNAPSHOT]
      at org.onehippo.repository.update.UpdaterRegistry.start(UpdaterRegistry.java:57) ~[hippo-repository-engine-5.0.0-SNAPSHOT.jar:5.0.0-SNAPSHOT]
      at org.onehippo.repository.update.UpdaterExecutionModule.initialize(UpdaterExecutionModule.java:69) ~[hippo-repository-engine-5.0.0-SNAPSHOT.jar:5.0.0-SNAPSHOT]
      at org.onehippo.repository.modules.ModuleManager.startModule(ModuleManager.java:172) ~[hippo-repository-engine-5.0.0-SNAPSHOT.jar:5.0.0-SNAPSHOT]
      at org.onehippo.repository.modules.ModuleManager.startModules(ModuleManager.java:143) ~[hippo-repository-engine-5.0.0-SNAPSHOT.jar:5.0.0-SNAPSHOT]
      at org.onehippo.repository.modules.ModuleManager.start(ModuleManager.java:80) ~[hippo-repository-engine-5.0.0-SNAPSHOT.jar:5.0.0-SNAPSHOT]
      at org.hippoecm.repository.LocalHippoRepository.initialize(LocalHippoRepository.java:291) ~[hippo-repository-engine-5.0.0-SNAPSHOT.jar:5.0.0-SNAPSHOT]
      at org.hippoecm.repository.LocalHippoRepository.create(LocalHippoRepository.java:120) ~[hippo-repository-engine-5.0.0-SNAPSHOT.jar:5.0.0-SNAPSHOT]
      at org.hippoecm.repository.LocalHippoRepository.create(LocalHippoRepository.java:110) ~[hippo-repository-engine-5.0.0-SNAPSHOT.jar:5.0.0-SNAPSHOT]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_102]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_102]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_102]
      at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_102]
      at org.hippoecm.repository.HippoRepositoryFactory.getHippoRepository(HippoRepositoryFactory.java:178) ~[hippo-repository-connector-5.0.0-SNAPSHOT.jar:5.0.0-SNAPSHOT]
      ... 17 more
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            abanck Arent-Jan Banck (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: