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

            Owen made changes -
            Workflow Original: Stash Workflow - Restricted [ 1444708 ] New: JAC Bug Workflow v3 [ 3134279 ]
            Owen made changes -
            Workflow Original: Stash Workflow [ 547698 ] New: Stash Workflow - Restricted [ 1444708 ]
            Stefan Saasen (Inactive) made changes -
            Resolution New: Answered [ 9 ]
            Status Original: Open [ 1 ] New: Closed [ 6 ]

            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
            Stefan Saasen (Inactive) made changes -
            Description Original: Changing user preferences and/or deleting repositories fails:

            {noformat}
            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
            {noformat}

            *Workaround: Upgrade Java to at least 1.6.0_45*
            New: Changing user preferences and/or deleting repositories fails:

            {noformat}
            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
            {noformat}

            *Workaround: Upgrade Java to at least 1.6.0_4*
            Stefan Saasen (Inactive) made changes -
            Global Rank New: Ranked higher
            Stefan Saasen (Inactive) made changes -
            Status Original: Needs Triage [ 10030 ] New: Open [ 1 ]
            Daniel R made changes -
            Regular Expression New: java\.lang\.NoClassDefFoundError: Could not initialize class com\.sun\.xml\.bind\.v2\.model\.impl\.RuntimeModelBuilder
            Daniel R created issue -

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

                Created:
                Updated:
                Resolved: