[
https://issues.jboss.org/browse/AS7-3055?page=com.atlassian.jira.plugin.s...
]
Weinan Li commented on AS7-3055:
--------------------------------
Hi Brian, thanks for checking! Seems this is cloned from JBPAPP, I'll coordinate with
Ron to work on this. Don't know why it's cloned to AS7, if you feel improper could
you please help to close this issue? Thanks!
RESTEasy: Empty cfg. param javax.ws.rs.Application produces
exception
---------------------------------------------------------------------
Key: AS7-3055
URL:
https://issues.jboss.org/browse/AS7-3055
Project: Application Server 7
Issue Type: Bug
Components: REST
Affects Versions: 7.1.0.Beta1b
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:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira