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.

  • The error that is thrown is: {noformat} 2009-05-26 11:41:39,524 ERROR [btpool0-601] org.mortbay.log sun.reflect.NativeMethodAccessorImpl-invoke0 - Nested in javax.servlet.ServletException: java.lang.NullPointerException: java.lang.NullPointerException at com.cenqua.crucible.actions.create.CreateReviewFromChangesetAction.execute(CreateReviewFromChangesetAction.java:147) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) {noformat} Steps to reproduce 1) Log out of Crucible completely 2) Go into a JIRA issue and from the fisheye tab attempt to create a review via the "Create crucible review for all x changesets in" link. 3) You will be directed to the crucible login page 4) Enter your details and when you click submit, you will get a 500 error NullPointerException and if you check your fisheye-error.log you will see the above error 5) Repeat step two and this time it will succeed as you are logged in. What is happening is the post parameters that are sent to Crucible are lost when you are redirected to login. Once you login, crucible attempts to redirect to the action you were trying to do before logging in, however without the post parameters you first passed. I.E. JIRA Issue > Create Review > Redirect to Crucible Login > Successful login > Redirect back to Create Review The post parameters passed from JIRA Issue > Create Review are not passed on, or lost between Successful login > Redirect back to Create Review.
    via by Partha Kamal [Atlassian],
  • The error that is thrown is: {noformat} 2009-05-26 11:41:39,524 ERROR [btpool0-601] org.mortbay.log sun.reflect.NativeMethodAccessorImpl-invoke0 - Nested in javax.servlet.ServletException: java.lang.NullPointerException: java.lang.NullPointerException at com.cenqua.crucible.actions.create.CreateReviewFromChangesetAction.execute(CreateReviewFromChangesetAction.java:147) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) {noformat} Steps to reproduce 1) Log out of Crucible completely 2) Go into a JIRA issue and from the fisheye tab attempt to create a review via the "Create crucible review for all x changesets in" link. 3) You will be directed to the crucible login page 4) Enter your details and when you click submit, you will get a 500 error NullPointerException and if you check your fisheye-error.log you will see the above error 5) Repeat step two and this time it will succeed as you are logged in. What is happening is the post parameters that are sent to Crucible are lost when you are redirected to login. Once you login, crucible attempts to redirect to the action you were trying to do before logging in, however without the post parameters you first passed. I.E. JIRA Issue > Create Review > Redirect to Crucible Login > Successful login > Redirect back to Create Review The post parameters passed from JIRA Issue > Create Review are not passed on, or lost between Successful login > Redirect back to Create Review.
    via by Partha Kamal [Atlassian],
    • java.lang.NullPointerException at com.cenqua.crucible.actions.create.CreateReviewFromChangesetAction.execute(CreateReviewFromChangesetAction.java:147) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    No Bugmate found.