java.lang.NullPointerException

Atlassian JIRA | Sorin Sbarnea (Citrix) | 2 years ago
  1. 0

    It seems that indexing of Confluence questions triggers a huge number of errors and thread dumps due to permission checks that are failing. This is caused by the bad usage of GET urls for delete actions in the UI when Confluence is configured to be accessed as anonymous. The logs can fill quite fast due to this bug as it logs over 10kb per request. {noformat} 2015-04-13 10:14:47,581 ERROR [http-bio-8090-exec-203] [atlassian.plugin.web.DefaultWebInterfaceManager] filterFragmentsByCondition Could not evaluate condition 'co m.atlassian.confluence.plugins.questions.conditions.AnswerPermissionCondition@7fe75f60' for descriptor: cq.answer.meta/cq.answer.meta.delete -- url: /display/xenserver/questions/1226224791/answers/1226224795/comments/1226224808 | userName: anonymous | action: viewquestion | space: 130351106 java.lang.NullPointerException at com.atlassian.confluence.plugins.questions.internal.security.policy.SpacePermissionPolicy.isAuthorOfResource(SpacePermissionPolicy.java:94) at com.atlassian.confluence.plugins.questions.internal.security.policy.SpacePermissionPolicy.hasPermission(SpacePermissionPolicy.java:80) at com.atlassian.confluence.plugins.questions.internal.security.policy.SpacePermissionPolicy.hasPermissionWithMessage(SpacePermissionPolicy.java:49) at com.atlassian.confluence.plugins.questions.internal.security.PermissionServiceImpl.hasPermissionWithMessage(PermissionServiceImpl.java:94) {noformat}

    Atlassian JIRA | 2 years ago | Sorin Sbarnea (Citrix)
    java.lang.NullPointerException
  2. 0

    It seems that indexing of Confluence questions triggers a huge number of errors and thread dumps due to permission checks that are failing. This is caused by the bad usage of GET urls for delete actions in the UI when Confluence is configured to be accessed as anonymous. The logs can fill quite fast due to this bug as it logs over 10kb per request. {noformat} 2015-04-13 10:14:47,581 ERROR [http-bio-8090-exec-203] [atlassian.plugin.web.DefaultWebInterfaceManager] filterFragmentsByCondition Could not evaluate condition 'co m.atlassian.confluence.plugins.questions.conditions.AnswerPermissionCondition@7fe75f60' for descriptor: cq.answer.meta/cq.answer.meta.delete -- url: /display/xenserver/questions/1226224791/answers/1226224795/comments/1226224808 | userName: anonymous | action: viewquestion | space: 130351106 java.lang.NullPointerException at com.atlassian.confluence.plugins.questions.internal.security.policy.SpacePermissionPolicy.isAuthorOfResource(SpacePermissionPolicy.java:94) at com.atlassian.confluence.plugins.questions.internal.security.policy.SpacePermissionPolicy.hasPermission(SpacePermissionPolicy.java:80) at com.atlassian.confluence.plugins.questions.internal.security.policy.SpacePermissionPolicy.hasPermissionWithMessage(SpacePermissionPolicy.java:49) at com.atlassian.confluence.plugins.questions.internal.security.PermissionServiceImpl.hasPermissionWithMessage(PermissionServiceImpl.java:94) {noformat}

    Atlassian JIRA | 2 years ago | Sorin Sbarnea (Citrix)
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.atlassian.confluence.plugins.questions.internal.security.policy.SpacePermissionPolicy.isAuthorOfResource()
    2. com.atlassian.confluence
      PermissionServiceImpl.hasPermissionWithMessage
      1. com.atlassian.confluence.plugins.questions.internal.security.policy.SpacePermissionPolicy.isAuthorOfResource(SpacePermissionPolicy.java:94)
      2. com.atlassian.confluence.plugins.questions.internal.security.policy.SpacePermissionPolicy.hasPermission(SpacePermissionPolicy.java:80)
      3. com.atlassian.confluence.plugins.questions.internal.security.policy.SpacePermissionPolicy.hasPermissionWithMessage(SpacePermissionPolicy.java:49)
      4. com.atlassian.confluence.plugins.questions.internal.security.PermissionServiceImpl.hasPermissionWithMessage(PermissionServiceImpl.java:94)
      4 frames