[jboss-jira] [JBoss JIRA] Commented: (JBAS-9201) NPE in Server on bad input
Heiko Rupp (JIRA)
jira-events at lists.jboss.org
Tue Apr 19 12:04:33 EDT 2011
[ https://issues.jboss.org/browse/JBAS-9201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12596568#comment-12596568 ]
Heiko Rupp commented on JBAS-9201:
----------------------------------
Well, the NPE is gone, but the result does not make a lot of sense to me:
{"outcome" : "success", "result" : null}
> NPE in Server on bad input
> --------------------------
>
> Key: JBAS-9201
> URL: https://issues.jboss.org/browse/JBAS-9201
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Domain Management
> Affects Versions: 7.0.0.Beta1
> Reporter: Heiko Rupp
> Priority: Minor
> Fix For: 7.0.0.Beta4
>
>
> With this (bogus) input over the json interface, the server throws a NPE and does not return an error message to the caller
> {"address":[{"host":"/host/pintsize"},{"server-config":"newServer"}],"operation":"add","name":"newServer","auto-start":"true","group":"main-server-group"}
> Stack trace is
> [Host Controller] 11:55:21,170 ERROR [org.jboss.as.domain.http.api] (pool-1-thread-10) Unexpected error executing model request: java.lang.NullPointerException
> [Host Controller] at org.jboss.as.domain.controller.DomainControllerImpl.execute(DomainControllerImpl.java:354)
> [Host Controller] at org.jboss.as.controller.AbstractModelController.execute(AbstractModelController.java:101)
> [Host Controller] at org.jboss.as.domain.controller.DomainControllerImpl.execute(DomainControllerImpl.java:219)
> [Host Controller] at org.jboss.as.domain.http.server.DomainHttpServer.processRequest(DomainHttpServer.java:173)
> [Host Controller] at org.jboss.as.domain.http.server.DomainHttpServer.handle(DomainHttpServer.java:104)
> [Host Controller] at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:82) [:1.6.0_24]
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list