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

Pavel Janousek (Moved) (JIRA) jira-events at lists.jboss.org
Thu Dec 15 10:57:10 EST 2011


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

Pavel Janousek moved JBPAPP-7771 to AS7-3055:
---------------------------------------------

              Project: Application Server 7  (was: JBoss Enterprise Application Platform)
                  Key: AS7-3055  (was: JBPAPP-7771)
             Workflow: GIT Pull Request workflow   (was: jira)
    Affects Version/s: 7.1.0.Beta1b
                           (was: EAP 6.0.0 DR 8)
          Component/s: REST
                           (was: RESTEasy)
             Security:     (was: JBoss Internal)
       Docs QE Status:   (was: NEW)

    
> 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
>            Priority: Blocker
>
> 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

        


More information about the jboss-jira mailing list