You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jokūbas (Jira)" <ji...@apache.org> on 2021/11/15 09:13:00 UTC
[jira] [Commented] (KARAF-7276) LinkageError when receiving SOAP message with attachments
[ https://issues.apache.org/jira/browse/KARAF-7276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17443660#comment-17443660 ]
Jokūbas commented on KARAF-7276:
--------------------------------
Is there any progress, how can I fix this problem ? It is really important for us, because our project is coming to an end and we need solution for this bug.
> LinkageError when receiving SOAP message with attachments
> ---------------------------------------------------------
>
> Key: KARAF-7276
> URL: https://issues.apache.org/jira/browse/KARAF-7276
> Project: Karaf
> Issue Type: Bug
> Components: karaf
> Affects Versions: 4.3.3
> Environment: Java 11,
> CXF 4.3.3
> Reporter: Jokūbas
> Assignee: Freeman Yue Fang
> Priority: Major
>
> LinkageError when receiving SOAP message with attachments:
> java.lang.LinkageError: loader constraint violation for class org.apache.cxf.jaxb.attachment.JAXBAttachmentUnmarshaller: when selecting overriding method 'javax.activation.DataHandler org.apache.cxf.jaxb.attachment.JAXBAttachmentUnmarshaller.getAttachmentAsDataHandler(java.lang.String)' the class loader org.apache.felix.framework.BundleWiringImpl$BundleClassLoader @5d4d3872 of the selected method's type org.apache.cxf.jaxb.attachment.JAXBAttachmentUnmarshaller, and the class loader 'app' for its super type javax.xml.bind.attachment.AttachmentUnmarshaller have different Class objects for the type javax.activation.DataHandler used in the signature (org.apache.cxf.jaxb.attachment.JAXBAttachmentUnmarshaller is in unnamed module of loader org.apache.felix.framework.BundleWiringImpl$BundleClassLoader @5d4d3872, parent loader java.net.URLClassLoader @184f6be2; javax.xml.bind.attachment.AttachmentUnmarshaller is in unnamed module of loader 'app')
> at org.apache.cxf.jaxb.JAXBDataBase.getAttachmentUnmarshaller(JAXBDataBase.java:88) ~[?:?]
--
This message was sent by Atlassian Jira
(v8.20.1#820001)