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 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]
    via by Ming Giet Chong [Atlassian],
  • 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]
    via by Ming Giet Chong [Atlassian],
    • 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)
    No Bugmate found.