Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-3708

Could not initialize class com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder

    • Icon: Bug Bug
    • Resolution: Answered
    • Icon: Low Low
    • None
    • None
    • None
    • None

      Changing user preferences and/or deleting repositories fails:

      Unable to create filter
      com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder
      

      Workaround: Upgrade Java to at least 1.6.0_4

            [BSERV-3708] Could not initialize class com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder

            JavaSE 6 comes with JAXB 2.0 API in rt.jar, newer releases (since update 4) of JavaSE 6 contain JAXB 2.1 API.

            To avoid this problem you need to use at least Java SE 1.6.0_4.

            See https://jaxb.java.net/guide/Migrating_JAXB_2_0_applications_to_JavaSE_6.html#Using_JAXB_2_1_or_JAXB_2_2_with_JavaSE_6

            Stefan Saasen (Inactive) added a comment - JavaSE 6 comes with JAXB 2.0 API in rt.jar, newer releases (since update 4) of JavaSE 6 contain JAXB 2.1 API. To avoid this problem you need to use at least Java SE 1.6.0_4. See https://jaxb.java.net/guide/Migrating_JAXB_2_0_applications_to_JavaSE_6.html#Using_JAXB_2_1_or_JAXB_2_2_with_JavaSE_6

              Unassigned Unassigned
              drohan Daniel R
              Affected customers:
              0 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: