java.lang.NullPointerException

Atlassian JIRA | Matt Ryall | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Several people have reported upgrades failing when moving from 2.6.x to 2.7. We need to investigate this issue and work out why it is happening. Note that server ID was introduced in 2.5.5, so all 2.6.x instances _should_ have a server ID. {quote} 2008-01-28 14:15:14,541 ERROR main com.atlassian.upgrade.AbstractUpgradeManager doUpgrade Upgrade failed: null java.lang.NullPointerException at org.apache.commons.codec.digest.DigestUtils.md5(DigestUtils.java:86) at com.atlassian.confluence.security.trust.ConfluenceTrustedApplicationsManager.getAliasForSid(ConfluenceTrustedApplicationsManager.java:166) at com.atlassian.confluence.security.trust.ConfluenceTrustedApplicationsManager.getSystemAlias(ConfluenceTrustedApplicationsManager.java:160) at com.atlassian.confluence.security.trust.ConfluenceTrustedApplicationsManager.getCurrentApplicationInternal(ConfluenceTrustedApplicationsManager.java:1 40) at com.atlassian.confluence.security.trust.ConfluenceTrustedApplicationsManager.getCurrentApplication(ConfluenceTrustedApplicationsManager.java:101) at com.atlassian.confluence.security.trust.ConfluenceTrustedApplicationsManager.initConfluenceKey(ConfluenceTrustedApplicationsManager.java:172) {quote} The query to check your database for a server ID is: {code:sql} select * from bandana where bandanakey like 'confluence.server.id'; {code} Note: You should not make public your server ID or put it on this issue. It is used to verify your identity with Atlassian.

    Atlassian JIRA | 9 years ago | Matt Ryall
    java.lang.NullPointerException
  2. 0

    Several people have reported upgrades failing when moving from 2.6.x to 2.7. We need to investigate this issue and work out why it is happening. Note that server ID was introduced in 2.5.5, so all 2.6.x instances _should_ have a server ID. {quote} 2008-01-28 14:15:14,541 ERROR main com.atlassian.upgrade.AbstractUpgradeManager doUpgrade Upgrade failed: null java.lang.NullPointerException at org.apache.commons.codec.digest.DigestUtils.md5(DigestUtils.java:86) at com.atlassian.confluence.security.trust.ConfluenceTrustedApplicationsManager.getAliasForSid(ConfluenceTrustedApplicationsManager.java:166) at com.atlassian.confluence.security.trust.ConfluenceTrustedApplicationsManager.getSystemAlias(ConfluenceTrustedApplicationsManager.java:160) at com.atlassian.confluence.security.trust.ConfluenceTrustedApplicationsManager.getCurrentApplicationInternal(ConfluenceTrustedApplicationsManager.java:1 40) at com.atlassian.confluence.security.trust.ConfluenceTrustedApplicationsManager.getCurrentApplication(ConfluenceTrustedApplicationsManager.java:101) at com.atlassian.confluence.security.trust.ConfluenceTrustedApplicationsManager.initConfluenceKey(ConfluenceTrustedApplicationsManager.java:172) {quote} The query to check your database for a server ID is: {code:sql} select * from bandana where bandanakey like 'confluence.server.id'; {code} Note: You should not make public your server ID or put it on this issue. It is used to verify your identity with Atlassian.

    Atlassian JIRA | 9 years ago | Matt Ryall
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.apache.commons.codec.digest.DigestUtils.md5()
    2. Apache Commons Codec
      DigestUtils.md5
      1. org.apache.commons.codec.digest.DigestUtils.md5(DigestUtils.java:86)
      1 frame
    3. com.atlassian.confluence
      ConfluenceTrustedApplicationsManager.initConfluenceKey
      1. com.atlassian.confluence.security.trust.ConfluenceTrustedApplicationsManager.getAliasForSid(ConfluenceTrustedApplicationsManager.java:166)
      2. com.atlassian.confluence.security.trust.ConfluenceTrustedApplicationsManager.getSystemAlias(ConfluenceTrustedApplicationsManager.java:160)
      3. com.atlassian.confluence.security.trust.ConfluenceTrustedApplicationsManager.getCurrentApplicationInternal(ConfluenceTrustedApplicationsManager.java:140)
      4. com.atlassian.confluence.security.trust.ConfluenceTrustedApplicationsManager.getCurrentApplication(ConfluenceTrustedApplicationsManager.java:101)
      5. com.atlassian.confluence.security.trust.ConfluenceTrustedApplicationsManager.initConfluenceKey(ConfluenceTrustedApplicationsManager.java:172)
      5 frames