[jboss-jira] [JBoss JIRA] (WFLY-5433) CommandDispatcher can throw InvalidClassException if command class is not available

Paul Ferraro (JIRA) issues at jboss.org
Wed Sep 30 12:35:00 EDT 2015


Paul Ferraro created WFLY-5433:
----------------------------------

             Summary: CommandDispatcher can throw InvalidClassException if command class is not available
                 Key: WFLY-5433
                 URL: https://issues.jboss.org/browse/WFLY-5433
             Project: WildFly
          Issue Type: Bug
          Components: Clustering
    Affects Versions: 10.0.0.CR2
            Reporter: Paul Ferraro
            Assignee: Paul Ferraro


When CommandDispatcher is used by a deployment, the command class might not be available if the deployment is not deployed.  Normally, this is prevented by returning a NoSuchService response if the service is unknown, however, this happens *after* the command is unmarshalled.  This check should happen before we attempt to unmarshall the command, avoiding unnecessary InvalidClassException.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list