javax.el.ELException: Problems calling function 'cru:getRepoType'

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]
    javax.el.ELException: Problems calling function 'cru:getRepoType'
  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]
    javax.el.ELException: Problems calling function 'cru:getRepoType'
  3. 0

    Occasional glitch in Navajo JSP Tester (OSGi)

    GitHub | 3 years ago | flyaruu
    javax.el.ELException: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I'm trying to move the existing privateeye reviews over to the new FE/CRU instance: atlaseye. PrivateEye had a single Fisheye repository called 'private' rooted at https://svn.atlassian.com/svn/private/ AtlasEye has several logical repositories named things like 'JIRA' and 'Bamboo' rooted at various paths under https://svn.atlassian.com/svn/private/ So we've created a light SCM svn repo called 'private' that connects via the file system to the private repo. (attempts to access it via https also fail in a similar manner). All revisions show up as deleted and an NPE is encountered (see screenshot). The stacktrace below describes the NPE: {noformat} [java] WARN - /foo/json/cru/CR-1032/loadFrxAjax [java] javax.servlet.ServletException: javax.el.ELException: java.lang.NullPointerException [java] at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:919) [java] at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:855) [java] at org.apache.jsp.WEB_002dINF.jsp.crucible.review.monolithic.displayFrxInnerDiv_jsp._jspService(org.apache.jsp.WEB_002dINF.jsp.crucible.review.m onolithic.displayFrxInnerDiv_jsp:94) [java] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93) [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) [java] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373) [java] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470) ............snip............ [java] Caused by: javax.el.ELException: java.lang.NullPointerException [java] at javax.el.BeanELResolver.getValue(BeanELResolver.java:266) [java] at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143) [java] at com.sun.el.parser.AstValue.getValue(AstValue.java:138) [java] at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206) [java] at org.apache.jasper.runtime.PageContextImpl.evaluateExpression(PageContextImpl.java:984) [java] at org.apache.jsp.tag.web.review.frxInner_tag._jspx_meth_rev_diffOptionsFormAjax_0(org.apache.jsp.tag.web.review.frxInner_tag:1534) [java] at org.apache.jsp.tag.web.review.frxInner_tag._jspx_meth_c_if_13(org.apache.jsp.tag.web.review.frxInner_tag:1461) [java] at org.apache.jsp.tag.web.review.frxInner_tag.doTag(org.apache.jsp.tag.web.review.frxInner_tag:307) [java] at org.apache.jsp.WEB_002dINF.jsp.crucible.review.monolithic.displayFrxInnerDiv_jsp._jspx_meth_rev_frxInner_0(org.apache.jsp.WEB_002dINF.jsp.cru cible.review.monolithic.displayFrxInnerDiv_jsp:202) [java] at org.apache.jsp.WEB_002dINF.jsp.crucible.review.monolithic.displayFrxInnerDiv_jsp._jspx_meth_cru_asJavascriptString_1(org.apache.jsp.WEB_002dI NF.jsp.crucible.review.monolithic.displayFrxInnerDiv_jsp:167) [java] at org.apache.jsp.WEB_002dINF.jsp.crucible.review.monolithic.displayFrxInnerDiv_jsp._jspService(org.apache.jsp.WEB_002dINF.jsp.crucible.review.m onolithic.displayFrxInnerDiv_jsp:82) [java] ... 100 more [java] Caused by: java.lang.NullPointerException [java] at com.cenqua.fisheye.diff.DiffHelper.getDiffExp(DiffHelper.java:65) [java] at com.cenqua.crucible.revision.source.Source.getDiffPrinter(Source.java:199) [java] at com.cenqua.crucible.revision.managers.DefaultContentManager.getDiffPrinter(DefaultContentManager.java:493) [java] at com.cenqua.crucible.view.FRXDO.getDiffPrinter(FRXDO.java:634) [java] at com.cenqua.crucible.view.FRXDO.isSideBySide(FRXDO.java:213) [java] at sun.reflect.GeneratedMethodAccessor373.invoke(Unknown Source) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:585) [java] at javax.el.BeanELResolver.getValue(BeanELResolver.java:261) [java] ... 110 more [java] ERROR - Nested in javax.servlet.ServletException: javax.el.ELException: java.lang.NullPointerException: [java] javax.el.ELException: java.lang.NullPointerException [java] at javax.el.BeanELResolver.getValue(BeanELResolver.java:266) [java] at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143) [java] at com.sun.el.parser.AstValue.getValue(AstValue.java:138) [java] at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206) [java] at org.apache.jasper.runtime.PageContextImpl.evaluateExpression(PageContextImpl.java:984) [java] at org.apache.jsp.tag.web.review.frxInner_tag._jspx_meth_rev_diffOptionsFormAjax_0(org.apache.jsp.tag.web.review.frxInner_tag:1534) [java] at org.apache.jsp.tag.web.review.frxInner_tag._jspx_meth_c_if_13(org.apache.jsp.tag.web.review.frxInner_tag:1461) [java] at org.apache.jsp.tag.web.review.frxInner_tag.doTag(org.apache.jsp.tag.web.review.frxInner_tag:307) [java] at org.apache.jsp.WEB_002dINF.jsp.crucible.review.monolithic.displayFrxInnerDiv_jsp._jspx_meth_rev_frxInner_0(org.apache.jsp.WEB_002dINF.jsp.cru cible.review.monolithic.displayFrxInnerDiv_jsp:202) [java] at org.apache.jsp.WEB_002dINF.jsp.crucible.review.monolithic.displayFrxInnerDiv_jsp._jspx_meth_cru_asJavascriptString_1(org.apache.jsp.WEB_002dI NF.jsp.crucible.review.monolithic.displayFrxInnerDiv_jsp:167) [java] at org.apache.jsp.WEB_002dINF.jsp.crucible.review.monolithic.displayFrxInnerDiv_jsp._jspService(org.apache.jsp.WEB_002dINF.jsp.crucible.review.m onolithic.displayFrxInnerDiv_jsp:82) [java] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93) [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) [java] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373) [java] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470) [java] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364) [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) ............snip............ [java] Caused by: java.lang.NullPointerException [java] at com.cenqua.fisheye.diff.DiffHelper.getDiffExp(DiffHelper.java:65) [java] at com.cenqua.crucible.revision.source.Source.getDiffPrinter(Source.java:199) [java] at com.cenqua.crucible.revision.managers.DefaultContentManager.getDiffPrinter(DefaultContentManager.java:493) [java] at com.cenqua.crucible.view.FRXDO.getDiffPrinter(FRXDO.java:634) [java] at com.cenqua.crucible.view.FRXDO.isSideBySide(FRXDO.java:213) [java] at sun.reflect.GeneratedMethodAccessor373.invoke(Unknown Source) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:585) [java] at javax.el.BeanELResolver.getValue(BeanELResolver.java:261) [java] ... 110 more {noformat}

    Atlassian JIRA | 8 years ago | Tim Pettersen [Atlassian]
    javax.el.ELException: java.lang.NullPointerException
  6. 0

    seen in https://extranet.atlassian.com/crucible/cru/TEST-1 (logged in as mquail) [link to skitch|http://skitch.com/mquail/bus59/test-1-asd-under-review] trace: {noformat} 2009-06-11 01:30:15,947 ERROR [btpool0-173] org.mortbay.log org.mortbay.log.Slf4jLog-warn - Nested in javax.servlet.ServletException: javax.el.ELException: java.lang.NullPointerException: javax.el.ELException: java.lang.NullPointerException at javax.el.BeanELResolver.getValue(BeanELResolver.java:298) at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:175) at com.sun.el.parser.AstValue.getValue(AstValue.java:138) at com.sun.el.parser.AstPlus.getValue(AstPlus.java:55) 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.review.frxModelLoader_tag.doTag(frxModelLoader_tag.java:112) at org.apache.jsp.WEB_002dINF.jsp.crucible.review.monolithic.displayFrxInnerDiv_jsp._jspx_meth_rev_frxModelLoader_0(displayFrxInnerDiv_jsp.java:394) at org.apache.jsp.WEB_002dINF.jsp.crucible.review.monolithic.displayFrxInnerDiv_jsp._jspx_meth_cru_asJavascriptString_4(displayFrxInnerDiv_jsp.java:364) at org.apache.jsp.WEB_002dINF.jsp.crucible.review.monolithic.displayFrxInnerDiv_jsp._jspService(displayFrxInnerDiv_jsp.java:102) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1208) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:55) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:41) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1200) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:55) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:41) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1200) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:70) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1200) .... Caused by: java.lang.NullPointerException at com.cenqua.crucible.revision.source.PatchSource.getDiffPrinter(PatchSource.java:130) at com.cenqua.crucible.view.FRXDO.getDiffPrinter(FRXDO.java:974) at com.cenqua.crucible.view.FRXDO.getPluginGuttersCount(FRXDO.java:982) at com.cenqua.crucible.view.FRXDO.getDiffColumns(FRXDO.java:315) at sun.reflect.GeneratedMethodAccessor713.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at javax.el.BeanELResolver.getValue(BeanELResolver.java:293) ... 140 more {noformat}

    Atlassian JIRA | 7 years ago | Matt "Spuddy" Quail
    javax.el.ELException: java.lang.NullPointerException

  1. MoYapro 8 times, last 3 weeks ago
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. javax.el.ELException

    Problems calling function 'cru:getRepoType'

    at com.sun.el.parser.AstFunction.getValue()
  2. EL
    ValueExpressionImpl.getValue
    1. com.sun.el.parser.AstFunction.getValue(AstFunction.java:132)
    2. com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206)
    2 frames
  3. GWT dev
    PageContextImpl.evaluateExpression
    1. org.apache.jasper.runtime.PageContextImpl.evaluateExpression(PageContextImpl.java:1001)
    1 frame
  4. org.apache.jsp
    tableRow_tag.doTag
    1. org.apache.jsp.tag.web.cru.star.tableRow_tag._jspx_meth_c_set_1(tableRow_tag.java:301)
    2. org.apache.jsp.tag.web.cru.star.tableRow_tag._jspx_meth_c_when_1(tableRow_tag.java:256)
    3. org.apache.jsp.tag.web.cru.star.tableRow_tag._jspx_meth_c_choose_0(tableRow_tag.java:158)
    4. org.apache.jsp.tag.web.cru.star.tableRow_tag.doTag(tableRow_tag.java:125)
    4 frames