• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 2.3.1
    • 2.3
    • None

      the timezones.properties has a missing timezone:
      Europe/London

      This means that on a system (like ours) where the default timezone of the VM in Europe/London then this happens:
      java.lang.StackOverflowError
      at java.util.HashMap.containsKey(HashMap.java:377)
      at com.atlassian.confluence.core.TimeZone.getInstance(TimeZone.java:37)
      at com.atlassian.confluence.core.TimeZone.getDefault(TimeZone.java:112)
      at com.atlassian.confluence.core.TimeZone.getInstance(TimeZone.java:39)
      at com.atlassian.confluence.core.TimeZone.getDefault(TimeZone.java:112)
      at com.atlassian.confluence.core.TimeZone.getInstance(TimeZone.java:39)

      on any page. Looking at the source of com.atlassian.confluence.core.TimeZone I note tht the timezones are loaded from a timezones.properties file.

      Europe/London is missing from this properties file.

      Adding Europe/London fixes the issue..

      Why not remove the properties file though,, and modify com.atlassian.confluence.core.TimeZone to be:

      private static Map loadTimeZones()
      {

      String[] timeZoneIDs = java.util.TimeZone.getAvailableIDs();
      Map result = new HashMap(timeZoneIDs.length);
      for (int i = 0; i < timeZoneIDs.length; i++)

      { String timeZoneID = timeZoneIDs[i]; result.put(timeZoneID, new TimeZone(timeZoneID)); }

      return result;
      }

      so that all timeones are loaded???

            [CONFSERVER-7581] Missing Europe/London timezome causes runtime errors

            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2899864 ] New: CONFSERVER Bug Workflow v4 [ 2994466 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2794554 ] New: JAC Bug Workflow v3 [ 2899864 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2724852 ] New: JAC Bug Workflow v2 [ 2794554 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2388186 ] New: JAC Bug Workflow [ 2724852 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2264745 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2388186 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2208341 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2264745 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2189273 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2208341 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 1919553 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2189273 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v3 [ 1729499 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 1919553 ]
            Katherine Yabut made changes -
            Workflow Original: CONF Bug Subtask WF (TEMP) [ 1682187 ] New: Confluence Workflow - Public Facing - Restricted v3 [ 1729499 ]

              Unassigned Unassigned
              0e408036d1cc Alex Fishlock
              Affected customers:
              0 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: