Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-13932

Joda Classes don't support SystemV/PST8PDT timezone format.

    XMLWordPrintable

Details

    Description

      To begin developing a Confluence plugin:

      mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create -DarchetypeGroupId=com.atlassian.maven.archetypes -DarchetypeArtifactId=confluence-plugin-archetype -DarchetypeVersion=14 -DremoteRepositories=https://maven.atlassian.com/repository/public/ -DgroupId=com.palm.confluence.plugin -DartifactId=blank
      

      and then from the new 'blank' directory, ran

      mvn -Pplugin-debug
      

      and then logged into
      http://localhost:1990/confluence

      and then click the 'Demonstration Space' link and I get

      System Error
      
      A system error has occurred — our apologies!
      
      Please ask your Confluence administrator to create a support issue on Atlassian's support system at http://support.atlassian.com with the following information:
      
      1. a description of your problem and what you were doing at the time it occurred
      2. a copy of the error and system information found below
      3. a copy of the application logs (if possible).
      
      Your Confluence administrator can use the support request form to create a support ticket which will include this information.
      
      We will respond as promptly as possible.
      Thank you!
      
      Return to site homepage...
      Cause
      
      java.lang.RuntimeException: Error rendering template for decorator root
      at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:232)
      
      caused by: java.lang.RuntimeException: Error rendering template for decorator page
      at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:232)
      
      caused by: java.lang.RuntimeException: Error rendering template for decorator root
      at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:232)
      
      caused by: java.lang.RuntimeException: Error rendering template for decorator comments
      at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:232)
      
      caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'formatFriendlyDate' in class com.atlassian.confluence.pages.actions.ViewPageAction threw exception java.lang.IllegalArgumentException: The datetime zone id is not recognised: SystemV/PST8PDT @ /decorators/components/comments.vmd[44,29]
      at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:286)
      
      caused by: java.lang.IllegalArgumentException: The datetime zone id is not recognised: SystemV/PST8PDT
      at org.joda.time.DateTimeZone.forTimeZone(DateTimeZone.java:310) 
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            rbattaglin Renan Battaglin
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: