avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AVRO-123) int argument types in protocol messages cause NoSuchMethodException
Date Fri, 25 Sep 2009 21:23:16 GMT

     [ https://issues.apache.org/jira/browse/AVRO-123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Doug Cutting resolved AVRO-123.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2.0

I just committed this.

> 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
>             Fix For: 1.2.0
>
>         Attachments: AVRO-123.patch, AVRO-123.patch
>
>
> 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.


Mime
View raw message