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

int argument types in protocol messages cause NoSuchMethodException

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.2.0
    • Component/s: java
    • Labels:
      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 Hunt

          Issue Links

            Activity

              People

              • Assignee:
                cutting Doug Cutting
                Reporter:
                phunt Patrick Hunt
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: