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

Random ClassCastException upon Magnolia install

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Neutral Neutral
    • None
    • 5.7.3
    • core
    • None

      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]
      

        Acceptance criteria

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

                Created:
                Updated:

                  Bug DoR
                  Task DoD