Re: Null PointerException when run with Apache/SSL/Tomcat

2001-06-04 Thread Brett G. Palmer

Thanks for everyone's suggestions.  Updating to Struts beta-3 fixed the
problem.  I also tried configuring SSL according the Bugzilla record #992,
but it didn't fix the problem.

Brett



- Original Message -
From: "Bryan Field-Elliot" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 04, 2001 12:24 PM
Subject: Re: Null PointerException when run with Apache/SSL/Tomcat


> I had an extremely similar (though not quite exact) problem last week. I
> posted as you did, but no one responded. This morning, I upgraded from
> Struts beta-1 to beta-3, and so far it appears to have magically fixed
> the SSL problem. Hopefully a similar path will fix yours too.
>
> Good luck,
>
> Bryan
>
> Brett G. Palmer wrote:
>
> >We are getting a NullPionterException which seems to originate from the
the
> >struts-html tag libraries.  The error only occurs when we run Struts with
> >Tomcat/Apache and SSL.  If we bypass SSL and just go through Apache (port
> >80) we do not see the error.  Has anyone else seen this problem when
running
> >Struts through SSL?  Any suggestions would be appreciated.  The error
> >message is shown below.
> >
> >Thanks in advance for your help.
> >
> >Brett
> >
> >/ ERROR Message **/
> >
> >Error: 500
> >Location: /mvelopes05/index.jsp
> >Internal Servlet Error:
> >
> >javax.servlet.ServletException
> > at
>
>org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextIm
p
> >l.java:459)
> > at
>
>_0002findex_0002ejspindex_jsp_1._jspService(_0002findex_0002ejspindex_jsp_1
.
> >java:553)
> > at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > at
>
>org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.j
a
> >va:130)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > at
>
>org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.j
a
> >va:282)
> > at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
> > at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
> > at org.apache.tomcat.core.Handler.service(Handler.java:287)
> > at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> > at
>
>org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:7
9
> >7)
> > at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> > at
>
>org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnectio
n
> >(Ajp13ConnectionHandler.java:160)
> > at
> >org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> > at
>
>org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
> > at java.lang.Thread.run(Thread.java:484)
> >
> >Root cause:
> >java.lang.NullPointerException
> > at org.apache.struts.taglib.html.LinkTag.hyperlink(LinkTag.java:492)
> > at org.apache.struts.taglib.html.LinkTag.doStartTag(LinkTag.java:317)
> > at
>
>_0002findex_0002ejspindex_jsp_1._jspService(_0002findex_0002ejspindex_jsp_1
.
> >java:145)
> > at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > at
>
>org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.j
a
> >va:130)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > at
>
>org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.j
a
> >va:282)
> > at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
> > at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
> > at org.apache.tomcat.core.Handler.service(Handler.java:287)
> > at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> > at
>
>org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:7
9
> >7)
> > at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> > at
>
>org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnectio
n
> >(Ajp13ConnectionHandler.java:160)
> > at
> >org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> > at
>
>org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
> > at java.lang.Thread.run(Thread.java:484)
> >
> >
> >
>
>
>




RE: Null PointerException when run with Apache/SSL/Tomcat

2001-06-04 Thread Deadman, Hal

This could also be caused by a link URL including the port number which
sometimes caused a new session to be used. A NPE could result when code that
normally expected something in the session didn't find it because the
session was new. As indicated by the other post, this may be fixed in b3.

> -Original Message-
> From: Dan Miser [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 04, 2001 4:08 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Null PointerException when run with Apache/SSL/Tomcat
>
>
> Your SSL isn't configured properly. Take a look at bug 992 in
> Bugzilla for
> the solution <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=992>
> --
> Dan Miser
> http://www.distribucon.com
>
>
> >From: "Brett G. Palmer" <[EMAIL PROTECTED]>
> >
> >We are getting a NullPionterException which seems to
> originate from the the
> >struts-html tag libraries.  The error only occurs when we
> run Struts with
> >Tomcat/Apache and SSL.  If we bypass SSL and just go through
> Apache (port
> >80) we do not see the error.
>
> _
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>



Re: Null PointerException when run with Apache/SSL/Tomcat

2001-06-04 Thread Dan Miser

Your SSL isn't configured properly. Take a look at bug 992 in Bugzilla for 
the solution 
--
Dan Miser
http://www.distribucon.com


>From: "Brett G. Palmer" <[EMAIL PROTECTED]>
>
>We are getting a NullPionterException which seems to originate from the the
>struts-html tag libraries.  The error only occurs when we run Struts with
>Tomcat/Apache and SSL.  If we bypass SSL and just go through Apache (port
>80) we do not see the error.

_
Get your FREE download of MSN Explorer at http://explorer.msn.com




Re: Null PointerException when run with Apache/SSL/Tomcat

2001-06-04 Thread Bryan Field-Elliot

I had an extremely similar (though not quite exact) problem last week. I 
posted as you did, but no one responded. This morning, I upgraded from 
Struts beta-1 to beta-3, and so far it appears to have magically fixed 
the SSL problem. Hopefully a similar path will fix yours too.

Good luck,

Bryan

Brett G. Palmer wrote:

>We are getting a NullPionterException which seems to originate from the the
>struts-html tag libraries.  The error only occurs when we run Struts with
>Tomcat/Apache and SSL.  If we bypass SSL and just go through Apache (port
>80) we do not see the error.  Has anyone else seen this problem when running
>Struts through SSL?  Any suggestions would be appreciated.  The error
>message is shown below.
>
>Thanks in advance for your help.
>
>Brett
>
>/ ERROR Message **/
>
>Error: 500
>Location: /mvelopes05/index.jsp
>Internal Servlet Error:
>
>javax.servlet.ServletException
>   at
>org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
>l.java:459)
>   at
>_0002findex_0002ejspindex_jsp_1._jspService(_0002findex_0002ejspindex_jsp_1.
>java:553)
>   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>   at
>org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.ja
>va:130)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>   at
>org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
>va:282)
>   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
>   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>   at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
>   at org.apache.tomcat.core.Handler.service(Handler.java:287)
>   at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>   at
>org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
>7)
>   at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
>   at
>org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection
>(Ajp13ConnectionHandler.java:160)
>   at
>org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
>   at
>org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
>   at java.lang.Thread.run(Thread.java:484)
>
>Root cause:
>java.lang.NullPointerException
>   at org.apache.struts.taglib.html.LinkTag.hyperlink(LinkTag.java:492)
>   at org.apache.struts.taglib.html.LinkTag.doStartTag(LinkTag.java:317)
>   at
>_0002findex_0002ejspindex_jsp_1._jspService(_0002findex_0002ejspindex_jsp_1.
>java:145)
>   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>   at
>org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.ja
>va:130)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>   at
>org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
>va:282)
>   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
>   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>   at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
>   at org.apache.tomcat.core.Handler.service(Handler.java:287)
>   at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>   at
>org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
>7)
>   at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
>   at
>org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection
>(Ajp13ConnectionHandler.java:160)
>   at
>org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
>   at
>org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
>   at java.lang.Thread.run(Thread.java:484)
>
>
>