RESTEASY008205 "Wrong number of arguments" after upgrading to JBoss EAP 7.2.0

Solution Unverified - Updated -

Issue

  • RESTful api calls fail, and I see this exception in the log:

    ERROR [io.undertow.request] (default task-6) UT005023: Exception handling request to /SMGASMS/rest/userIds/initialize: org.jboss.resteasy.spi.UnhandledException: javax.ws.rs.ProcessingException: RESTEASY008205: JSON Binding serialization error java.lang.IllegalArgumentException: wrong number of arguments
        at org.jboss.resteasy.core.ExceptionHandler.handleException(ExceptionHandler.java:257) [resteasy-jaxrs-3.6.1.SP2-redhat-00001.jar:3.6.1.SP2-redhat-00001]
        at org.jboss.resteasy.core.SynchronousDispatcher.writeException(SynchronousDispatcher.java:197) [resteasy-jaxrs-3.6.1.SP2-redhat-00001.jar:3.6.1.SP2-redhat-00001]
        at org.jboss.resteasy.core.SynchronousDispatcher.writeResponse(SynchronousDispatcher.java:541) [resteasy-jaxrs-3.6.1.SP2-redhat-00001.jar:3.6.1.SP2-redhat-00001]
    

Environment

  • Red Hat JBoss Enterprise Application Platform (JBoss EAP) 7.2.0
  • RESTEasy
  • JSON serialization
  • Methods in JSON serialized objects that start with "set" but have more that 1 arg.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In