I've been working on some minor updates to Struts-EL, to match recent changes
to the base tag library, so I've been running through some tests. I'm using
WebLogic 8.1 for these tests.
I first noticed that the strutsel-exercise-taglib application dies with the
following stack trace:
-----------------
java.lang.NullPointerException
at org.apache.struts.util.RequestUtils.pageURL(RequestUtils.java:1591)
at org.apache.struts.util.RequestUtils.computeURL(RequestUtils.java:536)
at org.apache.struts.util.RequestUtils.computeURL(RequestUtils.java:431)
at org.apache.struts.taglib.html.LinkTag.calculateURL(LinkTag.java:495)
at org.apache.struts.taglib.html.LinkTag.doStartTag(LinkTag.java:353)
at org.apache.strutsel.taglib.html.ELLinkTag.doStartTag(ELLinkTag.java:675)
-----------------
Line 1591 is the following (after I added a couple of debugging lines):
String pagePattern = moduleConfig.getControllerConfig().getPagePattern();
I found that "moduleConfig" is null here, but I don't know why.
Before I submit a bug for this, does anyone have an idea what might be
happening here?
In addition, I also found a problem in the base "struts-exercise-taglib". The
link for the "html:link" page dies with the following stack trace:
-----------------
javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans
collection
at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:805)
at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:513)
at jsp_servlet.__html_45_link._jspService(__html_45_link.java:226)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6291)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3575)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2573)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
-----------------
I hope this isn't something that only happens in WebLogic.
--
===================================================================
David M. Karr ; Java/J2EE/XML/Unix/C++
[EMAIL PROTECTED] ; SCJP; SCWCD
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]