Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-7537

Random ClassCastException upon Magnolia install

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Neutral
    • Resolution: Unresolved
    • Affects Version/s: 5.7.3
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None

      Description

      While doing a final QA test on 5.7.3 CE, the following exception has been observed.
      Despite the error, installation went through and Magnolia seemed to start up and work fine.
      I could not reproduce it on a second run. Some claim to have seen the same exception occasionally.

      It may be a time-based race condition, possibly related to the usage of the JR workspace observation mechanism during install's initial phase.

      2019-05-07 13:32:55,185 INFO  info.magnolia.cms.i18n.DefaultMessagesManager     : Loading i18n configuration - /server/i18n/system
      2019-05-07 13:32:55,209 ERROR org.apache.jackrabbit.core.ItemManager            : cbed08d7-10ae-43ef-96c7-8661dea74ae3: failed to determine path to
      2019-05-07 13:32:55,240 ERROR info.magnolia.cms.i18n.DefaultMessagesManager     : Failed to load i18n configuration - /server/i18n/system
      java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to info.magnolia.cms.i18n.LocaleDefinition
          at info.magnolia.cms.i18n.DefaultMessagesManager.load(DefaultMessagesManager.java:213) [magnolia-core-5.7.3.jar:?]
          at info.magnolia.cms.i18n.DefaultMessagesManager.reload(DefaultMessagesManager.java:253) [magnolia-core-5.7.3.jar:?]
          at info.magnolia.cms.i18n.DefaultMessagesManager$3.onEvent(DefaultMessagesManager.java:233) [magnolia-core-5.7.3.jar:?]
          at org.apache.jackrabbit.core.observation.EventConsumer.consumeEvents(EventConsumer.java:249) [jackrabbit-core-2.18.1.jar:2.18.1]
          at org.apache.jackrabbit.core.observation.ObservationDispatcher.run(ObservationDispatcher.java:161) [jackrabbit-core-2.18.1.jar:2.18.1]
          at java.lang.Thread.run(Thread.java:748) [?:1.8.0_172]
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            fgrilli Federico Grilli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: