You are not mentioning the displaytag version you are using. Please report this bug, with displaytag version and the query string/parameters used to reach the page on: http://sourceforge.net/tracker/?group_id=73068 I'll try to track it. Anyway, from the stacktrace I'm assuming you are not using the latest beta... I'm pretty confident this should be fixed in b3. fabrizio
From: [EMAIL PROTECTED] on behalf of Cliff Wirt
Sent: Thu 22/04/2004 2.44
To: [EMAIL PROTECTED]
Subject: [displaytag-user] Ancient OC4J
Hello all --
I have gotten DisplayTag to work in my application with Tomcat5.0.19, Tomcat5.0.16,
and OC4J9.0.4. However, when I try to get my application to work in OC4J1.0.2.1 (the
very first time Oracle put OC4J into their Application Server, I believe), I get the
following error message:
500 Internal Server Error
java.lang.NullPointerException
at org.displaytag.util.RequestHelper.getParameterMap(RequestHelper.java:90)
at org.displaytag.util.RequestHelper.getHref(RequestHelper.java:110)
at org.displaytag.tags.TableTag.initHref(TableTag.java:744)
at org.displaytag.tags.TableTag.initParameters(TableTag.java:657)
at org.displaytag.tags.TableTag.doStartTag(TableTag.java:541)
at /WEB-INF/jsp/Export2Excel.jsp._jspService(/WEB-INF/jsp/Export2Excel.jsp.java:171)
(JSP page line 57)
at com.orionserver[Oracle9iAS (1.0.2.2.1) Containers for
J2EE].http.OrionHttpJspPage.service(OrionHttpJspPage.java:54)
at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for
J2EE].server.http.HttpApplication.serviceJSP(HttpApplication.java:5459)
at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for
J2EE].server.http.JSPServlet.service(JSPServlet.java:31)
at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for
J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:508)
at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for
J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:177)
at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for
J2EE].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:148)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1014)
at
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:257)
at
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:417)
at
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:300)
at
org.apache.struts.action.RequestProcessor.processActionForward(RequestProcessor.java:390)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:271)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1292)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:211)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for
J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:508)
at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for
J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:177)
at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for
J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:576)
at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for
J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:189)
at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for
J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:62)
The code that precipitates the error message is this:
<display:table name="employees" requestURI="" export="true" class="mars" >
<display:column property="id" title="ID" class="idcol" />
<!-- line 57 --> <display:column property="name" title="Name" />
<display:column property="title" title="Title" />
<display:column property="address" title="Address" />
<display:column property="city" title="City" />
<display:column property="state" title="State" />
<display:column property="phone" title="Phone" />
<display:column property="email" title="Email" />
<display:column property="officeLocation" title="Office
Location" />
</display:table >
I am trying to persuade my client that the ancient version of OC4J is not worth
developing on. But in case he does insist on my using the antiquated version, does
any one have any hints on what might be going wrong here?
Cliff Wirt
________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now!
<http://g.msn.com/8HMAENUS/2728??PS=>
------------------------------------------------------- This SF.Net email is sponsored
by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and
CEO of GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________ displaytag-user mailing list [EMAIL
PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-user
<<winmail.dat>>

