File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes AbstractMethodError?  Not sure why. 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 » Java » Beginning Java
Bookmark "AbstractMethodError?  Not sure why." Watch "AbstractMethodError?  Not sure why." New topic
Author

AbstractMethodError? Not sure why.

Wayne Burr
Ranch Hand

Joined: Oct 15, 2002
Posts: 38
I'm receiving the following error and not sure why. I'm really not sure what the error is telling me. All classes compile. I have been running in circles in the code and nothing is popping up and giving me the reason for the error:
------
java.lang.AbstractMethodError: com.ca.ka.ServerImpl_Stub.getFactorLMEs()Lcom/ca/ka/FactorLMEList;
at com.ca.ka.Connector.getFactorLMEs(Connector.java:136)
at jsp._0002fjsp_0002fFactors_0002ejspFactors_jsp_19._jspService(_0002fjsp_0002fFactors_0002ejspFactors_jsp_19.java:173)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:177)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:536)
-----
I can include some code snipits if it will help for anybody to explain to me on what is going wrong.
Thanks in Advance!
Wayne Burr
Ranch Hand

Joined: Oct 15, 2002
Posts: 38
I figued I would go ahead and help a little bit more and include on one of the classes:
------
package com.ca.ka;
import java.io.*;
import java.util.*;
public class FactorLMEList implements Serializable
{
private ArrayList factorLME;
public FactorLMEList()
{
}
public FactorLMEList(ArrayList factorLME)
{
this.factorLME = factorLME;
}
public int getNumberOfFactorLME()
{
return factorLME.size();
}
public FactorLME getFactorLME(int index)
{
return (FactorLME) factorLME.get(index);
}
}//~public class FactorLMELi...
Wayne Burr
Ranch Hand

Joined: Oct 15, 2002
Posts: 38
Here are some more snipits.
*file* = _0002fjsp_0002fFactors_0002ejspFactors_jsp_19.java
.
.
.
(this next line starts on line 169 and so on)
int factorIndex = -1;

FactorLME currentFactor = new FactorLME();

factorLMEList = connector.getFactorLMEs();
session.setAttribute("factorLMEList", factorLMEList);
FactorLME nextfactor = new FactorLME();
*file* = factors.jsp
Here is how the beans are setup:
<jsp:useBean id="factorLMEList" class="com.ca.ka.FactorLMEList" scope="session"/>
<jsp:useBean id="connector" class="com.ca.ka.Connector" scope="application"/>
-----
Hope this helps...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: AbstractMethodError? Not sure why.
 
Similar Threads
Where is the Error here? Honestly!
Mailing error
JSP cast problem
ServerletException - access denied
Urgent!!!! What is General Error ?