[jboss-jira] [JBoss JIRA] (WFLY-950) RESTEasy: Empty cfg. param javax.ws.rs.Application produces exception

Weinan Li (JIRA) jira-events at lists.jboss.org
Thu Sep 12 08:10:03 EDT 2013


     [ https://issues.jboss.org/browse/WFLY-950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Weinan Li resolved WFLY-950.
----------------------------

    Resolution: Out of Date

    
> RESTEasy: Empty cfg. param javax.ws.rs.Application produces exception
> ---------------------------------------------------------------------
>
>                 Key: WFLY-950
>                 URL: https://issues.jboss.org/browse/WFLY-950
>             Project: WildFly
>          Issue Type: Bug
>          Components: REST
>            Reporter: Pavel Janousek
>            Assignee: Weinan Li
>
> RESTEasy can be configured through several configuration options in WAR application deployment file WEB-INF/web.xml. The major one (also portable defined by JAX-RS standard) is _javax.ws.rs.Application_. When I set this parameter to empty content present behavior is raising exception "java.lang.StringIndexOutOfBoundsException: String index out of range: 0", it is not so good.
> I think, this is hard miss-configuration error and deployment description as this one should be rejected and a such application should not be deployed at all with appropriate error message, but not only by messed exception.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list