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

int argument types in protocol messages cause NoSuchMethodException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.1.0
    • 1.2.0
    • java
    • None

    Description

      See attached patch for a test that reproduces:

      [junit] org.apache.avro.AvroRuntimeException: java.lang.NoSuchMethodException: org.apache.avro.TestProtocolSpecific$TestImpl.add(int, int)
      [junit] at org.apache.avro.reflect.ReflectResponder.respond(ReflectResponder.java:100)
      [junit] at org.apache.avro.ipc.Responder.respond(Responder.java:117)
      [junit] at org.apache.avro.ipc.DatagramServer.run(DatagramServer.java:60)
      [junit] Caused by: java.lang.NoSuchMethodException: org.apache.avro.TestProtocolSpecific$TestImpl.add(int, int)
      [junit] at java.lang.Class.getMethod(Class.java:1605)
      [junit] at org.apache.avro.reflect.ReflectResponder.respond(ReflectResponder.java:90)

      Attachments

        1. AVRO-123.patch
          2 kB
          Doug Cutting
        2. AVRO-123.patch
          1 kB
          Patrick D. Hunt

        Issue Links

          Activity

            People

              cutting Doug Cutting
              phunt Patrick D. Hunt
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: