Uploaded image for project: 'Confluence Server'
  1. Confluence Server
  2. CONFSERVER-3158

NullPointerException on space attachments list

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Duplicate
    • Affects Version/s: 1.4
    • Fix Version/s: 1.4
    • Component/s: None

      Description

      http://confluence.atlassian.com/spaces/listattachmentsforspace.action?key=TEST

      Not sure if it's already fixed, here's the trace - looks like a 2 min fix:

      [ERROR] Tue May 03 10:30:55 CDT 2005 [com.atlassian.confluence.util.XWorkTransactionInterceptor] Invoking rollback for transaction on action '/spaces/listattachmentsforspace.action (ListAttachmentsAction.execute())' due to throwable: java.lang.NullPointerException
      Throwable:
      java.lang.NullPointerException
      at com.atlassian.confluence.util.AttachmentNameComparator.compare(AttachmentNameComparator.java:12)
      at java.util.Arrays.mergeSort(Arrays.java:1278)
      at java.util.Arrays.mergeSort(Arrays.java:1289)
      at java.util.Arrays.mergeSort(Arrays.java:1290)
      at java.util.Arrays.mergeSort(Arrays.java:1289)
      at java.util.Arrays.mergeSort(Arrays.java:1290)
      at java.util.Arrays.mergeSort(Arrays.java:1289)
      at java.util.Arrays.mergeSort(Arrays.java:1289)
      at java.util.Arrays.sort(Arrays.java:1219)
      at java.util.Collections.sort(Collections.java:155)
      at com.atlassian.confluence.spaces.actions.ListAttachmentsAction.getAttachments(ListAttachmentsAction.java:54)
      at com.atlassian.confluence.spaces.actions.ListAttachmentsAction.getItems(ListAttachmentsAction.java:30)
      at com.atlassian.confluence.pages.actions.AbstractPaginatedListAction.execute(AbstractPaginatedListAction.java:20)
      at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168)
      at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
      at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
      at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.intercept(DefaultWorkflowInterceptor.java:55)
      at com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:33)
      at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
      [ERROR] Tue May 03 10:30:55 CDT 2005 [com.opensymphony.webwork.dispatcher.ServletDispatcher] Could not execute action
      Throwable:
      java.lang.NullPointerException
      at com.atlassian.confluence.util.AttachmentNameComparator.compare(AttachmentNameComparator.java:12)
      at java.util.Arrays.mergeSort(Arrays.java:1278)
      at java.util.Arrays.mergeSort(Arrays.java:1289)
      at java.util.Arrays.mergeSort(Arrays.java:1290)
      at java.util.Arrays.mergeSort(Arrays.java:1289)
      at java.util.Arrays.mergeSort(Arrays.java:1290)
      at java.util.Arrays.mergeSort(Arrays.java:1289)
      at java.util.Arrays.mergeSort(Arrays.java:1289)
      at java.util.Arrays.sort(Arrays.java:1219)
      at java.util.Collections.sort(Collections.java:155)
      at com.atlassian.confluence.spaces.actions.ListAttachmentsAction.getAttachments(ListAttachmentsAction.java:54)
      at com.atlassian.confluence.spaces.actions.ListAttachmentsAction.getItems(ListAttachmentsAction.java:30)
      at com.atlassian.confluence.pages.actions.AbstractPaginatedListAction.execute(AbstractPaginatedListAction.java:20)
      at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168)
      at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
      at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
      at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.intercept(DefaultWorkflowInterceptor.java:55)
      at com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:33)
      at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Last commented:
                13 years, 30 weeks, 5 days ago