Quando tento redirecionar ao adicionar um produto com quantidade negativa ele me retorna a lógica "adiciona" com a página em branco.
log abaixo:
23:38:29,320 DEBUG [DefaultControllerTranslator] trying to access /produto/adiciona
23:38:29,320 DEBUG [DefaultControllerTranslator] found controller [DefaultControllerMethod: public void br.com.caelum.controller.ProdutoController.adiciona(br.com.caelum.vraptor.model.Produto)]
23:38:29,321 DEBUG [CDIBasedContainer ] asking cdi to get instance for class br.com.caelum.controller.ProdutoController
23:38:29,321 DEBUG [CDIBasedContainer ] beans for class br.com.caelum.controller.ProdutoController is [Managed Bean [class br.com.caelum.controller.ProdutoController] with qualifiers [@Any @Default]]
23:38:29,323 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for public void br.com.caelum.controller.ProdutoController.adiciona(br.com.caelum.vraptor.model.Produto) as [produto]
23:38:29,333 DEBUG [IogiParametersProvider] IogiParametersProvider is up
23:38:29,334 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for public void br.com.caelum.controller.ProdutoController.adiciona(br.com.caelum.vraptor.model.Produto) as [produto]
23:38:29,335 DEBUG [IogiParametersProvider] getParametersFor() called with parameters Parameters(Parameter(produto.valor -> ), Parameter(produto.quantidade -> -1), Parameter(produto.nome -> )) and targets [Target(name=produto, type=class br.com.caelum.vraptor.model.Produto)].
23:38:29,351 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for public br.com.caelum.vraptor.model.Produto() as []
23:38:29,352 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for public br.com.caelum.vraptor.model.Produto(java.lang.String,java.lang.Double,java.lang.Integer) as [nome, valor, quantidade]
23:38:29,355 DEBUG [CDIBasedContainer ] asking cdi to get instance for class br.com.caelum.vraptor.converter.DoubleConverter
23:38:29,355 DEBUG [CDIBasedContainer ] beans for class br.com.caelum.vraptor.converter.DoubleConverter is [Managed Bean [class br.com.caelum.vraptor.converter.DoubleConverter] with qualifiers [@Any @Default]]
23:38:29,362 DEBUG [CDIBasedContainer ] asking cdi to get instance for class br.com.caelum.vraptor.converter.IntegerConverter
23:38:29,362 DEBUG [CDIBasedContainer ] beans for class br.com.caelum.vraptor.converter.IntegerConverter is [Managed Bean [class br.com.caelum.vraptor.converter.IntegerConverter] with qualifiers [@Any @Default]]
23:38:29,371 DEBUG [CDIBasedContainer ] asking cdi to get instance for class br.com.caelum.vraptor.converter.DoubleConverter
23:38:29,371 DEBUG [CDIBasedContainer ] beans for class br.com.caelum.vraptor.converter.DoubleConverter is [Managed Bean [class br.com.caelum.vraptor.converter.DoubleConverter] with qualifiers [@Any @Default]]
23:38:29,371 DEBUG [CDIBasedContainer ] asking cdi to get instance for class br.com.caelum.vraptor.converter.IntegerConverter
23:38:29,371 DEBUG [CDIBasedContainer ] beans for class br.com.caelum.vraptor.converter.IntegerConverter is [Managed Bean [class br.com.caelum.vraptor.converter.IntegerConverter] with qualifiers [@Any @Default]]
23:38:29,382 DEBUG [ParametersInstantiator] Conversion errors: []
23:38:29,382 DEBUG [ParametersInstantiator] Parameter values for [DefaultControllerMethod: public void br.com.caelum.controller.ProdutoController.adiciona(br.com.caelum.vraptor.model.Produto)] are [br.com.caelum.vraptor.model.Produto@75970a93]
23:38:29,382 DEBUG [CDIBasedContainer ] asking cdi to get instance for class br.com.caelum.vraptor.interceptor.FlashInterceptor
23:38:29,382 DEBUG [CDIBasedContainer ] beans for class br.com.caelum.vraptor.interceptor.FlashInterceptor is [Managed Bean [class br.com.caelum.vraptor.interceptor.FlashInterceptor] with qualifiers [@Any @Default]]
23:38:29,383 DEBUG [ToInstantiateInterceptorHandler] Invoking interceptor FlashInterceptor$Proxy$_$$_WeldClientProxy
23:38:29,383 DEBUG [CDIBasedContainer ] asking cdi to get instance for class br.com.caelum.vraptor.interceptor.ExceptionHandlerInterceptor
23:38:29,383 DEBUG [CDIBasedContainer ] beans for class br.com.caelum.vraptor.interceptor.ExceptionHandlerInterceptor is [Managed Bean [class br.com.caelum.vraptor.interceptor.ExceptionHandlerInterceptor] with qualifiers [@Any @Default]]
23:38:29,384 DEBUG [ToInstantiateInterceptorHandler] Invoking interceptor ExceptionHandlerInterceptor$Proxy$_$$_WeldClientProxy
23:38:29,418 DEBUG [ExecuteMethod ] Invoking public void br.com.caelum.controller.ProdutoController.adiciona(br.com.caelum.vraptor.model.Produto)
23:38:29,419 DEBUG [DefaultResult ] including attribute vmessages: br.com.caelum.vraptor.validator.Messages@1ed0881f
23:38:29,420 DEBUG [DefaultResult ] including attribute errors: [SimpleMessage{category=produto.quantidade, message=A quantidade deve ser maior que zero, severity=ERROR, parameters=[Ljava.lang.Object;@3fa9d41d}]
23:38:29,420 DEBUG [DefaultResult ] including attribute produto: br.com.caelum.vraptor.model.Produto@75970a93
23:38:29,420 DEBUG [DefaultValidator ] there are errors on result: [SimpleMessage{category=produto.quantidade, message=A quantidade deve ser maior que zero, severity=ERROR, parameters=[Ljava.lang.Object;@3fa9d41d}]
23:38:29,421 DEBUG [CDIBasedContainer ] asking cdi to get instance for interface br.com.caelum.vraptor.view.LogicResult
23:38:29,421 DEBUG [CDIBasedContainer ] beans for interface br.com.caelum.vraptor.view.LogicResult is [Managed Bean [class br.com.caelum.vraptor.view.DefaultLogicResult] with qualifiers [@Any @Default]]
23:38:29,426 DEBUG [JavassistProxifier ] Class br.com.caelum.vraptor.view.LogicResult is proxy: false
23:38:29,428 DEBUG [JavassistProxifier ] a proxy for interface br.com.caelum.vraptor.view.LogicResult was created as class br.com.caelum.vraptor.view.LogicResult_$$_jvst58b_2
23:38:29,429 DEBUG [JavassistProxifier ] Class br.com.caelum.controller.ProdutoController is proxy: false
23:38:29,430 DEBUG [JavassistProxifier ] a proxy for class br.com.caelum.controller.ProdutoController was created as class br.com.caelum.controller.ProdutoController_$$_jvst58b_3
23:38:29,431 DEBUG [JavassistProxifier ] Class br.com.caelum.controller.ProdutoController is proxy: false
23:38:29,431 DEBUG [JavassistProxifier ] a proxy for class br.com.caelum.controller.ProdutoController was created as class br.com.caelum.controller.ProdutoController_$$_jvst58b_3
23:38:29,431 DEBUG [DefaultLogicResult ] Executing public void br.com.caelum.controller.ProdutoController.formulario()
23:38:29,431 DEBUG [CDIBasedContainer ] asking cdi to get instance for class br.com.caelum.controller.ProdutoController
23:38:29,431 DEBUG [CDIBasedContainer ] beans for class br.com.caelum.controller.ProdutoController is [Managed Bean [class br.com.caelum.controller.ProdutoController] with qualifiers [@Any @Default]]
23:38:29,431 DEBUG [DefaultLogicResult ] Response already commited, not forwarding.
23:38:29,432 DEBUG [DefaultInterceptorStack] All registered interceptors have been called. End of VRaptor Request Execution.
23:38:29,432 DEBUG [ForwardToDefaultView] Request already dispatched and commited somewhere else, not forwarding.
23:38:29,432 DEBUG [VRaptor ] VRaptor ended the request