int argument types in protocol messages cause NoSuchMethodException
-------------------------------------------------------------------

                 Key: AVRO-123
                 URL: https://issues.apache.org/jira/browse/AVRO-123
             Project: Avro
          Issue Type: Bug
          Components: java
    Affects Versions: 1.1.0
            Reporter: Patrick Hunt
            Priority: Blocker


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)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to