com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions commonj.sdo.DataObject is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at commonj.sdo.DataObject at protected commonj.sdo.DataObject sca.samples.jaxws.Create.arg0 at sca.samples.jaxws.Create commonj.sdo.DataObject does not have a no-arg default constructor. this problem is related to the following location: at commonj.sdo.DataObject at protected commonj.sdo.DataObjectsca.samples.jaxws.Create.arg0 at sca.samples.jaxws.Create atorg.apache.tuscany.sca.databinding.jaxb.JAXB2Node.transform(JAXB2Node.java:52)

tuscany-user | Malisetti, Ramanjaneyulu | 7 years ago
  1. 0

    RE: how do we attach Data Bindings

    tuscany-user | 7 years ago | Malisetti, Ramanjaneyulu
    com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions commonj.sdo.DataObject is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at commonj.sdo.DataObject at protected commonj.sdo.DataObject sca.samples.jaxws.Create.arg0 at sca.samples.jaxws.Create commonj.sdo.DataObject does not have a no-arg default constructor. this problem is related to the following location: at commonj.sdo.DataObject at protected commonj.sdo.DataObjectsca.samples.jaxws.Create.arg0 at sca.samples.jaxws.Create atorg.apache.tuscany.sca.databinding.jaxb.JAXB2Node.transform(JAXB2Node.java:52)
  2. 0

    Re: how do we attach Data Bindings

    tuscany-user | 7 years ago | Raymond Feng
    org.apache.tuscany.sca.databinding.TransformationException: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions commonj.sdo.DataObject is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at commonj.sdo.DataObject at protected commonj.sdo.DataObject sca.samples.jaxws.Create.arg0 at sca.samples.jaxws.Create commonj.sdo.DataObject does not have a no-arg default constructor. this problem is related to the following location: at commonj.sdo.DataObject at protected commonj.sdo.DataObject sca.samples.jaxws.Create.arg0 at sca.samples.jaxws.Create at org.apache.tuscany.sca.databinding.jaxb.JAXB2Node.transform(JAXB2Node.java:52)
  3. 0

    Re: Using Interfaces as parameter types of SCA service composite operation

    apache.org | 1 year ago
    org.apache.tuscany.sca.databinding.TransformationException: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 4 counts of IllegalAnnotationExceptions commonj.sdo.DataObject is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at commonj.sdo.DataObject at protected commonj.sdo.DataObject com.ca.ucf.connector.sca.jaxws.Start.arg1 at com.ca.ucf.connector.sca.jaxws.Start commonj.sdo.DataObject does not have a no-arg default constructor. this problem is related to the following location: at commonj.sdo.DataObject at protected commonj.sdo.DataObject com.ca.ucf.connector.sca.jaxws.Start.arg1 at com.ca.ucf.connector.sca.jaxws.Start com.ca.connector.runtime.OperationListener is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at com.ca.connector.runtime.OperationListener at protected com.ca.connector.runtime.OperationListener com.ca.ucf.connector.sca.jaxws.Start.arg3 at com.ca.ucf.connector.sca.jaxws.Start com.ca.connector.runtime.OperationListener does not have a no-arg default constructor. this problem is related to the following location: at com.ca.connector.runtime.OperationListener at protected com.ca.connector.runtime.OperationListener com.ca.ucf.connector.sca.jaxws.Start.arg3 at com.ca.ucf.connector.sca.jaxws.Start
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [jira] Created: (TUSCANY-3805) testSendMyException in FileTransferMTOMTestCase is failing

    tuscany-dev | 6 years ago | Simon Nash (JIRA)
    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.getS tackTrace() at java.lang.Throwable at java.lang.Exception at org.apache.tuscany.sca.binding.ws.axis2.itests.mtom.MyExceptionImpl at protected org.apache.tuscany.sca.binding.ws.axis2.itests.mtom.MyException org.apache.tuscany.sca.binding.ws.axis2.itests.mtom.jaxws.SendMyException.arg0 at org.apache.tuscany.sca.binding.ws.axis2.itests.mtom.jaxws.SendMyException at org.apache.tuscany.sca.databinding.jaxb.axiom.JAXB2OMElement.transform(JAXB2OMElement.java:54)
  6. 0

    Re: databinding-sdo-axiom - contribution

    tuscany-user | 7 years ago | Raymond Feng
    org.apache.tuscany.sca.databinding.TransformationException: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 4 counts of IllegalAnnotationExceptions commonj.sdo.DataObject is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at commonj.sdo.DataObject at protected commonj.sdo.DataObject com.ca.ucf.connector.sca.jaxws.Start.arg1 at com.ca.ucf.connector.sca.jaxws.Start commonj.sdo.DataObject does not have a no-arg default constructor. this problem is related to the following location: at commonj.sdo.DataObject at protected commonj.sdo.DataObject com.ca.ucf.connector.sca.jaxws.Start.arg1 at com.ca.ucf.connector.sca.jaxws.Start com.ca.connector.runtime.OperationListener is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at com.ca.connector.runtime.OperationListener at protected com.ca.connector.runtime.OperationListener com.ca.ucf.connector.sca.jaxws.Start.arg3 at com.ca.ucf.connector.sca.jaxws.Start com.ca.connector.runtime.OperationListener does not have a no-arg default constructor. this problem is related to the following location: at com.ca.connector.runtime.OperationListener at protected com.ca.connector.runtime.OperationListener com.ca.ucf.connector.sca.jaxws.Start.arg3 at com.ca.ucf.connector.sca.jaxws.Start at org.apache.tuscany.sca.databinding.jaxb.axiom.JAXB2OMElement.transform(JAXB2OMElement.java:60)
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. com.sun.xml.bind.v2.runtime.IllegalAnnotationsException

    2 counts of IllegalAnnotationExceptions commonj.sdo.DataObject is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at commonj.sdo.DataObject at protected commonj.sdo.DataObject sca.samples.jaxws.Create.arg0 at sca.samples.jaxws.Create commonj.sdo.DataObject does not have a no-arg default constructor. this problem is related to the following location: at commonj.sdo.DataObject at protected commonj.sdo.DataObjectsca.samples.jaxws.Create.arg0 at sca.samples.jaxws.Create atcom.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:102)

    at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet()
  2. Old JAXB Runtime
    ContextFactory.createContext
    1. com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:438)
    2. com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:286)
    3. com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:139)
    4. com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:117)
    4 frames
  3. Java RT
    JAXBContext.newInstance
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:585)
    5. javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:211)
    6. javax.xml.bind.ContextFinder.find(ContextFinder.java:372)
    7. javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574)
    8. javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:522)
    8 frames
  4. Apache Tuscany SCA Base Jar
    JAXBContextCache$1.run
    1. org.apache.tuscany.sca.databinding.jaxb.JAXBContextCache$1.run(JAXBContextCache.java:126)
    2. org.apache.tuscany.sca.databinding.jaxb.JAXBContextCache$1.run(JAXBContextCache.java:125)
    2 frames
  5. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  6. Apache Tuscany SCA Base Jar
    JDKInvocationHandler.invoke
    1. org.apache.tuscany.sca.databinding.jaxb.JAXBContextCache.newJAXBContext(JAXBContextCache.java:124)
    2. org.apache.tuscany.sca.databinding.jaxb.JAXBContextCache.getJAXBContext(JAXBContextCache.java:270)
    3. org.apache.tuscany.sca.databinding.jaxb.JAXBContextHelper.createJAXBContext(JAXBContextHelper.java:194)
    4. org.apache.tuscany.sca.databinding.jaxb.JAXBContextHelper.createJAXBContext(JAXBContextHelper.java:228)
    5. org.apache.tuscany.sca.databinding.jaxb.JAXBContextHelper.createJAXBContext(JAXBContextHelper.java:89)
    6. org.apache.tuscany.sca.databinding.jaxb.JAXB2Node.transform(JAXB2Node.java:43)
    7. org.apache.tuscany.sca.databinding.jaxb.JAXB2Node.transform(JAXB2Node.java:36)
    8. org.apache.tuscany.sca.databinding.DefaultTransformerExtensionPoint$LazyPullTransformer.transform(DefaultTransformerExtensionPoint.java:200)
    9. org.apache.tuscany.sca.databinding.impl.MediatorImpl.mediate(MediatorImpl.java:113)
    10. org.apache.tuscany.sca.core.databinding.transformers.Input2InputTransformer.transform(Input2InputTransformer.java:189)
    11. org.apache.tuscany.sca.core.databinding.transformers.Input2InputTransformer.transform(Input2InputTransformer.java:45)
    12. org.apache.tuscany.sca.databinding.impl.MediatorImpl.mediate(MediatorImpl.java:113)
    13. org.apache.tuscany.sca.databinding.impl.MediatorImpl.mediateInput(MediatorImpl.java:431)
    14. org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterceptor.invoke(DataTransformationInterceptor.java:65)
    15. org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:349)
    16. org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:193)
    16 frames
  7. Unknown
    $Proxy24.create
    1. $Proxy24.create(Unknown Source)
    1 frame
  8. sca.samples
    UnifiedServiceClient.create
    1. sca.samples.UnifiedServiceClient.create(UnifiedServiceClient.java:65)
    1 frame
  9. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:585)
    4 frames
  10. Apache Tuscany SCA Base Jar
    PassByValueInterceptor.invoke
    1. org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:156)
    2. org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.invoke(PassByValueInterceptor.java:60)
    2 frames
  11. org.apache.tuscany
    SCABindingInvoker.invoke
    1. org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.invoke(SCABindingInvoker.java:61)
    1 frame
  12. Apache Tuscany SCA Base Jar
    JDKInvocationHandler.invoke
    1. org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.invoke(PassByValueInterceptor.java:60)
    2. org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:349)
    3. org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:193)
    3 frames
  13. Unknown
    $Proxy24.create
    1. $Proxy24.create(Unknown Source)
    1 frame
  14. sca.samples
    UnifiedServiceClientTestCase.main
    1. sca.samples.UnifiedProxy.create(UnifiedProxy.java:107)
    2. sca.samples.UnifiedServiceClientTestCase.main(UnifiedServiceClientTestCase.java:135)
    2 frames