java.lang.NullPointerException

Atlassian JIRA | Ming Giet Chong [Atlassian] | 7 years ago
  1. 0

    The following error is thrown when the user who is logging in has added a project as a favourite, that has been deleted. {noformat} 2009-07-09 17:39:35,437 ERROR [btpool0-12] org.mortbay.log org.mortbay.log.Slf4jLog-warn - /home java.lang.NullPointerException at com.atlassian.fisheye.stars.model.ProjectStar.getName(ProjectStar.java:42) at com.atlassian.fisheye.stars.tags.StarData.<init>(StarData.java:52) at com.atlassian.fisheye.stars.tags.StarWebUtil.getLoggedInUsersStars(StarWebUtil.java:98) at com.atlassian.fisheye.user.action.UserHomePageAction.execute(UserHomePageAction.java:40) at com.atlassian.fisheye.user.action.BaseUserPageAction.initThenExecute(BaseUserPageAction.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) {noformat} Steps to reproduce: # Login as admin to create an user and a project # Login as the newly created user # Add the project to favourite # Logout the user # Remove the project via _Admin > Projects List_ # Error occurs when the user login again The similar problem happens when a repository is deleted. {noformat} 2009-07-09 18:04:57,078 ERROR [btpool0-14] org.mortbay.log org.mortbay.log.Slf4jLog-warn - Nested in javax.servlet.jsp.JspException: javax.el.ELException: Problems calling function 'cru:getRepoType': javax.el.ELException: Problems calling function 'cru:getRepoType' at com.sun.el.parser.AstFunction.getValue(AstFunction.java:132) at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206) at org.apache.jasper.runtime.PageContextImpl.evaluateExpression(PageContextImpl.java:1001) at org.apache.jsp.tag.web.cru.star.tableRow_tag._jspx_meth_c_set_1(tableRow_tag.java:301) at org.apache.jsp.tag.web.cru.star.tableRow_tag._jspx_meth_c_when_1(tableRow_tag.java:256) at org.apache.jsp.tag.web.cru.star.tableRow_tag._jspx_meth_c_choose_0(tableRow_tag.java:158) at org.apache.jsp.tag.web.cru.star.tableRow_tag.doTag(tableRow_tag.java:125) {noformat} Steps to reproduce: # Create a repository # Login as the user and add the repository as favourite # Now, remove the repository from admin page # Somehow, the removed repo still persists via the favourite tab e.g see this [screen shot|^delete-repo.png] # Clicking the "Manage Favorite" tab leads to [this error|^repo.png]

    Atlassian JIRA | 7 years ago | Ming Giet Chong [Atlassian]
    java.lang.NullPointerException
  2. 0

    The following error is thrown when the user who is logging in has added a project as a favourite, that has been deleted. {noformat} 2009-07-09 17:39:35,437 ERROR [btpool0-12] org.mortbay.log org.mortbay.log.Slf4jLog-warn - /home java.lang.NullPointerException at com.atlassian.fisheye.stars.model.ProjectStar.getName(ProjectStar.java:42) at com.atlassian.fisheye.stars.tags.StarData.<init>(StarData.java:52) at com.atlassian.fisheye.stars.tags.StarWebUtil.getLoggedInUsersStars(StarWebUtil.java:98) at com.atlassian.fisheye.user.action.UserHomePageAction.execute(UserHomePageAction.java:40) at com.atlassian.fisheye.user.action.BaseUserPageAction.initThenExecute(BaseUserPageAction.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) {noformat} Steps to reproduce: # Login as admin to create an user and a project # Login as the newly created user # Add the project to favourite # Logout the user # Remove the project via _Admin > Projects List_ # Error occurs when the user login again The similar problem happens when a repository is deleted. {noformat} 2009-07-09 18:04:57,078 ERROR [btpool0-14] org.mortbay.log org.mortbay.log.Slf4jLog-warn - Nested in javax.servlet.jsp.JspException: javax.el.ELException: Problems calling function 'cru:getRepoType': javax.el.ELException: Problems calling function 'cru:getRepoType' at com.sun.el.parser.AstFunction.getValue(AstFunction.java:132) at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206) at org.apache.jasper.runtime.PageContextImpl.evaluateExpression(PageContextImpl.java:1001) at org.apache.jsp.tag.web.cru.star.tableRow_tag._jspx_meth_c_set_1(tableRow_tag.java:301) at org.apache.jsp.tag.web.cru.star.tableRow_tag._jspx_meth_c_when_1(tableRow_tag.java:256) at org.apache.jsp.tag.web.cru.star.tableRow_tag._jspx_meth_c_choose_0(tableRow_tag.java:158) at org.apache.jsp.tag.web.cru.star.tableRow_tag.doTag(tableRow_tag.java:125) {noformat} Steps to reproduce: # Create a repository # Login as the user and add the repository as favourite # Now, remove the repository from admin page # Somehow, the removed repo still persists via the favourite tab e.g see this [screen shot|^delete-repo.png] # Clicking the "Manage Favorite" tab leads to [this error|^repo.png]

    Atlassian JIRA | 7 years ago | Ming Giet Chong [Atlassian]
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. 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.fisheye.stars.model.ProjectStar.getName()
    2. com.atlassian.fisheye
      BaseUserPageAction.initThenExecute
      1. com.atlassian.fisheye.stars.model.ProjectStar.getName(ProjectStar.java:42)
      2. com.atlassian.fisheye.stars.tags.StarData.<init>(StarData.java:52)
      3. com.atlassian.fisheye.stars.tags.StarWebUtil.getLoggedInUsersStars(StarWebUtil.java:98)
      4. com.atlassian.fisheye.user.action.UserHomePageAction.execute(UserHomePageAction.java:40)
      5. com.atlassian.fisheye.user.action.BaseUserPageAction.initThenExecute(BaseUserPageAction.java:112)
      5 frames
    3. Java RT
      NativeMethodAccessorImpl.invoke0
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      1 frame