java.lang.NullPointerException

Atlassian JIRA | Michael Heemskerk | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    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}

    Atlassian JIRA | 5 years ago | Michael Heemskerk
    java.lang.NullPointerException
  2. 0

    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}

    Atlassian JIRA | 5 years ago | Michael Heemskerk
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.atlassian.confluence.content.service.comment.EditCommentFromEditorCommand.getPage()
    2. com.atlassian.confluence
      EditCommentFromEditorCommand.getPage
      1. com.atlassian.confluence.content.service.comment.EditCommentFromEditorCommand.getPage(EditCommentFromEditorCommand.java:59)
      1 frame