-
Bug
-
Resolution: Fixed
-
Medium
-
1.1
-
None
If you click on the text+text.txt attachment on
http://confluence.atlassian.com/display/TEST/Broken+Attachment+support+test
you get "page not found" error instead of downloading the attachment. On our local Confluence instance, we get the confluence error page without any stack trace. Catalina.out prints the following when the attachment is clicked:
Jun 10, 2004 4:41:00 PM org.springframework.orm.hibernate.support.OpenSessionInViewFilter lookupSessionFactory
INFO: Using SessionFactory 'sessionFactory' for OpenSessionInViewFilter
Jun 10, 2004 4:41:00 PM org.springframework.transaction.support.AbstractPlatformTransactionManager commit
INFO: Initiating transaction commit
Jun 10, 2004 4:41:00 PM org.springframework.transaction.support.AbstractPlatformTransactionManager commit
INFO: Initiating transaction commit
Jun 10, 2004 4:41:00 PM org.springframework.transaction.interceptor.TransactionInterceptor onThrowable
INFO: Invoking rollback for transaction on method 'getAttachmentData' in class [com.atlassian.confluence.pages.AttachmentManager] due to throwable [java.lang.NullPointerException]
Jun 10, 2004 4:41:00 PM org.springframework.transaction.support.AbstractPlatformTransactionManager rollback
INFO: Initiating transaction rollback