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

RH Bugzilla Integration (JIRA) issues at jboss.org
Fri Nov 14 04:53:30 EST 2014


    [ https://issues.jboss.org/browse/WFLY-950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019983#comment-13019983 ] 

RH Bugzilla Integration commented on WFLY-950:
----------------------------------------------

Katerina Novotna <kanovotn at redhat.com> changed the Status of [bug 899666|https://bugzilla.redhat.com/show_bug.cgi?id=899666] from ON_QA to VERIFIED

> 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 was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the jboss-jira mailing list