[ 
https://issues.apache.org/jira/browse/SLING-2852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Munteanu updated SLING-2852:
-----------------------------------

    Attachment: error.log
    
> Sling Launchpad Testing WAR - ClassCircularityError when executed in a reactor
> ------------------------------------------------------------------------------
>
>                 Key: SLING-2852
>                 URL: https://issues.apache.org/jira/browse/SLING-2852
>             Project: Sling
>          Issue Type: Bug
>          Components: Testing
>            Reporter: Robert Munteanu
>            Assignee: Robert Munteanu
>         Attachments: error.log, system-out-errors.txt
>
>
> The the launchpad/testing-war project is executed as part of a reactor build 
> it fails with a CCE. However, when run standalone does have this problem. The 
> problem can be seen for instance at 
> https://builds.apache.org/view/S-Z/view/Sling/job/sling-trunk-1.6/1640/consoleText
>  . I don't know about Java 7 tests since they fail earlier.
> 2013-05-02 14:04:54.986:INFO:/:sling: Starting Apache Sling in 
> /home/jenkins/jenkins-slave/workspace/sling-trunk-1.6/trunk/launchpad/testing-war/target/sling-cargo-test/sling
> java.lang.reflect.InvocationTargetException
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       at 
> org.apache.felix.framework.util.SecureAction.invoke(SecureAction.java:840)
>       at 
> org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:722)
>       at 
> org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:574)
>       at 
> org.apache.felix.framework.URLHandlersStreamHandlerProxy.parseURL(URLHandlersStreamHandlerProxy.java:369)
>       at java.net.URL.<init>(URL.java:596)
>       at java.net.URL.<init>(URL.java:464)
>       at sun.misc.URLClassPath$JarLoader.checkResource(URLClassPath.java:674)
>       at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:759)
>       at sun.misc.URLClassPath.getResource(URLClassPath.java:169)
>       at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>       at 
> org.apache.sling.launchpad.base.shared.LauncherClassLoader.loadClass(LauncherClassLoader.java:131)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>       at java.lang.Class.getDeclaredMethods0(Native Method)
>       at java.lang.Class.privateGetDeclaredMethods(Class.java:2436)
>       at java.lang.Class.getDeclaredMethod(Class.java:1937)
>       at 
> org.apache.sling.launchpad.base.impl.SlingFelix.getBundle(SlingFelix.java:114)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       at 
> org.apache.felix.framework.util.SecureAction.invoke(SecureAction.java:840)
>       at 
> org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:722)
>       at 
> org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:574)
>       at 
> org.apache.felix.framework.URLHandlersStreamHandlerProxy.parseURL(URLHandlersStreamHandlerProxy.java:369)
>       at java.net.URL.<init>(URL.java:596)
>       at java.net.URL.<init>(URL.java:464)
>       at sun.misc.URLClassPath$JarLoader.checkResource(URLClassPath.java:674)
>       at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:759)
>       at sun.misc.URLClassPath.getResource(URLClassPath.java:169)
>       at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>       at 
> org.apache.sling.launchpad.base.shared.LauncherClassLoader.loadClass(LauncherClassLoader.java:131)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>       at 
> org.apache.felix.framework.BundleWiringImpl.findResourcesByDelegation(BundleWiringImpl.java:1202)
>       at 
> org.apache.felix.framework.BundleWiringImpl.getResourcesByDelegation(BundleWiringImpl.java:1076)
>       at 
> org.apache.felix.framework.BundleWiringImpl.findResourcesByDelegation(BundleWiringImpl.java:1127)
>       at 
> org.apache.felix.framework.BundleWiringImpl.getResourcesByDelegation(BundleWiringImpl.java:1076)
>       at 
> org.apache.felix.framework.BundleWiringImpl$BundleClassLoaderJava5.getResources(BundleWiringImpl.java:1838)
>       at 
> org.slf4j.LoggerFactory.singleImplementationSanityCheck(LoggerFactory.java:219)
>       at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:107)
>       at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:279)
>       at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:252)
>       at 
> org.apache.sling.commons.logservice.internal.LogSupport.getLogger(LogSupport.java:413)
>       at 
> org.apache.sling.commons.logservice.internal.LogSupport.logOut(LogSupport.java:441)
>       at 
> org.apache.sling.commons.logservice.internal.LogSupport.fireLogEvent(LogSupport.java:212)
>       at 
> org.apache.sling.commons.logservice.internal.LogSupport.serviceChanged(LogSupport.java:301)
>       at 
> org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:932)
>       at 
> org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:793)
>       at 
> org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543)
>       at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4401)
>       at org.apache.felix.framework.Felix.registerService(Felix.java:3411)
>       at 
> org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346)
>       at 
> org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:320)
>       at 
> org.apache.sling.commons.logservice.internal.Activator.start(Activator.java:54)
>       at 
> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:645)
>       at org.apache.felix.framework.Felix.activateBundle(Felix.java:2134)
>       at org.apache.felix.framework.Felix.startBundle(Felix.java:2052)
>       at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1279)
>       at 
> org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
>       at java.lang.Thread.run(Thread.java:662)
> Caused by: java.lang.ClassCircularityError: 
> org/osgi/service/packageadmin/ExportedPackage
>       at java.lang.Class.getDeclaredMethods0(Native Method)
>       at java.lang.Class.privateGetDeclaredMethods(Class.java:2436)
>       at java.lang.Class.getDeclaredMethod(Class.java:1937)
>       at 
> org.apache.sling.launchpad.base.impl.SlingFelix.getBundle(SlingFelix.java:114)
>       ... 67 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to