Moxy JAXB context creation failed [message #1549892] |
Tue, 06 January 2015 20:14 |
Balasubramanian Ponmariappan Messages: 1 Registered: January 2015 |
Junior Member |
|
|
Hi,
i am using moxy 2,6. i created moxy jaxb context for producing json. when creating jaxb context using jaxbContext = JAXBContextFactory.createContext(beanArray, null); it will throw the below error messages. please help me to solve this issue.
Caused by: java.lang.StackOverflowError
at java.lang.ClassLoader.getClassLoadingLock(ClassLoader.java:464) [rt.jar:1.7.0_80-ea]
at java.lang.ClassLoader.loadClass(ClassLoader.java:405) [rt.jar:1.7.0_80-ea]
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) [rt.jar:1.7.0_80-ea]
at java.lang.ClassLoader.loadClass(ClassLoader.java:358) [rt.jar:1.7.0_80-ea]
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:370) [jboss-modules.jar:1.3.0.Final-redhat-2]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118) [jboss-modules.jar:1.3.0.Final-redhat-2]
at org.eclipse.persistence.internal.jaxb.JaxbClassLoader.loadClass(JaxbClassLoader.java:107) [eclipselink.jar:2.6.0.v20141224-924f6b4]
at org.eclipse.persistence.jaxb.javamodel.reflection.JavaModelImpl.getClass(JavaModelImpl.java:97) [eclipselink.jar:2.6.0.v20141224-924f6b4]
at org.eclipse.persistence.jaxb.javamodel.Helper.getJavaClass(Helper.java:214) [eclipselink.jar:2.6.0.v20141224-924f6b4]
at org.eclipse.persistence.jaxb.compiler.AnnotationsProcessor.processChoiceProperty(AnnotationsProcessor.java:2485) [eclipselink.jar:2.6.0.v20141224-924f6b4]
at org.eclipse.persistence.jaxb.compiler.AnnotationsProcessor.processPropertyTypes(AnnotationsProcessor.java:1193) [eclipselink.jar:2.6.0.v20141224-924f6b4]
at org.eclipse.persistence.jaxb.compiler.AnnotationsProcessor.buildNewTypeInfo(AnnotationsProcessor.java:4948) [eclipselink.jar:2.6.0.v20141224-924f6b4]
at org.eclipse.persistence.jaxb.compiler.AnnotationsProcessor.processReferencedClass(AnnotationsProcessor.java:918) [eclipselink.jar:2.6.0.v20141224-924f6b4]
at org.eclipse.persistence.jaxb.compiler.AnnotationsProcessor.processChoiceProperty(AnnotationsProcessor.java:2511) [eclipselink.jar:2.6.0.v20141224-924f6b4]
at org.eclipse.persistence.jaxb.compiler.AnnotationsProcessor.processPropertyTypes(AnnotationsProcessor.java:1193) [eclipselink.jar:2.6.0.v20141224-924f6b4]
at org.eclipse.persistence.jaxb.compiler.AnnotationsProcessor.buildNewTypeInfo(AnnotationsProcessor.java:4948) [eclipselink.jar:2.6.0.v20141224-924f6b4]
Please look at the attached error log file for more detail.
|
|
|
Powered by
FUDForum. Page generated in 0.04394 seconds