Because JSF is not respecting the inserted routes faces-config.xml

1

My application is no longer respecting the routes inserted in faces-config.xml, because?

Here's the exception:

Caused by: java.lang.NullPointerException
at com.sun.faces.application.NavigationHandlerImpl.determineViewFromActionOutcome(NavigationHandlerImpl.java:1384)
at com.sun.faces.application.NavigationHandlerImpl.findWildCardMatch(NavigationHandlerImpl.java:672)
at com.sun.faces.application.NavigationHandlerImpl.getViewId(NavigationHandlerImpl.java:483)
at com.sun.faces.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:190)
at com.sun.faces.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:183)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:132)
at javax.faces.component.UICommand.broadcast(UICommand.java:315)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:790)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1282)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
... 27 more

My faces-config.xml

<navigation-case> <from-outcome>cadastroCargos</from-outcome> <to-view-id>/CadastroCargos.xhtml</to-view-id> <redirect include-view-params="true"/> </navigation-case>

    
asked by anonymous 13.10.2015 / 15:52

1 answer

1

Good morning, Great takes a look at the configuration of your mvc, it may be looking for the wrong prefix and suffix, or in the wrong places.

    
13.10.2015 / 15:55