[
https://issues.apache.org/jira/browse/AXIS2-5470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13535859#comment-13535859
]
Brian Reinhold commented on AXIS2-5470:
---------------------------------------
Phani,
I am not an expert on the xml coding but there are many out there who are. But
you need to provide enough information so the problem can be reproduced. Some
kind of description of the setup, the transaction, the environment (how is this
being deployed? Tomcat? Client and service on the same system or different
systems? Who is using version 1 and who is using version 2?) where the error
is observed, and a log and/or stack trace of the error are really essential. At
this stage one has no idea where the error is occurring and if it is even an
Axis2 error (might be Axiom). At least a log of the error and who is reporting
the error would be much more informative. This information needs to be in the
bug report. At least a stack trace shows the line and module of where the error
occurs.
Come to think of it, one still doesn't know how the error is expressed. Does it
cause an exception? Do you even get a stack trace? What happens at the time of
the error.
Here is an example of the start of a stack trace
2012-12-18 18:02:33,968 [localhost-startStop-1] DEBUG
org.springframework.core.type.classreading.AnnotationAttributesReadingVisitor
- Failed to classload type while reading annotation metadata. This is a
non-fatal error, but certain annotation metadata may be unavailable.
java.lang.ClassNotFoundException:
org.springframework.data.mongodb.core.mapping.Document
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1711)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556)
at
org.springframework.core.type.classreading.RecursiveAnnotationAttributesVisitor.visitEnd(AnnotationAttributesReadingVisitor.java:163)
at org.springframework.asm.ClassReader.a(Unknown Source)
at org.springframework.asm.ClassReader.accept(Unknown Source)
at org.springframework.asm.ClassReader.accept(Unknown Source)
at
org.springframework.core.type.classreading.SimpleMetadataReader.<init>(SimpleMetadataReader.java:59)
at
org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:80)
at
org.springframework.core.type.classreading.CachingMetadataReaderFactory.getMetadataReader(CachingMetadataReaderFactory.java:101)
at
org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:237)
at
org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:242)
at
org.springframework.context.annotation.ComponentScanBeanDefinitionParser.parse(ComponentScanBeanDefinitionParser.java:84)
at
org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:73)
at
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1423)
at
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1413)
at
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:184)
at
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:140)
at
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:111)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)
These are really essential to start any debugging.
> Problem with <xsi:nil="1"> in axis 2 1.6.2.i did'nt see this problem in axis
> 2 1.4.1.
> -------------------------------------------------------------------------------------
>
> Key: AXIS2-5470
> URL: https://issues.apache.org/jira/browse/AXIS2-5470
> Project: Axis2
> Issue Type: Bug
> Reporter: phanikumar
> Priority: Blocker
>
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]