[
https://issues.jboss.org/browse/AS7-3049?page=com.atlassian.jira.plugin.s...
]
Pavel Janousek closed AS7-3049.
-------------------------------
Resolution: Duplicate Issue
It it better handled now by aggregated JIRA issue.
RESTEasy: Empty cfg. param resteasy.resources produces exception
----------------------------------------------------------------
Key: AS7-3049
URL:
https://issues.jboss.org/browse/AS7-3049
Project: Application Server 7
Issue Type: Bug
Components: REST
Affects Versions: 7.1.0.Beta1b
Reporter: Pavel Janousek
Assignee: Weinan Li
Priority: Blocker
When I use empty content for configuration parameter of RESTEasy _resteasy.resources_ in
web.xml like:
{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.0"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
metadata-complete="false">
<servlet-mapping>
<servlet-name>javax.ws.rs.core.Application</servlet-name>
<url-pattern>/myjaxrs/*</url-pattern>
</servlet-mapping>
<context-param>
<param-name>resteasy.resources</param-name>
<param-value></param-value>
</context-param>
</web-app>"
{code}
I've got exception "java.lang.StringIndexOutOfBoundsException: String index out
of range: 0" - this is very similar as in JBPAPP-7715.
I think empty list of resources is also appropriate input (cfg), so AS7 should
accommodate it.
--
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