Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-2011

AbstractMethodError on version upgrade from 1.7.7 -->1.8.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Bug
    • 1.8.1
    • None
    • java
    • None
    • Apache Avro version:- 1.8.1
      Java version:- 1.7
      Pax Exam integration tests for OSGI setup

    Description

      When I upgrade from avro version 1.7.7 to version 1.8.1 I am getting a runtime AbstractMethodError exception:-

      13:07:33.334 DEBUG [Component Resolve Thread (Bundle 274)] [NumConfigProvider.java:322] Unbinding Application Configuration Service
      13:07:33.880 ERROR CIL Notification callback thread #0 [FilteringLogger.java:92] Encountered error while running polling notification thread.
      com.bss.cil.client.service.notification.NotificationException: Failed to poll notifications: java.lang.reflect.InvocationTargetException
      at com.bss.cil.client.client.msg.NotificationAdminImpl$Scanner.run(NotificationAdminImpl.java:477) [na:na]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_79]
      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) [na:1.7.0_79]
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_79]
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.7.0_79]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]
      at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]
      Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
      at org.apache.avro.specific.SpecificData.newInstance(SpecificData.java:344) [na:na]
      at org.apache.avro.specific.SpecificData.createFixed(SpecificData.java:353) [na:na]
      at org.apache.avro.generic.GenericDatumReader.readFixed(GenericDatumReader.java:349) [na:na]
      at org.apache.avro.generic.GenericDatumReader.readWithoutConversion(GenericDatumReader.java:179) [na:na]
      at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:152) [na:na]
      at org.apache.avro.generic.GenericDatumReader.readField(GenericDatumReader.java:240) [na:na]
      at org.apache.avro.generic.GenericDatumReader.readRecord(GenericDatumReader.java:230) [na:na]
      at org.apache.avro.generic.GenericDatumReader.readWithoutConversion(GenericDatumReader.java:174) [na:na]
      at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:152) [na:na]
      at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:144) [na:na]
      at com.bss.cil.client.client.common.AvroCodec.decodeBlobToObject(AvroCodec.java:151) [na:na]
      at com.bss.cil.client.client.common.AvroCodec.decodeBlobToObject(AvroCodec.java:80) [na:na]
      at com.bss.cil.client.client.msg.NotificationDeserializer.unpackMsg(NotificationDeserializer.java:100) [na:na]
      at com.bss.cil.client.client.msg.NotificationDeserializer.deserialize(NotificationDeserializer.java:48) [na:na]
      at com.bss.cil.client.client.msg.NotificationDeserializer.deserialize(NotificationDeserializer.java:24) [na:na]
      at com.bss.cil.messaging.client.CassandraConsumer.readOneRecord(CassandraConsumer.java:701) [na:na]
      at com.bss.cil.messaging.client.CassandraConsumer.pollOneTopicPartition(CassandraConsumer.java:655) [na:na]
      at com.bss.cil.messaging.client.CassandraConsumer.pollOnce(CassandraConsumer.java:588) [na:na]
      at com.bss.cil.messaging.client.CassandraConsumer.poll(CassandraConsumer.java:544) [na:na]
      at com.bss.cil.client.client.msg.NotificationAdminImpl$Scanner.run(NotificationAdminImpl.java:441) [na:na]
      ... 7 common frames omitted
      Caused by: java.lang.reflect.InvocationTargetException: null
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.7.0_79]
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [na:1.7.0_79]
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [na:1.7.0_79]
      at java.lang.reflect.Constructor.newInstance(Constructor.java:526) [na:1.7.0_79]
      at org.apache.avro.specific.SpecificData.newInstance(SpecificData.java:342) [na:na]
      ... 26 common frames omitted
      Caused by: java.lang.AbstractMethodError: org.apache.avro.specific.SpecificFixed.getSchema()Lorg/apache/avro/Schema;
      at org.apache.avro.specific.SpecificFixed.<init>(SpecificFixed.java:36) [na:na]
      at com.bss.cil.client.client.type.SchemaId.<init>(SchemaId.java:16) [na:na]
      ... 31 common frames omitted
      13:07:33.880 ERROR CIL Notification callback thread #1 [FilteringLogger.java:92] Encountered error while running polling notification thread.
      com.bss.cil.client.service.notification.NotificationException: Failed to poll notifications: java.lang.reflect.InvocationTargetException
      at com.bss.cil.client.client.msg.NotificationAdminImpl$Scanner.run(NotificationAdminImpl.java:477) [na:na]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_79]
      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) [na:1.7.0_79]
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_79]
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.7.0_79]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]
      at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]
      Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
      at org.apache.avro.specific.SpecificData.newInstance(SpecificData.java:344) [na:na]
      at org.apache.avro.specific.SpecificData.createFixed(SpecificData.java:353) [na:na]
      at org.apache.avro.generic.GenericDatumReader.readFixed(GenericDatumReader.java:349) [na:na]
      at org.apache.avro.generic.GenericDatumReader.readWithoutConversion(GenericDatumReader.java:179) [na:na]
      at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:152) [na:na]
      at org.apache.avro.generic.GenericDatumReader.readField(GenericDatumReader.java:240) [na:na]
      at org.apache.avro.generic.GenericDatumReader.readRecord(GenericDatumReader.java:230) [na:na]
      at org.apache.avro.generic.GenericDatumReader.readWithoutConversion(GenericDatumReader.java:174) [na:na]
      at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:152) [na:na]
      at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:144) [na:na]
      at com.bss.cil.client.client.common.AvroCodec.decodeBlobToObject(AvroCodec.java:151) [na:na]
      at com.bss.cil.client.client.common.AvroCodec.decodeBlobToObject(AvroCodec.java:80) [na:na]
      at com.bss.cil.client.client.msg.NotificationDeserializer.unpackMsg(NotificationDeserializer.java:100) [na:na]
      at com.bss.cil.client.client.msg.NotificationDeserializer.deserialize(NotificationDeserializer.java:48) [na:na]
      at com.bss.cil.client.client.msg.NotificationDeserializer.deserialize(NotificationDeserializer.java:24) [na:na]
      at com.bss.cil.messaging.client.CassandraConsumer.readOneRecord(CassandraConsumer.java:701) [na:na]
      at com.bss.cil.messaging.client.CassandraConsumer.pollOneTopicPartition(CassandraConsumer.java:655) [na:na]
      at com.bss.cil.messaging.client.CassandraConsumer.pollOnce(CassandraConsumer.java:588) [na:na]
      at com.bss.cil.messaging.client.CassandraConsumer.poll(CassandraConsumer.java:544) [na:na]
      at com.bss.cil.client.client.msg.NotificationAdminImpl$Scanner.run(NotificationAdminImpl.java:441) [na:na]
      ... 7 common frames omitted
      Caused by: java.lang.reflect.InvocationTargetException: null
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.7.0_79]
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [na:1.7.0_79]
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [na:1.7.0_79]
      at java.lang.reflect.Constructor.newInstance(Constructor.java:526) [na:1.7.0_79]
      at org.apache.avro.specific.SpecificData.newInstance(SpecificData.java:342) [na:na]
      ... 26 common frames omitted
      Caused by: java.lang.AbstractMethodError: org.apache.avro.specific.SpecificFixed.getSchema()Lorg/apache/avro/Schema;
      at org.apache.avro.specific.SpecificFixed.<init>(SpecificFixed.java:36) [na:na]
      at com.bss.cil.client.client.type.SchemaId.<init>(SchemaId.java:16) [na:na]
      ... 31 common frames omitted
      13:07:33.896 ERROR CIL Notification callback thread #0 [FilteringLogger.java:92] Encountered error while running polling notification thread.
      com.bss.cil.client.service.notification.NotificationException: Failed to poll notifications: java.lang.reflect.InvocationTargetException
      at com.bss.cil.client.client.msg.NotificationAdminImpl$Scanner.run(NotificationAdminImpl.java:477) [na:na]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_79]
      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) [na:1.7.0_79]
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_79]
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.7.0_79]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]
      at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]
      Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
      at org.apache.avro.specific.SpecificData.newInstance(SpecificData.java:344) [na:na]
      at org.apache.avro.specific.SpecificData.createFixed(SpecificData.java:353) [na:na]
      at org.apache.avro.generic.GenericDatumReader.readFixed(GenericDatumReader.java:349) [na:na]
      at org.apache.avro.generic.GenericDatumReader.readWithoutConversion(GenericDatumReader.java:179) [na:na]
      at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:152) [na:na]
      at org.apache.avro.generic.GenericDatumReader.readField(GenericDatumReader.java:240) [na:na]
      at org.apache.avro.generic.GenericDatumReader.readRecord(GenericDatumReader.java:230) [na:na]
      at org.apache.avro.generic.GenericDatumReader.readWithoutConversion(GenericDatumReader.java:174) [na:na]
      at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:152) [na:na]
      at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:144) [na:na]
      at com.bss.cil.client.client.common.AvroCodec.decodeBlobToObject(AvroCodec.java:151) [na:na]
      at com.bss.cil.client.client.common.AvroCodec.decodeBlobToObject(AvroCodec.java:80) [na:na]
      at com.bss.cil.client.client.msg.NotificationDeserializer.unpackMsg(NotificationDeserializer.java:100) [na:na]
      at com.bss.cil.client.client.msg.NotificationDeserializer.deserialize(NotificationDeserializer.java:48) [na:na]
      at com.bss.cil.client.client.msg.NotificationDeserializer.deserialize(NotificationDeserializer.java:24) [na:na]
      at com.bss.cil.messaging.client.CassandraConsumer.readOneRecord(CassandraConsumer.java:701) [na:na]
      at com.bss.cil.messaging.client.CassandraConsumer.pollOneTopicPartition(CassandraConsumer.java:655) [na:na]
      at com.bss.cil.messaging.client.CassandraConsumer.pollOnce(CassandraConsumer.java:588) [na:na]
      at com.bss.cil.messaging.client.CassandraConsumer.poll(CassandraConsumer.java:544) [na:na]
      at com.bss.cil.client.client.msg.NotificationAdminImpl$Scanner.run(NotificationAdminImpl.java:441) [na:na]
      ... 7 common frames omitted
      Caused by: java.lang.reflect.InvocationTargetException: null
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.7.0_79]
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [na:1.7.0_79]
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [na:1.7.0_79]
      at java.lang.reflect.Constructor.newInstance(Constructor.java:526) [na:1.7.0_79]
      at org.apache.avro.specific.SpecificData.newInstance(SpecificData.java:342) [na:na]
      ... 26 common frames omitted
      Caused by: java.lang.AbstractMethodError: org.apache.avro.specific.SpecificFixed.getSchema()Lorg/apache/avro/Schema;
      at org.apache.avro.specific.SpecificFixed.<init>(SpecificFixed.java:36) [na:na]
      at com.bss.cil.client.client.type.SchemaId.<init>(SchemaId.java:16) [na:na]
      ... 31 common frames omitted
      13:07:33.896 ERROR CIL Notification callback thread #1 [FilteringLogger.java:92] Encountered error while running polling notification thread.
      com.bss.cil.client.service.notification.NotificationException: Failed to poll notifications: java.lang.reflect.InvocationTargetException
      at com.bss.cil.client.client.msg.NotificationAdminImpl$Scanner.run(NotificationAdminImpl.java:477) [na:na]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_79]
      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) [na:1.7.0_79]
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_79]
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.7.0_79]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]
      at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]
      Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
      at org.apache.avro.specific.SpecificData.newInstance(SpecificData.java:344) [na:na]
      at org.apache.avro.specific.SpecificData.createFixed(SpecificData.java:353) [na:na]
      at org.apache.avro.generic.GenericDatumReader.readFixed(GenericDatumReader.java:349) [na:na]
      at org.apache.avro.generic.GenericDatumReader.readWithoutConversion(GenericDatumReader.java:179) [na:na]
      at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:152) [na:na]
      at org.apache.avro.generic.GenericDatumReader.readField(GenericDatumReader.java:240) [na:na]
      at org.apache.avro.generic.GenericDatumReader.readRecord(GenericDatumReader.java:230) [na:na]
      at org.apache.avro.generic.GenericDatumReader.readWithoutConversion(GenericDatumReader.java:174) [na:na]
      at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:152) [na:na]
      at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:144) [na:na]
      at com.bss.cil.client.client.common.AvroCodec.decodeBlobToObject(AvroCodec.java:151) [na:na]
      at com.bss.cil.client.client.common.AvroCodec.decodeBlobToObject(AvroCodec.java:80) [na:na]
      at com.bss.cil.client.client.msg.NotificationDeserializer.unpackMsg(NotificationDeserializer.java:100) [na:na]
      at com.bss.cil.client.client.msg.NotificationDeserializer.deserialize(NotificationDeserializer.java:48) [na:na]
      at com.bss.cil.client.client.msg.NotificationDeserializer.deserialize(NotificationDeserializer.java:24) [na:na]
      at com.bss.cil.messaging.client.CassandraConsumer.readOneRecord(CassandraConsumer.java:701) [na:na]
      at com.bss.cil.messaging.client.CassandraConsumer.pollOneTopicPartition(CassandraConsumer.java:655) [na:na]
      at com.bss.cil.messaging.client.CassandraConsumer.pollOnce(CassandraConsumer.java:588) [na:na]
      at com.bss.cil.messaging.client.CassandraConsumer.poll(CassandraConsumer.java:544) [na:na]
      at com.bss.cil.client.client.msg.NotificationAdminImpl$Scanner.run(NotificationAdminImpl.java:441) [na:na]
      ... 7 common frames omitted
      Caused by: java.lang.reflect.InvocationTargetException: null
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.7.0_79]
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [na:1.7.0_79]
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [na:1.7.0_79]
      at java.lang.reflect.Constructor.newInstance(Constructor.java:526) [na:1.7.0_79]
      at org.apache.avro.specific.SpecificData.newInstance(SpecificData.java:342) [na:na]
      ... 26 common frames omitted
      Caused by: java.lang.AbstractMethodError: org.apache.avro.specific.SpecificFixed.getSchema()Lorg/apache/avro/Schema;
      at org.apache.avro.specific.SpecificFixed.<init>(SpecificFixed.java:36) [na:na]
      at com.bss.cil.client.client.type.SchemaId.<init>(SchemaId.java:16) [na:na]
      ... 31 common fram

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              varun2einstein Varuna Mohan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: