geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevan Miller (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GERONIMO-5751) LinkageError running CDI TCK
Date Thu, 13 Jan 2011 03:49:45 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-5751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12981117#action_12981117
] 

Kevan Miller commented on GERONIMO-5751:
----------------------------------------

For the record, here's the LinkageError you get running the TCK:

Caused by: java.lang.LinkageError: loader (instance of  org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader):
attempted  duplicate class definition for name: "org/testng/annotations/BeforeSuite"     
   
       at java.lang.ClassLoader.defineClass1(Native Method)                              
                                                                                         
                                        
       at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)                    
                                                                                         
                                        
       at java.lang.ClassLoader.defineClass(ClassLoader.java:616)                        
                                                                                         
                                        
       at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:188)
                                                                                         
                      
       at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:580)
                                                                                         
                            
       at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:550)
                                                                                         
                          
       at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:481)
                                                                                         
                     
       at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader(ClasspathManager.java:469)
                                                                                         
         
       at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)
                                                                                         
                         
       at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
                                                                                         
                   
       at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
                                                                                         
                                    
       at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
                                                                                         
                                 
       at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422) 
                                                                                         
                                        
       at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410) 
                                                                                         
                                        
       at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
                                                                                         
                        
       at java.lang.ClassLoader.loadClass(ClassLoader.java:248)                          
                                                                                         
                                        
       at java.lang.Class.forName0(Native Method)                                        
                                                                                         
                                        
       at java.lang.Class.forName(Class.java:247)                                        
                                                                                         
                                        
       at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:95)
                                                                                         
                        
       at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:107) 
                                                                                         
                                        
       at sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:31)
                                                                                         
                                        
       at sun.reflect.annotation.AnnotationParser.parseSig(AnnotationParser.java:370)    
                                                                                         
                                        
       at sun.reflect.annotation.AnnotationParser.parseAnnotation(AnnotationParser.java:181)
                                                                                         
                                     
       at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:69)
                                                                                         
                                    
       at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:52)
                                                                                         
                                     
       at java.lang.reflect.Method.declaredAnnotations(Method.java:693)                  
                                                                                         
                                        
       at java.lang.reflect.Method.getDeclaredAnnotations(Method.java:686)               
                                                                                         
                                        
       at java.lang.reflect.AccessibleObject.getAnnotations(AccessibleObject.java:175)   
                                                                                         
                                        
       at org.apache.xbean.finder.AbstractFinder$Annotatable.<init>(AbstractFinder.java:575)
                                                                                         
                                     
       at org.apache.xbean.finder.AbstractFinder$MethodInfo.<init>(AbstractFinder.java:725)
                                                                                         
                                      
       at org.apache.xbean.finder.AbstractFinder.readClassDef(AbstractFinder.java:552)   
                                                                                         
                                        
       at org.apache.xbean.finder.ClassFinder.<init>(ClassFinder.java:137)         
                                                                                         
                                              
       at org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.createInheritedClassFinder(AnnotationDeployer.java:3608)
                                                                                      
       at org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.deploy(AnnotationDeployer.java:670)
                                                                                         
                 
       at org.apache.openejb.config.AnnotationDeployer.deploy(AnnotationDeployer.java:246)
                                                                                         
                                       
       at org.apache.openejb.cdi.CdiResourceInjectionService.buildInjections(CdiResourceInjectionService.java:73)
                                                                                         
                
       at org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:158)
                                                                                         
                                    
       at org.apache.geronimo.openejb.ThreadSingletonServiceAdapter.initialize(ThreadSingletonServiceAdapter.java:62)
                                                                                         
            
       at org.apache.openejb.cdi.CdiBuilder.build(CdiBuilder.java:46)                    
                                                                                         
                                        
       at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:649)
                                                                                         
                                   
       ... 70 more                             

> LinkageError running CDI TCK
> ----------------------------
>
>                 Key: GERONIMO-5751
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5751
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 3.0-M2
>            Reporter: Kevan Miller
>             Fix For: 3.0-M2
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message