[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tomcat-user
Subject:    Re: SEVERE: Servlet.service() for servlet [action] in context with path [/portal] threw exception
From:       Randeep <randeep123 () gmail ! com>
Date:       2014-01-30 11:13:33
Message-ID: CACVHj--5_GgsrZvyuA=uWgtnSYDONmt_5dv-UFOkkbcBbOacRQ () mail ! gmail ! com
[Download RAW message or body]


On Thu, Jan 30, 2014 at 1:13 PM, Cédric Couralet
<cedric.couralet@gmail.com>wrote:

> Hi,
>
> 2014/1/30 Randeep <randeep123@gmail.com>:
> > Hi,
> >
> > I'm getting the following exception. I'm running it in Netbeans IDE. With
> > tomcat 7.50.0
> >
> > Am I missing some libraries here? Jar files? Developers says its not
> their
> > code problem its server problem. But i'm not able to get it.
> >
> > Struts core jar is present and in web.xml i have following lines.
>
> Which version of Struts are you using?
>
> >
> >  <servlet>
> >         <servlet-name>action</servlet-name>
> >
> > <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
> >         <init-param>
> >             <param-name>config</param-name>
> >             <param-value>/WEB-INF/struts-config.xml</param-value>
> >         </init-param>
> >         <init-param>
> >             <param-name>debug</param-name>
> >             <param-value>2</param-value>
> >         </init-param>
> >         <init-param>
> >             <param-name>detail</param-name>
> >             <param-value>2</param-value>
> >         </init-param>
> >         <load-on-startup>1</load-on-startup>
> >     </servlet>
> >
> >     <servlet-mapping>
> >         <servlet-name>action</servlet-name>
> >         <url-pattern>*.do</url-pattern>
> >     </servlet-mapping>
> >
> > Jan 30, 2014 12:22:39 PM org.apache.catalina.core.StandardWrapperValve
> > invoke
> > SEVERE: Servlet.service() for servlet [action] in context with path
> > [/portal] threw exception
> > java.lang.NullPointerException
> > at java.lang.Class.isAssignableFrom(Native Method)
> > at
> >
> org.apache.struts.util.RequestUtils.rationalizeMultipleFileProperty(RequestUtils.java:506)
> > at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:459)
> > at
> >
> org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:823)
> > at
> >
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:194)
>
> It looks like an issue known with struts 1.3.10, did you check on struts
> jira?
> https://issues.apache.org/jira/browse/STR-3173
> (there is a snapshot of struts 1.3.11 available on that ticket).
>
> That said , struts1 is EOL,
> (http://struts.apache.org/struts1eol-announcement.html ) you really
> should change the framework.
>
> --
>
> Cédric
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
> Thanks a lot Cédric. I changed the version its working now.


-- 
Randeep
Mob: +919447831699[kerala]
Mob: +919880050349[B'lore]
I blog here:
http://www.randeeppr.me/
Follow me Here:
http://twitter.com/Randeeppr
Poke me here!
http://www.facebook.com/Randeeppr
A little Linux Help
http://www.linuxhelp.in/
Work profile:
http://in.linkedin.com/in/randeeppr


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic