java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Steps to reproduce: # add a comment to a page # stay on the page and have someone else remove the comment (or do it in a different tab I guess) # click 'edit' on the comment Result: {noformat} java.lang.NullPointerException at com.atlassian.confluence.content.service.comment.EditCommentFromEditorCommand.getPage(EditCommentFromEditorCommand.java:59) Stack Trace:[hide] java.lang.NullPointerException at com.atlassian.confluence.content.service.comment.EditCommentFromEditorCommand.getPage(EditCommentFromEditorCommand.java:59) at com.atlassian.confluence.content.service.comment.EditCommentFromEditorCommand.validateInternal(EditCommentFromEditorCommand.java:35) at com.atlassian.confluence.core.service.AbstractServiceCommand$ServiceCommandState$4.validate(AbstractServiceCommand.java:198) at com.atlassian.confluence.core.service.AbstractServiceCommand$ServiceCommandState$6.validate(AbstractServiceCommand.java:259) at com.atlassian.confluence.core.service.AbstractServiceCommand.isValid(AbstractServiceCommand.java:42) 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:307) 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 $Proxy1823.isValid(Unknown Source) at com.atlassian.confluence.pages.actions.EditCommentAction.validate(EditCommentAction.java:33) {noformat}
    via by Michael Heemskerk,
  • Steps to reproduce: # add a comment to a page # stay on the page and have someone else remove the comment (or do it in a different tab I guess) # click 'edit' on the comment Result: {noformat} java.lang.NullPointerException at com.atlassian.confluence.content.service.comment.EditCommentFromEditorCommand.getPage(EditCommentFromEditorCommand.java:59) Stack Trace:[hide] java.lang.NullPointerException at com.atlassian.confluence.content.service.comment.EditCommentFromEditorCommand.getPage(EditCommentFromEditorCommand.java:59) at com.atlassian.confluence.content.service.comment.EditCommentFromEditorCommand.validateInternal(EditCommentFromEditorCommand.java:35) at com.atlassian.confluence.core.service.AbstractServiceCommand$ServiceCommandState$4.validate(AbstractServiceCommand.java:198) at com.atlassian.confluence.core.service.AbstractServiceCommand$ServiceCommandState$6.validate(AbstractServiceCommand.java:259) at com.atlassian.confluence.core.service.AbstractServiceCommand.isValid(AbstractServiceCommand.java:42) 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:307) 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 $Proxy1823.isValid(Unknown Source) at com.atlassian.confluence.pages.actions.EditCommentAction.validate(EditCommentAction.java:33) {noformat}
    via by Michael Heemskerk,
    • java.lang.NullPointerException at com.atlassian.confluence.content.service.comment.EditCommentFromEditorCommand.getPage(EditCommentFromEditorCommand.java:59)
    No Bugmate found.