posted 15 years ago
What I noticed in my code is that I initialized state_ to null. So I corrected that and am now getting another error. The error I am getting is Caused by: java.lang.NoSuchMethodError:
Here is a copy of the class I am using:
When I am calling the getSelectedState method from the bean I am getting
Caused by: java.lang.NoSuchMethodError: stateBean.getState()Ljava/lang/String;
Caused by: javax.faces.FacesException: Error calling action method of component with id _idJsp0Pluto_264_:SaveButton
at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
at javax.faces.component.UICommand.broadcast(UICommand.java:109)
at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:97)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:171)
at org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:32)
at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:95)
at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:70)
at org.apache.myfaces.portlet.MyFacesGenericPortlet.processAction(MyFacesGenericPortlet.java:246)
... 38 more
Caused by: javax.faces.el.EvaluationException: Exception while invoking expression #{databaseHandler.InsertApplicant}
at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:156)
at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:61)
... 45 more
[ July 07, 2008: Message edited by: Omar Barrera ]