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

atlas-run-standalone --product confluence --version 5.5.2, Confluence won't start

      I am trying to build plugins for Confluence 5.5.2.

      I have atlassian-plugin-sdk-5.0.13, window 7 (64-bit) and JDK 1.7.0_45 (64-bit), here is my atlas-version output:
      ====begin===
      C:\Windows\System32>atlas-version

      ATLAS Version: 5.0.13
      ATLAS Home: C:\Users\rw5730\Documents\ATT\atlassian-plugin-sdk-5.0.13
      ATLAS Scripts: C:\Users\rw5730\Documents\ATT\atlassian-plugin-sdk-5.0.13\bin
      ATLAS Maven Home: C:\Users\rw5730\Documents\ATT\atlassian-plugin-sdk-5.0.13\apache-maven-3.2.1
      --------
      Executing: "C:\Users\rw5730\Documents\ATT\atlassian-plugin-sdk-5.0.13\apache-maven-3.2.1\bin\mvn.bat" --version -gs C:\Users\rw5730\Documents\ATT\atla
      ssian-plugin-sdk-5.0.13\apache-maven-3.2.1/conf/settings.xml
      Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T09:37:52-08:00)
      Maven home: C:\Users\rw5730\Documents\ATT\atlassian-plugin-sdk-5.0.13\apache-maven-3.2.1\bin\..
      Java version: 1.7.0_45, vendor: Oracle Corporation
      Java home: C:\jdk\x64-jdk1.7.0_45\jre
      Default locale: en_US, platform encoding: Cp1252
      OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
      ===end===

      But then I ran the command:
      atlas-run-standalone --product confluence --version 5.5.2
      It the process look completed, because I saw these lines:
      ====begin===
      [INFO] [talledLocalContainer] Tomcat 6.x started on port [1990]
      [INFO] confluence started successfully in 129s at http://WACDTL03RW5730:1990/confluence
      [INFO] Type Ctrl-D to shutdown gracefully
      [INFO] Type Ctrl-C to exit
      ===end===

      But when I went to http://WACDTL03RW5730:1990/confluence in my browser, I saw:
      ====begin===
      type Exception report

      message java.lang.NullPointerException

      description The server encountered an internal error that prevented it from fulfilling this request.

      exception

      com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NullPointerException
      com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149)
      com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:112)
      com.atlassian.confluence.setup.ConfluenceEncodingFilter.getGlobalSettings(ConfluenceEncodingFilter.java:47)
      com.atlassian.confluence.setup.ConfluenceEncodingFilter.getEncodingInternal(ConfluenceEncodingFilter.java:37)
      com.atlassian.confluence.setup.ConfluenceEncodingFilter.getEncoding(ConfluenceEncodingFilter.java:29)
      com.atlassian.core.filters.encoding.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:38)
      com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
      com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44)
      com.atlassian.confluence.servlet.FourOhFourErrorLoggingFilter.doFilter(FourOhFourErrorLoggingFilter.java:65)
      com.atlassian.confluence.web.filter.DebugFilter.doFilter(DebugFilter.java:50)
      com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)

      root cause

      java.lang.NullPointerException
      com.atlassian.spring.container.ContainerManager.getComponent(ContainerManager.java:33)
      com.atlassian.confluence.util.LazyComponentReference$Accessor.get(LazyComponentReference.java:46)
      com.atlassian.util.concurrent.Lazy$Strong.create(Lazy.java:85)
      com.atlassian.util.concurrent.LazyReference$Sync.run(LazyReference.java:321)
      com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:143)
      com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:112)
      com.atlassian.confluence.setup.ConfluenceEncodingFilter.getGlobalSettings(ConfluenceEncodingFilter.java:47)
      com.atlassian.confluence.setup.ConfluenceEncodingFilter.getEncodingInternal(ConfluenceEncodingFilter.java:37)
      com.atlassian.confluence.setup.ConfluenceEncodingFilter.getEncoding(ConfluenceEncodingFilter.java:29)
      com.atlassian.core.filters.encoding.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:38)
      com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
      com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44)
      com.atlassian.confluence.servlet.FourOhFourErrorLoggingFilter.doFilter(FourOhFourErrorLoggingFilter.java:65)
      com.atlassian.confluence.web.filter.DebugFilter.doFilter(DebugFilter.java:50)
      com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)

      note The full stack trace of the root cause is available in the Apache Tomcat/6.0.41 logs.
      ===end===

      confluence-LATEST.log (attached) seems to complaint about database connection problems.

      However, I tried the command:
      atlas-run-standalone --product confluence
      and latest version of Confluence (5.6.6) started with no problem.

      So, how do I get
      atlas-run-standalone --product confluence --version 5.5.2
      to work properly?

      In addition, I just check the page: https://marketplace.atlassian.com/plugins/atlassian-plugin-sdk-windows/versions and it's listing Atlassian Plugin SDK 5.0.13 (the latest) only compatible up to Confluence version 5.4.4.? Should it support the latest version of Confluence 5.6.6? If so that page needs to be updated.

      Thanks.

        1. confluence-LATEST.log
          129 kB
          Royce Wong

            [CONFSERVER-36366] atlas-run-standalone --product confluence --version 5.5.2, Confluence won't start

            George Varghese made changes -
            QA Demo Status New: Not Needed [ 14332 ]
            QA Kickoff Status New: Not Needed [ 14236 ]
            Resolution New: Low Engagement [ 10300 ]
            Status Original: Gathering Impact [ 12072 ] New: Closed [ 6 ]
            George Varghese made changes -
            Labels Original: affects-server plugin-development New: affects-server cleanup-seos-fy25 plugin-development

            Atlassian Update - 10 April 2025

            Hi,

            At Atlassian, our goal is to ensure we’re providing the best experience for our customers. With our new Data Center strategy, Atlassian's focus is on security, compliance, and performance and is a key driver in prioritizing bugs. Closing the bugs that do not fall into those categories will allow us to focus on the ones in the most current versions of our products.

            This bug is being closed due to a lack of engagement in the last four years, including no new watchers, votes, or comments; this inactivity suggests a low impact.

            Please note the comments on this thread are not being monitored.

            You can read more about our bug fix policy here and how we prioritize bugs.

            To learn more about our recent investments in Confluence Data Center, please check our public roadmap and dashboards containing recently resolved issues, current work, and future plans.

            Kind regards,
            Confluence Data Center

            George Varghese added a comment - Atlassian Update - 10 April 2025 Hi, At Atlassian, our goal is to ensure we’re providing the best experience for our customers. With our new Data Center strategy, Atlassian's focus is on security, compliance, and performance and is a key driver in prioritizing bugs. Closing the bugs that do not fall into those categories will allow us to focus on the ones in the most current versions of our products. This bug is being closed due to a lack of engagement in the last four years , including no new watchers, votes, or comments; this inactivity suggests a low impact. Please note the comments on this thread are not being monitored. You can read more about our bug fix policy here and how we prioritize bugs. To learn more about our recent investments in Confluence Data Center, please check our public roadmap and dashboards containing recently resolved issues , current work, and future plans . Kind regards, Confluence Data Center
            SET Analytics Bot made changes -
            UIS Original: 1 New: 0
            SET Analytics Bot made changes -
            UIS Original: 0 New: 1
            SET Analytics Bot made changes -
            UIS Original: 1 New: 0
            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2878710 ] New: CONFSERVER Bug Workflow v4 [ 3004356 ]
            SET Analytics Bot made changes -
            UIS Original: 0 New: 1
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2779137 ] New: JAC Bug Workflow v3 [ 2878710 ]
            SET Analytics Bot made changes -
            UIS Original: 1 New: 0

              Unassigned Unassigned
              9b354c0e923f Royce Wong
              Affected customers:
              8 This affects my team
              Watchers:
              15 Start watching this issue

                Created:
                Updated:
                Resolved: