-
Bug
-
Resolution: Duplicate
-
Blocker
-
None
-
7.1.0.Beta1b
-
None
When I use empty content for configuration parameter of RESTEasy resteasy.resources in web.xml like:
<?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>"
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.