Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Java by (9.5k points)

Below is the error I get: 

Exception in thread "pool-1-thread-1" java.lang.AbstractMethodError:

org.apache.thrift.ProcessFunction.isOneway()Z

    at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:51)

    at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)

    at com.gemfire.gemstone.thrift.hbase.ThreadPoolServer$ClientConnnection.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

    at java.lang.Thread.run(Thread.java:662)

Can anyone tell me what’s the reason for the AbstractMethodError? 

1 Answer

0 votes
by (19.7k points)

The reason you get this error, a part of your code tries to call a method which is declared abstract. Since abstract methods don't have a body it cannot be executed.

Interested in Java? Check out this Java Certification by Intellipaat.   

Browse Categories

...