Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

weblogic.utils.unsyncHashMap

0 views
Skip to first unread message

Vivek

unread,
Oct 29, 2002, 3:41:25 PM10/29/02
to

<Oct 29, 2002 4:34:24 PM EST> <Error> <HTTP> <101017> <[ServletContext(id=848317,name=drf,context-path=/drf)]
Root cause of ServletException
java.lang.NullPointerException
at weblogic.utils.UnsyncHashtable.put(UnsyncHashtable.java:274)
at weblogic.servlet.jsp.PageContextImpl.setAttribute(PageContextImpl.java:129)
at weblogic.servlet.jsp.PageContextImpl.setAttribute(PageContextImpl.java:154)
at org.apache.struts.taglib.bean.DefineTag.doStartTag(DefineTag.java:210)
at jsp_servlet._jsp.__drf_editentitycontent._jspService(__drf_editentitycontent.java:765)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
at weblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run(RequestDispatcherImpl.java:341)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:744)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:251)
at org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.java:1759)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5412)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:744)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3086)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2544)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
>


I am using struts 1.0.2, from my action class i am populating
the formbean class, which i used in the jsp to display the data.
When user edit the data in this jps page and press submit then
i pass this data to another action class which uses the same form bean class.
and i redirect it to the same jsp page.
I have some dropdown which i am populating using HashMap.
So when i redirect to this jsp , iam getting this exception.
Also i tried to put the java code in the jsp to check if i am gettting those
Hashmaps ,i am getting the values from the hashmap. But with taglib it's giving
me this error ..
Any help ......

Ann Cao

unread,
Nov 1, 2002, 2:00:56 AM11/1/02
to
I don't know what happens in Struts or your code. However, this NullPointerException means you are trying to put a null
value into Hashtable.

Vivek wrote:

--
Regards,
Ann
Developer Relations Engineer
BEA Support


Rajesh Mirchandani

unread,
Nov 1, 2002, 1:38:05 PM11/1/02
to
This happens if you try to put a null in the HttpSession using the setAttribute call.

Ann Cao wrote:

--
Rajesh Mirchandani

0 new messages