0 Replies Latest reply on Apr 6, 2017 3:38 AM by sajesh mali

    Getting Failed to create JAXBContext exception

    sajesh mali Newbie

      2017-04-05 07:38:03,747 INFO  [STDOUT] #text

      2017-04-05 07:38:03,747 INFO  [STDOUT] loping

      2017-04-05 07:38:03,754 ERROR [org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS] SOAP request exception

      javax.xml.ws.WebServiceException: org.jboss.ws.WSException: Failed to create JAXBContext

              at org.jboss.ws.core.jaxws.JAXBDeserializer.handleUnmarshallException(JAXBDeserializer.java:112)

              at org.jboss.ws.core.jaxws.JAXBDeserializer.deserialize(JAXBDeserializer.java:80)

              at org.jboss.ws.core.binding.DeserializerSupport.deserialize(DeserializerSupport.java:60)

              at org.jboss.ws.core.soap.XMLContent.unmarshallObjectContents(XMLContent.java:180)

              at org.jboss.ws.core.soap.XMLContent.transitionTo(XMLContent.java:97)

              at org.jboss.ws.core.soap.SOAPContentElement.transitionTo(SOAPContentElement.java:140)

              at org.jboss.ws.core.soap.SOAPContentElement.getObjectValue(SOAPContentElement.java:171)

              at org.jboss.ws.core.EndpointInvocation.transformPayloadValue(EndpointInvocation.java:263)

              at org.jboss.ws.core.EndpointInvocation.getRequestParamValue(EndpointInvocation.java:115)

              at org.jboss.ws.core.EndpointInvocation.getRequestPayload(EndpointInvocation.java:135)

              at org.jboss.ws.core.server.DelegatingInvocation.getArgs(DelegatingInvocation.java:82)

              at org.jboss.wsf.container.jboss42.DefaultInvocationHandler.invoke(DefaultInvocationHandler.java:102)

              at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:220)

              at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:424)

              at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:287)

              at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:197)

              at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:123)

              at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)

              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)

              at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)

              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)

              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)

              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)

              at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)

              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)

              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)

              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

              at java.lang.Thread.run(Thread.java:744)

      Caused by: org.jboss.ws.WSException: Failed to create JAXBContext

              at org.jboss.ws.core.jaxws.CustomizableJAXBContextFactory.createContext(CustomizableJAXBContextFactory.java:98)

              at org.jboss.ws.core.jaxws.JAXBDeserializer.getJAXBContext(JAXBDeserializer.java:98)

              at org.jboss.ws.core.jaxws.JAXBDeserializer.deserialize(JAXBDeserializer.java:68)

              ... 35 more

      Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions

      java.lang.StackTraceElement does not have a no-arg default constructor.

              this problem is related to the following location:

                      at java.lang.StackTraceElement

                      at public java.lang.StackTraceElement[] java.lang.Throwable.getStackTrace()

                      at java.lang.Throwable

                      at private java.lang.Throwable[] com.tcl.cboss.ws.jaxws.SOAPExceptionBean.suppressed

                      at com.tcl.cboss.ws.jaxws.SOAPExceptionBean

       

       

              at com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:106)

              at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:466)

              at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:298)

              at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:141)

              at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1157)

              at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:145)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

              at java.lang.reflect.Method.invoke(Method.java:606)

              at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:211)

              at javax.xml.bind.ContextFinder.find(ContextFinder.java:372)

              at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574)

              at org.jboss.ws.core.jaxws.CustomizableJAXBContextFactory.createContext(CustomizableJAXBContextFactory.java:92)

              ... 37 more

      2017-04-05 07:38:03,755 INFO  [STDOUT] env:Fault

      2017-04-05 07:38:03,755 INFO  [STDOUT] loping

      2017-04-05 07:38:03,756 INFO  [STDOUT] insert id in handle =======>f6332fce-83d0-4a79-8723-5d7a15d6cf37

      2017-04-05 07:38:03,759 ERROR [org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS] SOAP request exception

      javax.xml.ws.WebServiceException: org.jboss.ws.WSException: Failed to create JAXBContext

              at org.jboss.ws.core.jaxws.JAXBDeserializer.handleUnmarshallException(JAXBDeserializer.java:112)

              at org.jboss.ws.core.jaxws.JAXBDeserializer.deserialize(JAXBDeserializer.java:80)

              at org.jboss.ws.core.binding.DeserializerSupport.deserialize(DeserializerSupport.java:60)

              at org.jboss.ws.core.soap.XMLContent.unmarshallObjectContents(XMLContent.java:180)

              at org.jboss.ws.core.soap.XMLContent.transitionTo(XMLContent.java:97)

              at org.jboss.ws.core.soap.SOAPContentElement.transitionTo(SOAPContentElement.java:140)

              at org.jboss.ws.core.soap.SOAPContentElement.getObjectValue(SOAPContentElement.java:171)

              at org.jboss.ws.core.EndpointInvocation.transformPayloadValue(EndpointInvocation.java:263)

              at org.jboss.ws.core.EndpointInvocation.getRequestParamValue(EndpointInvocation.java:115)

              at org.jboss.ws.core.EndpointInvocation.getRequestPayload(EndpointInvocation.java:135)

              at org.jboss.ws.core.server.DelegatingInvocation.getArgs(DelegatingInvocation.java:82)

              at org.jboss.wsf.container.jboss42.DefaultInvocationHandler.invoke(DefaultInvocationHandler.java:102)

              at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:220)

              at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:424)

              at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:287)

              at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:197)

              at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:123)

              at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)

              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)

              at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)

              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)

              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)

              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)

              at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)

              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)

              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)

              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

              at java.lang.Thread.run(Thread.java:744)

      Caused by: org.jboss.ws.WSException: Failed to create JAXBContext

              at org.jboss.ws.core.jaxws.CustomizableJAXBContextFactory.createContext(CustomizableJAXBContextFactory.java:98)

              at org.jboss.ws.core.jaxws.JAXBDeserializer.getJAXBContext(JAXBDeserializer.java:98)

              at org.jboss.ws.core.jaxws.JAXBDeserializer.deserialize(JAXBDeserializer.java:68)

              ... 35 more

      Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions

      java.lang.StackTraceElement does not have a no-arg default constructor.

              this problem is related to the following location:

                      at java.lang.StackTraceElement

                      at public java.lang.StackTraceElement[] java.lang.Throwable.getStackTrace()

                      at java.lang.Throwable

                      at private java.lang.Throwable[] com.tcl.cboss.ws.jaxws.SOAPExceptionBean.suppressed

                      at com.tcl.cboss.ws.jaxws.SOAPExceptionBean

       

       

              at com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:106)

              at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:466)

              at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:298)

              at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:141)

              at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1157)

              at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:145)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

              at java.lang.reflect.Method.invoke(Method.java:606)

              at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:211)

              at javax.xml.bind.ContextFinder.find(ContextFinder.java:372)

              at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574)

              at org.jboss.ws.core.jaxws.CustomizableJAXBContextFactory.createContext(CustomizableJAXBContextFactory.java:92)

              ... 37 more