Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-9530

Cannot serialize XML with spin-dataformat-all

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Won't Fix
    • Icon: L3 - Default L3 - Default
    • None
    • 7.10.0
    • spin
    • None

      Given
      wildfly is configured so that dataformat-all spin artifact is used

      When

      • I start a process application
      • I serialize / deserialize XML

      Then
      I get following error

      Hint:

      Caused by: spinjar.javax.xml.bind.JAXBException
       - with linked exception:
      [java.lang.ClassNotFoundException: spinjar.com.sun.xml.bind.v2.ContextFactory from [Module "deployment.serialization-0.1.0-SNAPSHOT.war" from Service Module Loader]]
      	at org.camunda.spin.camunda-spin-dataformat-all@1.6.3//spinjar.javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:242)
      	at org.camunda.spin.camunda-spin-dataformat-all@1.6.3//spinjar.javax.xml.bind.ContextFinder.find(ContextFinder.java:447)
      	at org.camunda.spin.camunda-spin-dataformat-all@1.6.3//spinjar.javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:652)
      	at org.camunda.spin.camunda-spin-dataformat-all@1.6.3//spinjar.javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:599)
      	at org.camunda.spin.camunda-spin-dataformat-all@1.6.3//org.camunda.spin.impl.xml.dom.format.spi.DefaultJaxBContextProvider.getContext(DefaultJaxBContextProvider.java:35)
      	... 184 more
      Caused by: java.lang.ClassNotFoundException: spinjar.com.sun.xml.bind.v2.ContextFactory from [Module "deployment.serialization-0.1.0-SNAPSHOT.war" from Service Module Loader]
      	at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:255)
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410)
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
      	at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
      	at org.camunda.spin.camunda-spin-dataformat-all@1.6.3//spinjar.javax.xml.bind.ContextFinder.safeLoadClass(ContextFinder.java:578)
      	at org.camunda.spin.camunda-spin-dataformat-all@1.6.3//spinjar.javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:240)
      	... 188 more
      

        This is the controller panel for Smart Panels app

              tassilo.weidner Tassilo Weidner
              michael.schoettes Michael Schoettes
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: