• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

AbstractMethodError? Not sure why.

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
Try 100 things. 2 will work out, but you will never know in advance which 2. This tiny ad might be one:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic