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

View space attachments can break

    XMLWordPrintable

    Details

      Description

      Trying to view attachments for the whole JIRAEXT space:

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

      I get a NPE. Browsing the JIRACOM space attachments works, so I guess there is an oddly named attachment there.

      Cause:
      No exception

      Stack Trace: [hide]

      null

      Referer URL: http://confluence.atlassian.com/pages/listpages-dirview.action;jsessionid=LBDBFEKJMJGC?key=JIRAEXT

      Build Information:
      Uptime: 2 days, 16 hours, 15 minutes, 35 seconds
      Version: 1.4-DR7
      Build Number: 205

      Server Information:
      Application Server: Orion/2.0.2
      Servlet Version: 2.2
      Database Dialect: net.sf.hibernate.dialect.PostgreSQLDialect

      Memory Information:
      Total Memory: 494 MB
      Free Memory: 96 MB
      Used Memory: 398 MB

      System Information:
      System Date: Tuesday, 03 May 2005
      System Time: 22:09:36
      System Favourite Colour: Lime
      Java Version: 1.4.2_04
      Java Vendor: Sun Microsystems Inc.
      JVM Version: 1.0
      JVM Vendor: Sun Microsystems Inc.
      JVM Implementation Version: 1.4.2_04-b05
      Java Runtime: Java(TM) 2 Runtime Environment, Standard Edition
      Java VM: Java HotSpot(TM) Server VM
      User Name: j2ee
      User Timezone: America/Chicago
      Operating System: Linux 2.4.21-27.0.4.ELsmp
      OS Architecture: i386
      Request

      Information:
      URL: http://atlassian01.contegix.com:10082/500page.jsp

      • Scheme: http
      • Server: atlassian01.contegix.com
      • Port: 10082
      • URI: /500page.jsp
      • - Context Path:
      • - Servlet Path: /500page.jsp
      • - Path Info: null
      • - Query String: key=JIRAEXT

      Attributes:

      • javax.servlet.error.exception : java.lang.NullPointerException
      • os_securityfilter_already_filtered : true
      • com.atlassian.johnson.filters.JohnsonFilter_already_filtered : true
      • javax.servlet.error.request_uri : /spaces/listattachmentsforspace.action
      • javax.servlet.error.status_code : 500
      • os_authstatus : null
      • _sitemesh_filterapplied : true
      • javax.servlet.error.servlet_name : action
      • webwork.valueStack : com.opensymphony.xwork.util.OgnlValueStack@18a4638
      • loginfilter.already.filtered : true
      • atlassian.core.seraph.original.url : /spaces/listattachmentsforspace.action?key=JIRAEXT
      • javax.servlet.jsp.jspException : java.lang.NullPointerException
      • sessioninview.FILTERED : true
      • com.atlassian.core.filters.gzip.GzipFilter_already_filtered : true

      Parameters:

      • key = JIRAEXT

      Logging:
      2 log statements generated by this request:
      [ERROR] Tue May 03 22:09:36 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.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)
      at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
      at com.atlassian.confluence.core.ConfluenceValidationInterceptor.intercept(ConfluenceValidationInterceptor.java:16)
      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)
      [ERROR] Tue May 03 22:09:36 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.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)
      at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
      at com.atlassian.confluence.core.ConfluenceValidationInterceptor.intercept(ConfluenceValidationInterceptor.java:16)
      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)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jefft Jeff Turner
              Participants:
              Last Touched By:
              Katherine Yabut
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

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