Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

AbstractMethodError? Not sure why.

 
Wayne Burr
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic