You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Dario Andrade (JIRA)" <ji...@apache.org> on 2007/11/08 02:06:50 UTC
[jira] Updated: (GERONIMO-3589) NullpointerException thrown when
running jsp tag inside security realm
[ https://issues.apache.org/jira/browse/GERONIMO-3589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dario Andrade updated GERONIMO-3589:
------------------------------------
Description:
A null pointer exception is thrown when trying to access any jsp that contains tags (any tag, struts, jstl, etc):
class java.lang.NullPointerException
org.apache.jsp.billing.admin.login_jsp._jspx_meth_c_005fout_005f0(login_jsp.java:111)
org.apache.jsp.billing.admin.login_jsp._jspService(login_jsp.java:78)
gmania.billing.servlet.jsp.BaseJSP.service(BaseJSP.java:30)
As you can see, the line that throws NPE is the one that accesses the "_jsp_instancemanager" member variable from the generated jsp-compiled class file:
------------------------------------
private boolean _jspx_meth_c_005fout_005f0(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// c:out
********** THIS ONE ************ -------> org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f0 = (org.apache.taglibs.standard.tag.rt.core.OutTag)_jsp_instancemanager.newInstance("org.apache.taglibs.standard.tag.rt.core.OutTag", this.getClass().getClassLoader());
_jspx_th_c_005fout_005f0.setPageContext(_jspx_page_context);
_jspx_th_c_005fout_005f0.setParent(null);
// /billing/admin/login.jsp(14,8) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
----------------------------------------------------------
This only happens after I enter a certificate security realm https path.
Hope you have enough info to investigate the problem.
The current application is identical to what's being used on a geronimo 1.1.1 setup, including deployment plans.
Thanks,
Dario Andrade
was:
A null pointer exception is thrown when trying to access any jsp that contains tags (any tag, struts, jstl, etc):
class java.lang.NullPointerException
org.apache.jsp.billing.admin.login_jsp._jspx_meth_c_005fout_005f0(login_jsp.java:111)
org.apache.jsp.billing.admin.login_jsp._jspService(login_jsp.java:78)
gmania.billing.servlet.jsp.BaseJSP.service(BaseJSP.java:30)
As you can see, the line that throws NPE is the one that accesses the "_jsp_instancemanager" member variable from the generated jsp-compiled class file:
------------------------------------
private boolean _jspx_meth_c_005fout_005f0(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// c:out
********** THIS ONE ************ -------> org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f0 = (org.apache.taglibs.standard.tag.rt.core.OutTag)_jsp_instancemanager.newInstance("org.apache.taglibs.standard.tag.rt.core.OutTag", this.getClass().getClassLoader());
_jspx_th_c_005fout_005f0.setPageContext(_jspx_page_context);
_jspx_th_c_005fout_005f0.setParent(null);
// /billing/admin/login.jsp(14,8) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
----------------------------------------------------------
This only happens after I enter a certificate security realm https path.
Hope you have enough info to investigate the problem.
The current application is identical to what's being used on a geronimo 1.1.1 setup, including deployment plans.
Thanks,
Dario Andrade
> NullpointerException thrown when running jsp tag inside security realm
> ----------------------------------------------------------------------
>
> Key: GERONIMO-3589
> URL: https://issues.apache.org/jira/browse/GERONIMO-3589
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Tomcat
> Affects Versions: 2.0.2
> Environment: sun java 1.6_03, amd64 ubuntu 7.10 kernel 2.6.22, 4GB, 2 dual core amd 2210, geronimo 2.0.2
> Reporter: Dario Andrade
>
> A null pointer exception is thrown when trying to access any jsp that contains tags (any tag, struts, jstl, etc):
> class java.lang.NullPointerException
> org.apache.jsp.billing.admin.login_jsp._jspx_meth_c_005fout_005f0(login_jsp.java:111)
> org.apache.jsp.billing.admin.login_jsp._jspService(login_jsp.java:78)
> gmania.billing.servlet.jsp.BaseJSP.service(BaseJSP.java:30)
> As you can see, the line that throws NPE is the one that accesses the "_jsp_instancemanager" member variable from the generated jsp-compiled class file:
> ------------------------------------
> private boolean _jspx_meth_c_005fout_005f0(PageContext _jspx_page_context)
> throws Throwable {
> PageContext pageContext = _jspx_page_context;
> JspWriter out = _jspx_page_context.getOut();
> // c:out
> ********** THIS ONE ************ -------> org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f0 = (org.apache.taglibs.standard.tag.rt.core.OutTag)_jsp_instancemanager.newInstance("org.apache.taglibs.standard.tag.rt.core.OutTag", this.getClass().getClassLoader());
> _jspx_th_c_005fout_005f0.setPageContext(_jspx_page_context);
> _jspx_th_c_005fout_005f0.setParent(null);
> // /billing/admin/login.jsp(14,8) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
> ----------------------------------------------------------
> This only happens after I enter a certificate security realm https path.
> Hope you have enough info to investigate the problem.
> The current application is identical to what's being used on a geronimo 1.1.1 setup, including deployment plans.
> Thanks,
> Dario Andrade
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.