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

500 internal server error after clicking link on JIRA community space

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 2.0
    • None
    • None
    • None

      If a user clicks on the "Add a miscellaneous extension" link on the page http://confluence.atlassian.com/display/JIRAEXT/Home, and if he is not logged in, a server 500 error page is displayed.

      If the user is logged in everything is ok.

      I am not sure whether this is a confluence problem or maybe a problem with that particular page though.

            [CONFSERVER-4149] 500 internal server error after clicking link on JIRA community space

            Tom Davies added a comment -

            I found an NPE on a createpage-entervariables.action at about the right date.

            2005-09-06 01:00:12,525 ERROR [atlassian.confluence.util.XWorkTransactionInterceptor] Invoking rollback for transaction on action '/pages/createpage-entervariables.action (PageVariablesAction.execute())' due to throwable: java.lang.NullPointerException
            java.lang.NullPointerException
            at com.atlassian.confluence.pages.actions.PageAwareInterceptor.intercept(PageAwareInterceptor.java:82)
            at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
            at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
            at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
            at com.atlassian.confluence.core.ConfluenceAutowireInterceptor.intercept(ConfluenceAutowireInterceptor.java:25)

            This happens because there was no current page, and the action doesn't require one, but the permissions check tries to get the space from the page.

            This can no longer happen due to other changes to PageAwareInterceptor

            Tom Davies added a comment - I found an NPE on a createpage-entervariables.action at about the right date. 2005-09-06 01:00:12,525 ERROR [atlassian.confluence.util.XWorkTransactionInterceptor] Invoking rollback for transaction on action '/pages/createpage-entervariables.action (PageVariablesAction.execute())' due to throwable: java.lang.NullPointerException java.lang.NullPointerException at com.atlassian.confluence.pages.actions.PageAwareInterceptor.intercept(PageAwareInterceptor.java:82) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.core.ConfluenceAutowireInterceptor.intercept(ConfluenceAutowireInterceptor.java:25) This happens because there was no current page, and the action doesn't require one, but the permissions check tries to get the space from the page. This can no longer happen due to other changes to PageAwareInterceptor

            I was unable to reproduce this error. We'll have to go through the logs and see if there is anything strange appearing there.

            Charles Miller (Inactive) added a comment - I was unable to reproduce this error. We'll have to go through the logs and see if there is anything strange appearing there.

              Unassigned Unassigned
              c4ee57acac52 schirmacher
              Affected customers:
              0 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: