aspose file tools*
The moose likes Object Relational Mapping and the fly likes Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Exception" Watch "Exception" New topic
Author

Exception

V Patil
Ranch Hand

Joined: Oct 04, 2008
Posts: 36
Hibernate: select areapatchm0_.PATCHNAME as x0_0_ from SATERI.AREAPATCH_MASTER areapatchm0_
java.lang.ClassCastException: java.lang.String
at co.in.anant.eqsw.beans.EQ_AssignDoctors.getallpatches(EQ_AssignDoctors.java:51)
at co.in.anant.eqsw.action.AssignDoctorsAction.executeAction(AssignDoctorsAction.java:60)
at co.in.anant.eqsw.action.EQ_BaseAction.execute(EQ_BaseAction.java:63)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

What is the class: co.in.anant.eqsw.beans.EQ_AssignDoctors ? And what is it doing at line 51?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
V Patil
Ranch Hand

Joined: Oct 04, 2008
Posts: 36
business logic is written in that class.
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Send the code snippet. At least line 51.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exception
 
Similar Threads
connection, pool exhausted ???
preparedstatement throws sqlexception
Struts error cannot find bean
Facing problem with Filter and RequestDispatcher
Not able to access the Action class in struts when I am making an AJAX call