org.kie.services.client.serialization.SerializationException: Unsupported JAXB Class encountered during initialization: Exception Description: Name collision. Two classes have the XML type with uri http://www.w3.org/2001/XMLSchema and name string.

Google Groups | Rinshin Pr | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Getting Error while calling KIE Remote Java API through webLogic server

    Google Groups | 10 months ago | Rinshin Pr
    org.kie.services.client.serialization.SerializationException: Unsupported JAXB Class encountered during initialization: Exception Description: Name collision. Two classes have the XML type with uri http://www.w3.org/2001/XMLSchema and name string.
  2. 0

    XML API occasionaly returns errors when serializing collections

    GitHub | 2 years ago | mcupak
    org.jboss.resteasy.plugins.providers.jaxb.JAXBMarshalException: javax.xml.bind.JAXBException: Exception Description: Class [com.dnastack.bob.dto.ReferenceTo] not found. - with linked exception: [Exception [EclipseLink-50047] (Eclipse Persistence Services - 2.6.0.v20140809-296a69f): org.eclipse.persistence.exceptions.JAXBException Exception Description: Class [com.dnastack.bob.dto.ReferenceTo] not found.]
  3. 0

    errors marshalling annotated class with moxy

    Stack Overflow | 3 years ago | kharesoft
    javax.ws.rs.WebApplicationException: javax.xml.bind.JAXBException: Exception Description: Duplicate Property named [passenger] found on class [kharesoft.sita.Bag] - with linked exception: [Exception [EclipseLink-50072] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.JAXBException Exception Description: Duplicate Property named [passenger] found on class [kharesoft.sita.Bag]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Eclipse Community Forums: EclipseLink ยป Moxy is not honoring "type" attribute in xml-element tag in EclipseLink 2.4.2

    eclipse.org | 2 years ago
    javax.xml.bind.JAXBException: Exception Description: The java interface entity.Setting can not be mapped by JAXB as it has multiple mappable parent interfaces. Multiple inheritence is not supported - with linked exception: [Exception [EclipseLink-50089] (Eclipse Persistence Services - 2.4.2.v20130514-5956486): org.eclipse.persistence.exceptions.JAXBException Exception Description: The java interface entity.Setting can not be mapped by JAXB as it has multiple mappable parent interfaces. Multiple inheritence is not supported]
  6. 0

    Update Exception 50001 to indicate that inner classes must be static

    Eclipse Bugzilla | 7 years ago | blaise.doughan
    javax.xml.bind.JAXBException: Exception Description: The class example.com.spring106.ejb.pojo.Employee$Timecard requires a zero argument constructor or a specified factory method - with linked exception: [Exception [EclipseLink-50001] (Eclipse Persistence Services - @VERSION@.@QUALIFIER@): org.eclipse.persistence.exceptions.JAXBException Exception Description: The class example.com.spring106.ejb.pojo.Employee$Timecard requires a zero argument constructor or a specified factory method]

    1 unregistered visitors
    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. javax.xml.bind.JAXBException

      Exception Description: Name collision. Two classes have the XML type with uri http://www.w3.org/2001/XMLSchema and name string. - with linked exception: [Exception [EclipseLink-50007] (Eclipse Persistence Services - 2.6.1.v20150916-55dc7c3): org.eclipse.persistence.exceptions.JAXBException Exception Description: Name collision. Two classes have the XML type with uri http://www.w3.org/2001/XMLSchema and name string.]

      at org.eclipse.persistence.jaxb.JAXBContext$TypeMappingInfoInput.createContextState()
    2. EclipseLink
      JAXBContextFactory.createContext
      1. org.eclipse.persistence.jaxb.JAXBContext$TypeMappingInfoInput.createContextState(JAXBContext.java:1127)
      2. org.eclipse.persistence.jaxb.JAXBContext.<init>(JAXBContext.java:192)
      3. org.eclipse.persistence.jaxb.JAXBContextFactory.createContext(JAXBContextFactory.java:165)
      4. org.eclipse.persistence.jaxb.JAXBContextFactory.createContext(JAXBContextFactory.java:152)
      5. org.eclipse.persistence.jaxb.JAXBContextFactory.createContext(JAXBContextFactory.java:112)
      6. org.eclipse.persistence.jaxb.JAXBContextFactory.createContext(JAXBContextFactory.java:102)
      6 frames
    3. Java RT
      JAXBContext.newInstance
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      5. javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:247)
      6. javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:234)
      7. javax.xml.bind.ContextFinder.find(ContextFinder.java:441)
      8. javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:641)
      9. javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:584)
      9 frames
    4. KIE Remote Services :: Client
      RemoteRuntimeEngine.getKieSession
      1. org.kie.remote.client.jaxb.ClientJaxbSerializationProvider.initialize(ClientJaxbSerializationProvider.java:103)
      2. org.kie.remote.client.jaxb.ClientJaxbSerializationProvider.initialize(ClientJaxbSerializationProvider.java:98)
      3. org.kie.remote.client.jaxb.ClientJaxbSerializationProvider.newInstance(ClientJaxbSerializationProvider.java:93)
      4. org.kie.services.client.api.command.RemoteConfiguration.initializeJaxbSerializationProvider(RemoteConfiguration.java:90)
      5. org.kie.services.client.api.command.AbstractRemoteCommandObject.<init>(AbstractRemoteCommandObject.java:79)
      6. org.kie.services.client.api.command.KieSessionClientCommandObject.<init>(KieSessionClientCommandObject.java:51)
      7. org.kie.services.client.api.command.RemoteRuntimeEngine.getKieSession(RemoteRuntimeEngine.java:24)
      7 frames
    5. model.contracts.projects
      ProjectsEOImpl.doDML
      1. model.contracts.projects.entity.java.ProjectReviewApproval.projectApprovalFlowCall(ProjectReviewApproval.java:259)
      2. model.contracts.projects.entity.ProjectsEOImpl.doDML(ProjectsEOImpl.java:48)
      2 frames
    6. oracle.jbo.server
      DBTransactionImpl.commit
      1. oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:7455)
      2. oracle.jbo.server.EntityImpl.callPostChanges(EntityImpl.java:7236)
      3. oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3379)
      4. oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3173)
      5. oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2174)
      6. oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2453)
      6 frames
    7. oracle.adf.model
      DCDataControl.callCommitTransaction
      1. oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1751)
      2. oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1477)
      2 frames
    8. oracle.jbo.uicli
      JUCtrlActionBinding.doIt
      1. oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1521)
      1 frame
    9. oracle.adf.model
      DCDataControl.invokeOperation
      1. oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2294)
      1 frame
    10. oracle.jbo.uicli
      JUCtrlActionBinding.invoke
      1. oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:785)
      1 frame
    11. oracle.adf.controller
      PageLifecycleImpl.executeEvent
      1. oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:414)
      1 frame
    12. oracle.adfinternal.view
      FacesCtrlActionBinding.execute
      1. oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:254)
      2. oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:212)
      2 frames
    13. view.projectManage
      ProjectManagesBean.OnSaveOfProjectRefIter
      1. view.projectManage.ProjectManagesBean.OnSaveOfProjectRefIter(ProjectManagesBean.java:123)
      1 frame
    14. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    15. EL
      MethodExpressionImpl.invoke
      1. com.sun.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:181)
      2. com.sun.el.parser.AstValue.invoke(AstValue.java:289)
      3. com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:304)
      3 frames
    16. JSF
      TagMethodExpression.invoke
      1. com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
      1 frame
    17. JavaEE 7
      ActionEvent.processListener
      1. javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:147)
      2. javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
      2 frames
    18. Apache MyFaces Trinidad API
      UIXComponent.broadcastInContext
      1. org.apache.myfaces.trinidad.component.UIXComponentBase.broadcast(UIXComponentBase.java:1126)
      2. org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:179)
      3. org.apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)
      3 frames
    19. oracle.adf.view
      UIXRegion.broadcast
      1. oracle.adf.view.rich.event.ProxyEvent.broadcastWrappedEvent(ProxyEvent.java:72)
      2. oracle.adf.view.rich.component.fragment.UIXRegion._handleProxyEvent(UIXRegion.java:933)
      3. oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:117)
      3 frames
    20. Apache MyFaces Trinidad API
      UIXComponent.broadcastInContext
      1. org.apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)
      1 frame
    21. oracle.adf.view
      UIXRegion.broadcast
      1. oracle.adf.view.rich.event.ProxyEvent.broadcastWrappedEvent(ProxyEvent.java:72)
      2. oracle.adf.view.rich.component.fragment.UIXRegion._handleProxyEvent(UIXRegion.java:933)
      3. oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:117)
      3 frames
    22. Apache MyFaces Trinidad API
      UIXComponent.broadcastInContext
      1. org.apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)
      1 frame
    23. oracle.adf.view
      UIXRegion.broadcast
      1. oracle.adf.view.rich.event.ProxyEvent.broadcastWrappedEvent(ProxyEvent.java:72)
      2. oracle.adf.view.rich.component.fragment.UIXRegion._handleProxyEvent(UIXRegion.java:933)
      3. oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:117)
      3 frames
    24. JavaEE 7
      UIViewRoot.processApplication
      1. javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:790)
      2. javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1282)
      2 frames
    25. oracle.adfinternal.view
      LifecycleImpl.execute
      1. oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:1207)
      2. oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executeInvokeApplication(LifecycleImpl.java:607)
      3. oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:348)
      4. oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:224)
      4 frames
    26. JavaEE 7
      FacesServlet.service
      1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:650)
      1 frame
    27. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)
      2. weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
      3. weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
      4. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)
      5. weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
      6. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
      6 frames
    28. oracle.adf.model
      ADFBindingFilter.doFilter
      1. oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:194)
      1 frame
    29. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
      1 frame
    30. oracle.adfinternal.view
      RegistrationFilter.doFilter
      1. oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:105)
      1 frame
    31. org.apache.myfaces
      TrinidadFilterImpl$FilterListChain.doFilter
      1. org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:529)
      1 frame
    32. oracle.adfinternal.view
      AdsFilter.doFilter
      1. oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      1 frame
    33. org.apache.myfaces
      TrinidadFilterImpl.doFilter
      1. org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:529)
      2. org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:354)
      3. org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:232)
      3 frames
    34. Apache MyFaces Trinidad API
      TrinidadFilter.doFilter
      1. org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      1 frame
    35. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
      1 frame
    36. oracle.adf.library
      LibraryFilter.doFilter
      1. oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:166)
      1 frame
    37. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
      1 frame
    38. Shiro
      OncePerRequestFilter.doFilter
      1. org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)
      2. org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
      3. org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
      4. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
      5. org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
      6. org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
      7. org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
      8. org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
      9. org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
      10. org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
      11. org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
      12. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
      12 frames
    39. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
      1 frame
    40. oracle.security.jps
      JpsAbsFilter$1.run
      1. oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:141)
      1 frame
    41. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    42. oracle.security.jps
      JpsFilter.doFilter
      1. oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      2. oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:649)
      3. oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:124)
      4. oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:232)
      5. oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:94)
      5 frames
    43. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
      1 frame
    44. oracle.dms.servlet
      DMSServletFilter.doFilter
      1. oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:224)
      1 frame
    45. Atmosphere weblogic
      WebAppServletContext$ServletInvocationAction.run
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
      2. weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:32)
      3. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
      4. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3654)
      5. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3620)
      5 frames
    46. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
      1 frame
    47. weblogic.security.service
      SecurityManager.runAsForUserCode
      1. weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)
      1 frame
    48. weblogic.servlet.provider
      WlsSubjectHandle.run
      1. weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
      2. weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
      2 frames
    49. Atmosphere weblogic
      ServletRequestImpl.run
      1. weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2423)
      2. weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2280)
      3. weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2258)
      4. weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1626)
      5. weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1586)
      5 frames
    50. weblogic.servlet.provider
      ContainerSupportProviderImpl$WlsRequestExecutor.run
      1. weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:270)
      1 frame
    51. weblogic.invocation
      ComponentInvocationContextManager.runAs
      1. weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
      2. weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
      2 frames
    52. weblogic.work
      ExecuteThread.run
      1. weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
      2. weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
      3. weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
      4. weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
      5. weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
      5 frames