javax.servlet.ServletException: javax.el.ELException: java.lang.NullPointerException

Atlassian JIRA | Tim Pettersen | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 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 | 9 years ago | Tim Pettersen [Atlassian]
    javax.servlet.ServletException: javax.el.ELException: java.lang.NullPointerException
  2. 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 | 9 years ago | Tim Pettersen
    javax.servlet.ServletException: javax.el.ELException: java.lang.NullPointerException
  3. 0

    Outputtext Attribute and Bean

    Oracle Community | 9 years ago | 843844
    javax.faces.FacesException: javax.servlet.ServletException: java.lang.IndexOutOfBoundsException: Index: 10, Size: 9
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Push Publishing - Error during the import of locked content where the user doesn't exist in the import server

    GitHub | 4 years ago | oswaldogallango
    javax.servlet.ServletException: com.dotmarketing.exception.DotDataException: identifier:c019921a-6c0f-45c3-bea9-dec8f187eab3 not found
  6. 0

    instructorCourseEditPage goes out of memory

    GitHub | 3 years ago | damithc
    javax.servlet.ServletException: java.lang.OutOfMemoryError: Java heap space

    2 unregistered visitors
    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.servlet.ServletException

      javax.el.ELException: java.lang.NullPointerException

      at org.apache.jasper.runtime.PageContextImpl.doHandlePageException()
    2. GWT dev
      PageContextImpl.handlePageException
      1. org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:919)
      2. org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:855)
      2 frames
    3. org.apache.jsp
      displayFrxInnerDiv_jsp._jspService
      1. org.apache.jsp.WEB_002dINF.jsp.crucible.review.monolithic.displayFrxInnerDiv_jsp._jspService(org.apache.jsp.WEB_002dINF.jsp.crucible.review.monolithic.displayFrxInnerDiv_jsp:94)
      1 frame
    4. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93)
      1 frame
    5. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      1 frame
    6. GWT dev
      JspServlet.serviceJspFile
      1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
      2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470)
      2 frames