Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chenged genType and genWrapperType from ArrayList, HashMap to List, Map #11

Merged
merged 1 commit into from
Sep 23, 2012

Conversation

rimms
Copy link

@rimms rimms commented Sep 4, 2012

Generated java code using HashMap, ArrayList cannot be deserialized.

org.msgpack.MessageTypeException: convert into unknown type is invalid
    at org.msgpack.template.AnyTemplate.read(AnyTemplate.java:52)
    at org.msgpack.template.AbstractTemplate.read(AbstractTemplate.java:31)
    at org.msgpack.template.ListTemplate.read(ListTemplate.java:66)
    at org.msgpack.template.ListTemplate.read(ListTemplate.java:27)
    at org.msgpack.template.AbstractTemplate.read(AbstractTemplate.java:31)
    at org.msgpack.rpc.reflect.ReflectionProxyBuilder$ReflectionHandler.invoke(ReflectionProxyBuilder.java:107)
  :

See also msgpack#6 .

This pull request is patch for this problem.

  • ArrayList -> List
  • HashMap -> Map

@delta2323
Copy link
Owner

Thank you for your patch. I've merged it.

delta2323 added a commit that referenced this pull request Sep 23, 2012
Chenged genType and genWrapperType from ArrayList, HashMap to List, Map
@delta2323 delta2323 merged commit 1844c25 into delta2323:master Sep 23, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants