java.lang.NullPointerException

Atlassian JIRA | Charles Miller | 1 decade ago
  1. 0

    viewing attachments for TEST space on confluence.atlassian.com: [ERROR] Fri Apr 22 02:09:41 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: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.mergeSort(Arrays.java:1290) 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)

    Atlassian JIRA | 1 decade ago | Charles Miller
    java.lang.NullPointerException
  2. 0

    viewing attachments for TEST space on confluence.atlassian.com: [ERROR] Fri Apr 22 02:09:41 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: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.mergeSort(Arrays.java:1290) 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)

    Atlassian JIRA | 1 decade ago | Charles Miller
    java.lang.NullPointerException
  3. 0

    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)

    Atlassian JIRA | 1 decade ago | Mike Cannon-Brookes
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    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)

    Atlassian JIRA | 1 decade ago | Jeff Turner
    java.lang.NullPointerException
  6. 0

    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)

    Atlassian JIRA | 1 decade ago | Mike Cannon-Brookes
    java.lang.NullPointerException

    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.util.AttachmentNameComparator.compare()
    2. com.atlassian.confluence
      AttachmentNameComparator.compare
      1. com.atlassian.confluence.util.AttachmentNameComparator.compare(AttachmentNameComparator.java:12)
      1 frame
    3. Java RT
      Collections.sort
      1. java.util.Arrays.mergeSort(Arrays.java:1278)
      2. java.util.Arrays.mergeSort(Arrays.java:1289)
      3. java.util.Arrays.mergeSort(Arrays.java:1289)
      4. java.util.Arrays.mergeSort(Arrays.java:1290)
      5. java.util.Arrays.mergeSort(Arrays.java:1289)
      6. java.util.Arrays.mergeSort(Arrays.java:1289)
      7. java.util.Arrays.mergeSort(Arrays.java:1290)
      8. java.util.Arrays.sort(Arrays.java:1219)
      9. java.util.Collections.sort(Collections.java:155)
      9 frames
    4. com.atlassian.confluence
      AbstractPaginatedListAction.execute
      1. com.atlassian.confluence.spaces.actions.ListAttachmentsAction.getAttachments(ListAttachmentsAction.java:54)
      2. com.atlassian.confluence.spaces.actions.ListAttachmentsAction.getItems(ListAttachmentsAction.java:30)
      3. com.atlassian.confluence.pages.actions.AbstractPaginatedListAction.execute(AbstractPaginatedListAction.java:20)
      3 frames
    5. XWork Tiger Extensions
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168)
      1 frame
    6. com.opensymphony.xwork
      AroundInterceptor.intercept
      1. com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
      1 frame
    7. XWork Tiger Extensions
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
      1 frame
    8. com.opensymphony.xwork
      DefaultWorkflowInterceptor.intercept
      1. com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.intercept(DefaultWorkflowInterceptor.java:55)
      1 frame
    9. com.atlassian.confluence
      ConfluenceWorkflowInterceptor.intercept
      1. com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:33)
      1 frame
    10. XWork Tiger Extensions
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
      1 frame