java.lang.NullPointerException

Atlassian JIRA | Nick Faiz [OLD] | 1 decade ago
  1. 0

    Steps to repro: 1. log into Confluence 2. navigate to User Profile 3. select Picture 4. click Choose File and select a graphics file 5. click Upload 6. click Save Observed: Errors thrown (see below). Expected: New profile picture should be uploaded without errors. ERRORS: Cause java.lang.NullPointerException at com.atlassian.confluence.extra.checkout.VersionedAttachmentManager.getAttachmentStatus(VersionedAttachmentManager.java:118) Stack Trace:[hide] java.lang.NullPointerException at com.atlassian.confluence.extra.checkout.VersionedAttachmentManager.getAttachmentStatus(VersionedAttachmentManager.java:118) at com.atlassian.confluence.extra.checkout.VersionedAttachmentManager.removeAttachmentFromServer(VersionedAttachmentManager.java:48) at com.atlassian.confluence.pages.DelegatorAttachmentManager.removeAttachmentFromServer(DelegatorAttachmentManager.java:78) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy18.removeAttachmentFromServer(Unknown Source) at com.atlassian.confluence.user.service.DeleteProfilePictureCommandImpl.executeInternal(DeleteProfilePictureCommandImpl.java:59) at com.atlassian.confluence.core.service.AbstractServiceCommand$ServiceCommandState$2.execute(AbstractServiceCommand.java:149) at com.atlassian.confluence.core.service.AbstractServiceCommand.execute(AbstractServiceCommand.java:61) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy483.execute(Unknown Source) at com.atlassian.confluence.user.actions.EditMyProfilePictureAction.doEdit(EditMyProfilePictureAction.java:65) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:302) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) 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:35) 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.xwork.interceptors.XsrfTokenInterceptor.intercept(XsrfTokenInterceptor.java:100) at com.atlassian.confluence.xwork.ConfluenceXsrfTokenInterceptor.intercept(ConfluenceXsrfTokenInterceptor.java:18) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.security.interceptors.CaptchaInterceptor.intercept(CaptchaInterceptor.java:46) 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.util.LoggingContextInterceptor.intercept(LoggingContextInterceptor.java:49) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.core.CancellingInterceptor.intercept(CancellingInterceptor.java:23) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterceptor.java:57) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.setup.webwork.BootstrapAwareInterceptor.intercept(BootstrapAwareInterceptor.java:26) 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.user.actions.UserAwareInterceptor.intercept(UserAwareInterceptor.java:58) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.pages.actions.CommentAwareInterceptor.intercept(CommentAwareInterceptor.java:44) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.pages.actions.PageAwareInterceptor.intercept(PageAwareInterceptor.java:109) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.spaces.actions.SpaceAwareInterceptor.intercept(SpaceAwareInterceptor.java:68) 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.actions.LastModifiedInterceptor.intercept(LastModifiedInterceptor.java:38) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.core.ConfluenceAutowireInterceptor.intercept(ConfluenceAutowireInterceptor.java:38) 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.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.xwork.interceptors.TransactionalInvocation.invokeAndHandleExceptions(TransactionalInvocation.java:72) at com.atlassian.xwork.interceptors.TransactionalInvocation.invokeInTransaction(TransactionalInvocation.java:59) at com.atlassian.xwork.interceptors.XWorkTransactionInterceptor.intercept(XWorkTransactionInterceptor.java:56) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.xwork.SetupIncompleteInterceptor.intercept(SetupIncompleteInterceptor.java:40) 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.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:115) at com.atlassian.confluence.servlet.ConfluenceServletDispatcher.serviceAction(ConfluenceServletDispatcher.java:53) at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:199) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:55) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:41) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) at com.atlassian.confluence.util.profiling.ProfilingPageFilter.parsePage(ProfilingPageFilter.java:84) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:54) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:55) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:41) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.confluence.jmx.JmxFilter.doFilter(JmxFilter.java:106) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.core.filters.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:19) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:47) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.confluence.web.filter.ThreadLocalCacheFilter.doFilter(ThreadLocalCacheFilter.java:22) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.confluence.util.UserThreadLocalFilter.doFilter(UserThreadLocalFilter.java:44) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:206) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:98) at com.atlassian.confluence.util.AbstractBootstrapHotSwappingFilter.doFilter(AbstractBootstrapHotSwappingFilter.java:30) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:133) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:69) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:55) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:41) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.confluence.util.ClusterHeaderFilter.doFilter(ClusterHeaderFilter.java:35) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:72) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170) at com.atlassian.spring.filter.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:29) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.confluence.util.ConfluenceErrorFilter.doFilter(ConfluenceErrorFilter.java:22) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:99) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.confluence.core.datetime.RequestTimeThreadLocalFilter.doFilter(RequestTimeThreadLocalFilter.java:34) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.confluence.util.AccessLogFilter.doFilter(AccessLogFilter.java:45) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:25) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.gzipfilter.GzipFilter.doFilterInternal(GzipFilter.java:81) at com.atlassian.gzipfilter.GzipFilter.doFilter(GzipFilter.java:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.core.filters.cache.AbstractCachingFilter.doFilter(AbstractCachingFilter.java:33) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.confluence.extra.webdav.servlet.filter.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:427) at com.atlassian.confluence.extra.webdav.servlet.filter.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:34) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:55) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:41) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.core.filters.encoding.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:41) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.confluence.servlet.FourOhFourErrorLoggingFilter.doFilter(FourOhFourErrorLoggingFilter.java:65) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619) Referer URL https://confluence.zenimaxonline.com:8444/users/doeditmyprofilepicture.action Confluence Application Information Build Information baseUrl: https://confluence.zenimaxonline.com:8444 home: /home/confluence-3.2-data buildNumber: 1810 upTime: 21 days, 17 hours, 2 minutes, 15 seconds devMode: false serverId: BK9R-Q0OA-66BX-ZDBF supportEntitlementNumber: 1422554 version: 3.2 Unique ID: 263ded96-ec10-41c7-902a-79d51d8f6246 Server information Application Server: Apache Tomcat/6.0.14 Servlet Version: 2.5 Database Dialect: net.sf.hibernate.dialect.MySQLDialect Database Driver Name: null Memory Information Maximum Heap: 1973 MB Allocated Heap: 1973 MB Used Memory: 610 MB Unused Allocated Memory: 1363 MB Available Memory: 1363 MB Maximum Permgen: 192 MB Used Permgen: 158 MB System Information favouriteColour: Heliotrope javaRuntime: Java(TM) SE Runtime Environment operatingSystem: Linux 2.6.18-194.el5 jvmVersion: 1.0 fileSystemEncoding: UTF-8 javaVm: Java HotSpot(TM) 64-Bit Server VM javaVendor: Sun Microsystems Inc. jvmImplementationVersion: 16.2-b04 systemTimezone: America/New_York appServer: Apache Tomcat tempDirectory: /home/confluence-3.2-std/temp date: Tuesday, 29 Mar 2011 jvmInputArguments: -Xms2048m -Xmx2048m -XX:MaxPermSize=192m -XX:+UseParallelOldGC -XX:NewSize=900m -Djava.awt.headless=true -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/home/confluence-3.2-std/conf/logging.properties -Djava.endorsed.dirs=/home/confluence-3.2-std/endorsed -Dcatalina.base=/home/confluence-3.2-std -Dcatalina.home=/home/confluence-3.2-std -Djava.io.tmpdir=/home/confluence-3.2-std/temp time: 11:23:36 jvmVendor: Sun Microsystems Inc. userName: root javaVersion: 1.6.0_19 systemLanguage: en operatingSystemArchitecture: amd64 workingDirectory: /root/dumps Cluster Information Not clustered. Plugins Add Content Menu Sections (confluence.menu.add, Version: 1.0, Installed: bundled) Admin Sections (confluence.sections.admin, Version: 1.0, Installed: bundled) Advanced Macros (confluence.macros.advanced, Version: 1.6.8, Installed: bundled) Apache HttpClient OSGi bundle (org.apache.httpcomponents.httpclient-4.0, Version: 4.0, Installed: bundled) Apache HttpCore OSGi bundle (org.apache.httpcomponents.httpcore-4.0, Version: 4.0, Installed: bundled) Atlassian Gadgets API (com.atlassian.gadgets.atlassian-gadgets-api-2.0.2.2, Version: 2.0.2.2, Installed: bundled) Atlassian Gadgets OAuth Service Provider Plugin (com.atlassian.gadgets.oauth.serviceprovider, Version: 2.0.2.2, Installed: bundled) Atlassian Gadgets SPI (com.atlassian.gadgets.atlassian-gadgets-spi-2.0.2.2, Version: 2.0.2.2, Installed: bundled) Atlassian OAuth API (com.atlassian.oauth.atlassian-oauth-api-1.0.12, Version: 1.0.12, Installed: bundled) Atlassian OAuth Admin Plugin (com.atlassian.oauth.admin, Version: 1.0.12, Installed: bundled) Atlassian OAuth Consumer Plugin (com.atlassian.oauth.consumer, Version: 1.0.12, Installed: bundled) Atlassian OAuth Consumer SAL SPI Implementation (com.atlassian.oauth.consumer.sal, Version: 1.0.12, Installed: bundled) Atlassian OAuth Consumer SPI (com.atlassian.oauth.atlassian-oauth-consumer-spi-1.0.12, Version: 1.0.12, Installed: bundled) Atlassian OAuth Service Provider Plugin (com.atlassian.oauth.serviceprovider, Version: 1.0.12, Installed: bundled) Atlassian OAuth Service Provider SAL SPI Implementation (com.atlassian.oauth.serviceprovider.sal, Version: 1.0.12, Installed: bundled) Atlassian OAuth Service Provider SPI (com.atlassian.oauth.atlassian-oauth-service-provider-spi-1.0.12, Version: 1.0.12, Installed: bundled) Atlassian REST - Module Types (com.atlassian.plugins.rest.atlassian-rest-module, Version: 1.1.0.beta6, Installed: bundled) Atlassian Template Renderer API (com.atlassian.templaterenderer.api, Version: 1.0.3, Installed: bundled) Atlassian Template Renderer Velocity 1.6 Plugin (com.atlassian.templaterenderer.atlassian-template-renderer-velocity1.6-plugin, Version: 1.0.3, Installed: bundled) Atlassian Templates Import Framework (com.atlassian.confluence.plugins.templates-framework, Version: 0.4, Installed: bundled) Atlassian Templates: Default Package (com.atlassian.confluence.plugins.templates-default, Version: 0.3, Installed: bundled) Atlassian UI Plugin (com.atlassian.auiplugin, Version: 2.0.7, Installed: bundled) Attachment Actions (confluence.sections.attachments, Version: 1.0, Installed: bundled) Attachment Checkout Plugin (confluence.extra.checkout, Version: 2.0.3-dr03, Installed: Jul 26, 2010) Attachment Extractors (com.atlassian.confluence.plugins.attachmentExtractors, Version: 1.1, Installed: bundled) BND Library (biz.aQute.bndlib-0.0.255, Version: 0.0.255, Installed: bundled) Basic Macros (confluence.macros.basic, Version: 1.4, Installed: bundled) Browse Menu Items (confluence.sections.browse, Version: 1.0, Installed: bundled) Cache Plugin (org.swift.confluence.cache, Version: 4.0.0, Installed: Jul 26, 2010) Chart Plugin (confluence.extra.chart, Version: 1.15, Installed: bundled) Classic Left Navigation Theme (com.atlassian.confluence.themes.leftnavigation, Version: 2.10, Installed: bundled) Clickr Theme (com.atlassian.confluence.themes.clickr, Version: 2.11, Installed: Jul 26, 2010) Code Macro (confluence.macros.code, Version: 1.5, Installed: bundled) Comment Action Sections (confluence.comment.action, Version: 1.0, Installed: bundled) Confluence Activity Stream Plugin (com.atlassian.streams.confluence, Version: 3.1, Installed: bundled) Confluence Atlassian Plugin Repository (confluence.repository.client, Version: 2.1.7, Installed: bundled) Confluence Blogging RPC Plugin (com.atlassian.confluence.plugins.xmlrpc.bloggingrpc, Version: 1.2.4, Installed: bundled) Confluence Contributors Plugin (com.atlassian.confluence.contributors, Version: 1.2.3, Installed: bundled) Confluence Drag and Drop Plugin (com.atlassian.confluence.plugins.drag-and-drop, Version: 1.0.5, Installed: bundled) Confluence HTML Macros (confluence.macros.html, Version: 1.8.1, Installed: bundled) Confluence Legacy Web Resources (legacy.confluence.web.resources, Version: 1.0, Installed: bundled) Confluence LinkBrowser (com.atlassian.confluence.plugins.linkbrowser, Version: 3.2, Installed: bundled) Confluence PDF Export (com.atlassian.confluence.extra.flyingpdf, Version: 1.6, Installed: bundled) Confluence REST API (com.atlassian.confluence.restplugin, Version: 3.2, Installed: bundled) Confluence Remote API (confluence.extra.confluencerpc, Version: 3.2, Installed: bundled) Confluence SAL Plugin (com.atlassian.confluence.plugins.confluence-sal-plugin, Version: 3.2, Installed: bundled) Confluence Thread Dump Plugin (com.atlassian.confluence.plugin.threaddump, Version: 1.2.1, Installed: bundled) Confluence Usage Stats (com.atlassian.confluence.ext.usage, Version: 0.12, Installed: bundled) Content Action Menu Sections (confluence.content.action.menu, Version: 1.0, Installed: bundled) Content Buttons (confluence.sections.page.temp, Version: 1.0, Installed: bundled) Content Metadata (confluence.sections.content.metadata, Version: 1.0, Installed: bundled) Core Extractors (confluence.extractors.core, Version: 1.4, Installed: bundled) Core Listeners (confluence.listeners.core, Version: 1.3, Installed: bundled) Core Path Converters (confluence.converters.core, Version: 1.0, Installed: bundled) Core Startup and Shutdown (confluence.lifecycle.core, Version: 1, Installed: bundled) CustomWare Composition Plugin (net.customware.confluence.plugin.composition, Version: 2.3.5, Installed: Jun 29, 2010) Dashboard Actions (com.atlassian.confluence.plugins.dashboard-actions, Version: 1.8, Installed: bundled) Dashboard Macros (confluence.macros.dashboard, Version: 1.13, Installed: bundled) Default Macro Metadata Provider (confluence.macro.metadata.provider, Version: 1.0, Installed: bundled) Default Theme (com.atlassian.confluence.themes.default, Version: 1.0, Installed: bundled) Did You Mean Index Building Interface (confluence.sections.admin.indexing, Version: 1.0, Installed: bundled) Documentation Theme (com.atlassian.confluence.plugins.doctheme, Version: 1.0.7, Installed: bundled) Dynamic Task List 2 Plugin (confluence.extra.dynamictasklist2, Version: 3.2.5, Installed: bundled) Easy Reader Theme (com.atlassian.confluence.plugins.fixedwidth-theme, Version: 1.0.3, Installed: bundled) Edit Settings Sections (confluence.sections.settings.edit, Version: 1.0, Installed: bundled) Editor Actions (confluence.editor.actions, Version: 1.0, Installed: bundled) EhCache Plugins (confluence.cache.ehcache, Version: 3.0, Installed: bundled) Embedded Gadgets Plugin (com.atlassian.gadgets.embedded, Version: 2.0.2.2, Installed: bundled) Follow list resources (confluence.sections.user.follow.list, Version: 1.0, Installed: bundled) French language pack (confluence.languages.fr_FR, Version: 1.20, Installed: bundled) Gadget Directory Plugin (com.atlassian.gadgets.directory, Version: 2.0.2.2, Installed: bundled) Gadget Spec Publisher Plugin (com.atlassian.gadgets.publisher, Version: 2.0.2.2, Installed: bundled) Gadgets Plugin (com.atlassian.confluence.plugins.gadgets, Version: 1.0.3, Installed: bundled) German language pack (confluence.languages.de_DE, Version: 1.14, Installed: bundled) Global Dashboard Actions (confluence.sections.dashboard.global, Version: 1.0, Installed: bundled) Global Labels Sections (confluence.sections.labels, Version: 1.0, Installed: bundled) Google Collections Bundle (com.atlassian.bundles.google-collections-1.0.0.rc1, Version: 1.0.0.rc1, Installed: bundled) ICU4J (com.atlassian.bundles.icu4j-3.8.0.1, Version: 3.8.0.1, Installed: bundled) IM Presence NG Plugin (confluence.extra.impresence2, Version: 2.6, Installed: bundled) Information Macros (confluence.extra.information, Version: 1.3, Installed: bundled) JDOM DOM Processor (com.springsource.org.jdom-1.0.0, Version: 1.0.0, Installed: bundled) JIRA Macros (confluence.extra.jira, Version: 2.8.15, Installed: bundled) JSON Library (com.atlassian.bundles.json-20070829.0.0.1, Version: 20070829.0.0.1, Installed: bundled) JSR 305 Annotations (com.atlassian.bundles.jsr305-1.0, Version: 1.0, Installed: bundled) Java Concurrency in Practice Annotations (com.springsource.net.jcip.annotations-1.0.0, Version: 1.0.0, Installed: bundled) Layout Macros (confluence.extra.layout, Version: 1.5, Installed: bundled) Live Search Macros (confluence.extra.livesearch, Version: 2.11.1, Installed: bundled) Lucene Boosting Strategies (confluence.search.lucene.boosting, Version: 1.0, Installed: bundled) Macro Security Plugin (org.swift.confluence.macrosecurity, Version: 1.0.0, Installed: Jul 26, 2010) News Tabs (confluence.sections.news, Version: 1.0, Installed: bundled) Office Connector plugin (com.atlassian.confluence.extra.officeconnector, Version: 1.6.2, Installed: Jul 8, 2010) Opensocial Plugin (com.atlassian.gadgets.opensocial, Version: 2.0.2.2, Installed: bundled) Page Operations (confluence.sections.page.operations, Version: 1.0, Installed: bundled) Page Tabs (confluence.search.mappers.lucene, Version: 1.0, Installed: bundled) Page Tabs (confluence.sections.page, Version: 1.0, Installed: bundled) Page Tree (com.atlassian.confluence.plugins.pagetree, Version: 1.16, Installed: Jul 26, 2010) Page View Links (confluence.sections.page.actions, Version: 1.0, Installed: bundled) Profile Macros (confluence.macros.profile, Version: 1.0, Installed: bundled) Profile Tabs (confluence.sections.profile, Version: 1.0, Installed: bundled) ROME, RSS and atOM utilitiEs for Java (rome.rome-1.0, Version: 1.0, Installed: bundled) SQL Plugin (org.swift.confluence.sql, Version: 4.0.1, Installed: Jul 26, 2010) Search Web Interface (confluence.sections.admin.generalconfig, Version: 1.0, Installed: bundled) Search Web Interface (confluence.sections.search.view, Version: 1.0, Installed: bundled) Shared Application Access Layer API (com.atlassian.sal.sal-api-2.0.15, Version: 2.0.15, Installed: bundled) Social Bookmarking Plugin (com.atlassian.confluence.plugins.socialbookmarking, Version: 1.3.1, Installed: bundled) Space Actions Sections (confluence.sections.space.actions, Version: 1.0, Installed: bundled) Space Admin Sections (confluence.sections.space.admin, Version: 1.0, Installed: bundled) Space Advanced Sections (confluence.sections.space.advanced, Version: 1.0, Installed: bundled) Space Browse Sections (confluence.sections.space.browse, Version: 1.0, Installed: bundled) Space Export Web Interface (confluence.sections.space.export.view, Version: 1.0, Installed: bundled) Space Item Tabs (confluence.sections.space, Version: 1.0, Installed: bundled) Space Labels Sections (confluence.sections.space.labels, Version: 1.0, Installed: bundled) Space Pages Sections (confluence.sections.space.pages, Version: 1.0, Installed: bundled) System Web Resources (confluence.web.resources, Version: 1.0, Installed: bundled) Table of Contents Plugin (org.randombits.confluence.toc, Version: 2.4.11, Installed: bundled) Tabular Metadata (confluence.extra.masterdetail, Version: 2.9, Installed: bundled) TinyMCE Editor Plugin (com.atlassian.confluence.tinymceplugin, Version: 3.2, Installed: bundled) Tracking Plugin (net.customware.confluence.plugin.tracking, Version: 2.5.0, Installed: Jul 26, 2010) UWC Importer Admin Panel (com.atlassian.confluence.plugins.uwc.uwcimporter-adminpanel, Version: 1.2.1, Installed: bundled) User Administration (confluence.admin.user, Version: 1.0, Installed: bundled) User Hover Menu Sections (confluence.user.hover.menu, Version: 1.0, Installed: bundled) User Lister (confluence.extra.userlister, Version: 2.4.4, Installed: bundled) User Menu Sections (confluence.user.menu.concise, Version: 1.0, Installed: bundled) User Menu Sections (confluence.user.menu, Version: 1.0, Installed: bundled) User Status (confluence.userstatus, Version: 1.0, Installed: bundled) View Changes in Draft (confluence-draft-changes, Version: 1.0, Installed: bundled) View Profile Web Interface (confluence.sections.profile.view, Version: 1.0, Installed: bundled) View follow resources (confluence.sections.user.view.follow, Version: 1.0, Installed: bundled) WebDAV Plugin (confluence.extra.webdav, Version: 2.4, Installed: bundled) Widget Connector (com.atlassian.confluence.extra.widgetconnector, Version: 1.3.2, Installed: bundled) Wiki Renderer Components (confluence.renderer.components, Version: 1.0, Installed: bundled) confluence-imagesearchrenderer-plugin (com.atlassian.confluence.plugins.confluence-imagesearchrenderer-plugin, Version: 1.1, Installed: bundled) Request Information URL https://confluence.zenimaxonline.com:8444/500page.jsp URI /500page.jsp Context Path Servlet Path /500page.jsp Headers (Limited subset) host confluence.zenimaxonline.com:8444 user-agent Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 Safari/534.16 connection keep-alive cache-control max-age=0 Attributes javax.servlet.forward.request_uri /users/dodeletemyprofilepicture.action javax.servlet.forward.context_path javax.servlet.forward.servlet_path /users/dodeletemyprofilepicture.action javax.servlet.forward.path_info /500page.jsp os_securityfilter_already_filtered true javax.servlet.jsp.jspException java.lang.NullPointerException atlassian.core.seraph.original.url /users/dodeletemyprofilepicture.action javax.servlet.error.status_code 500 javax.servlet.error.servlet_name action javax.servlet.request.key_size 0 __sitemesh__using_stream false com.atlassian.gzipfilter.GzipFilter_already_filtered true loginfilter.already.filtered true com.atlassian.confluence.web.ConfluenceJohnsonFilter_already_filtered true Confluence-Request-Time 1301412216699 javax.servlet.request.ssl_session 4d90ddf05587ee5ae0850828e4f7fa030f8625dbe601935a500ebc9b611ee654 javax.servlet.error.message com.atlassian.core.filters.HeaderSanitisingFilter_already_filtered true webwork.valueStack com.opensymphony.xwork.util.OgnlValueStack@2b997a1f sessioninview.FILTERED true __sitemesh__filterapplied true javax.servlet.request.cipher_suite TLS_DHE_RSA_WITH_AES_128_CBC_SHA javax.servlet.error.exception java.lang.NullPointerException javax.servlet.error.request_uri /users/dodeletemyprofilepicture.action Parameters (Limited subset) Confluence User ktempesta Logging: 1 log statements generated by this request: [ERROR] Tue Mar 29 11:23:36 EDT 2011 [com.atlassian.confluence.servlet.ConfluenceServletDispatcher] Could not execute action Throwable: java.lang.NullPointerException at com.atlassian.confluence.extra.checkout.VersionedAttachmentManager.getAttachmentStatus(VersionedAttachmentManager.java:118) at com.atlassian.confluence.extra.checkout.VersionedAttachmentManager.removeAttachmentFromServer(VersionedAttachmentManager.java:48) at com.atlassian.confluence.pages.DelegatorAttachmentManager.removeAttachmentFromServer(DelegatorAttachmentManager.java:78) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy18.removeAttachmentFromServer(Unknown Source) at com.atlassian.confluence.user.service.DeleteProfilePictureCommandImpl.executeInternal(DeleteProfilePictureCommandImpl.java:59) at com.atlassian.confluence.core.service.AbstractServiceCommand$ServiceCommandState$2.execute(AbstractServiceCommand.java:149) at com.atlassian.confluence.core.service.AbstractServiceCommand.execute(AbstractServiceCommand.java:61) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    Atlassian JIRA | 6 years ago | Kathy Tempesta
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.pages.DefaultAttachmentManager.removeAttachmentFromServer()
    2. com.atlassian.confluence
      DelegatorAttachmentManager.removeAttachmentFromServer
      1. com.atlassian.confluence.pages.DefaultAttachmentManager.removeAttachmentFromServer(DefaultAttachmentManager.java:93)
      2. com.atlassian.confluence.pages.DelegatorAttachmentManager.removeAttachmentFromServer(DelegatorAttachmentManager.java:62)
      2 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    4. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:61)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:149)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:116)
      3 frames
    5. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56)
      1 frame