You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by "David Evans (JIRA)" <ji...@apache.org> on 2006/04/27 19:52:19 UTC

[jira] Closed: (STR-155) SSL connection gives error 500: NullPointerExeption at at org.apache.struts.taglib.html.LinkTag.hyperlink(LinkTag.java:497)

     [ http://issues.apache.org/struts/browse/STR-155?page=all ]
     
David Evans closed STR-155:
---------------------------

    Resolution: Not A Problem

> SSL connection gives error 500: NullPointerExeption at at org.apache.struts.taglib.html.LinkTag.hyperlink(LinkTag.java:497)
> ---------------------------------------------------------------------------------------------------------------------------
>
>          Key: STR-155
>          URL: http://issues.apache.org/struts/browse/STR-155
>      Project: Struts Action 1
>         Type: Bug

>   Components: Apps
>     Versions: Nightly Build
>  Environment: Operating System: All
> Platform: PC
>     Reporter: Daniel Ceuppens
>     Assignee: Craig McClanahan

>
> I'm running WebSphere 3.5.3 with IBM-http Server 1.3.12 on a W2k Server.
> I had version struts-1.0-b1 installed and the struts-example worked fine with a 
> non-SSL connection.  But when using my https:// connection, the <html:link tags 
> in index.jsp were not linkable. The text appeared, but withouth href attached.
> So I installed the latest nightly build (jakarta-struts-20010430).
> The http:// connection still works, but the https:// gives the error attached.
> Regards,
> Daniel.
> ===============
> Error 500
> An error has occured while processing request:https://rnt.eu-count.com/struts-
> example/index.jsp
> Message: Server caught unhandled exception from servlet [jsp11]: null
> Target Servlet: jsp11
> StackTrace: 
> --------------------------------------------------------------------------------
> Root Error-1: null
> java.lang.NullPointerException
> 	at org.apache.struts.taglib.html.LinkTag.hyperlink(LinkTag.java:497)
> 	at org.apache.struts.taglib.html.LinkTag.doStartTag(LinkTag.java:325)
> 	at _index_jsp_2._jspService(_index_jsp_2.java:215)
> 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:127)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service
> (JspServlet.java:381)
> 	at org.apache.jasper.runtime.JspServlet.serviceJspFile
> (JspServlet.java:702)
> 	at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:822)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at com.ibm.servlet.engine.webapp.StrictServletInstance.doService
> (ServletManager.java:626)
> 	at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service
> (StrictLifecycleServlet.java:160)
> 	at com.ibm.servlet.engine.webapp.IdleServletState.service
> (StrictLifecycleServlet.java:287)
> 	at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service
> (StrictLifecycleServlet.java:105)
> 	at com.ibm.servlet.engine.webapp.ServletInstance.service
> (ServletManager.java:360)
> 	at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch
> (ServletManager.java:775)
> 	at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch
> (ServletManager.java:701)
> 	at 
> com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch
> (WebAppRequestDispatcher.java:404)
> 	at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch
> (WebAppRequestDispatcher.java:203)
> 	at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward
> (WebAppRequestDispatcher.java:107)
> 	at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook
> (WebAppInvoker.java:77)
> 	at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation
> (CachedInvocation.java:67)
> 	at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke
> (CacheableInvocationContext.java:106)
> 	at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI
> (ServletRequestProcessor.java:160)
> 	at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service
> (OSEListener.java:300)
> 	at 
> com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run
> (SQEventListenerImp.java:230)
> 	at com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent
> (SQEventListenerImp.java:104)
> 	at 
> com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent
> (SQEventSource.java:212)
> 	at 
> com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnab
> le.notifyService(SQWrapperEventSource.java:353)
> 	at 
> com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnab
> le.run(SQWrapperEventSource.java:220)
> 	at 
> com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run
> (OutOfProcThread.java:248)
> 	at java.lang.Thread.run(Thread.java:481)
> --------------------------------------------------------------------------------
> Wrapped Error-2: null
> javax.servlet.ServletException
> 	at javax.servlet.ServletException.<init>(ServletException.java:161)
> 	at org.apache.jasper.runtime.PageContextImpl.handlePageException
> (PageContextImpl.java:386)
> 	at _index_jsp_2._jspService(_index_jsp_2.java:423)
> 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:127)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service
> (JspServlet.java:381)
> 	at org.apache.jasper.runtime.JspServlet.serviceJspFile
> (JspServlet.java:702)
> 	at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:822)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at com.ibm.servlet.engine.webapp.StrictServletInstance.doService
> (ServletManager.java:626)
> 	at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service
> (StrictLifecycleServlet.java:160)
> 	at com.ibm.servlet.engine.webapp.IdleServletState.service
> (StrictLifecycleServlet.java:287)
> 	at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service
> (StrictLifecycleServlet.java:105)
> 	at com.ibm.servlet.engine.webapp.ServletInstance.service
> (ServletManager.java:360)
> 	at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch
> (ServletManager.java:775)
> 	at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch
> (ServletManager.java:701)
> 	at 
> com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch
> (WebAppRequestDispatcher.java:404)
> 	at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch
> (WebAppRequestDispatcher.java:203)
> 	at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward
> (WebAppRequestDispatcher.java:107)
> 	at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook
> (WebAppInvoker.java:77)
> 	at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation
> (CachedInvocation.java:67)
> 	at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke
> (CacheableInvocationContext.java:106)
> 	at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI
> (ServletRequestProcessor.java:160)
> 	at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service
> (OSEListener.java:300)
> 	at 
> com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run
> (SQEventListenerImp.java:230)
> 	at com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent
> (SQEventListenerImp.java:104)
> 	at 
> com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent
> (SQEventSource.java:212)
> 	at 
> com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnab
> le.notifyService(SQWrapperEventSource.java:353)
> 	at 
> com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnab
> le.run(SQWrapperEventSource.java:220)
> 	at 
> com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run
> (OutOfProcThread.java:248)
> 	at java.lang.Thread.run(Thread.java:481)
> --------------------------------------------------------------------------------
> Wrapped Error-3: Server caught unhandled exception from servlet [jsp11]: null
> com.ibm.servlet.engine.webapp.UncaughtServletException: Server caught unhandled 
> exception from servlet [jsp11]: null
> 	at javax.servlet.ServletException.<init>(ServletException.java:132)
> 	at com.ibm.websphere.servlet.error.ServletErrorReport.<init>
> (ServletErrorReport.java:43)
> 	at com.ibm.servlet.engine.webapp.WebAppErrorReport.<init>
> (WebAppErrorReport.java:32)
> 	at com.ibm.servlet.engine.webapp.UncaughtServletException.<init>
> (UncaughtServletException.java:11)
> 	at 
> com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch
> (WebAppRequestDispatcher.java:425)
> 	at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch
> (WebAppRequestDispatcher.java:203)
> 	at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward
> (WebAppRequestDispatcher.java:107)
> 	at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook
> (WebAppInvoker.java:77)
> 	at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation
> (CachedInvocation.java:67)
> 	at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke
> (CacheableInvocationContext.java:106)
> 	at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI
> (ServletRequestProcessor.java:160)
> 	at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service
> (OSEListener.java:300)
> 	at 
> com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run
> (SQEventListenerImp.java:230)
> 	at com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent
> (SQEventListenerImp.java:104)
> 	at 
> com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent
> (SQEventSource.java:212)
> 	at 
> com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnab
> le.notifyService(SQWrapperEventSource.java:353)
> 	at 
> com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnab
> le.run(SQWrapperEventSource.java:220)
> 	at 
> com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run
> (OutOfProcThread.java:248)
> 	at java.lang.Thread.run(Thread.java:481)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org