Is there a method in gov.usbr.mechdb.struts.GovernorAction class called "action" which takes nothing and returns a String?
On Thu, Mar 26, 2015 at 5:05 PM, Ellson, Jared <jell...@usbr.gov> wrote: > Hi All, > > I have a simple struts action class calling setters on a simple JPA object > and for some reason the setters are not working and it is blowing up. I am > doing the exact same thing in other actions with in the same application > and it is working fine. What am I missing? > > *Struts.xml:* > <action name="governor" class="gov.usbr.mechdb.struts.GovernorAction" > method > ="action"> > <result name="success">/article.jsp</result> > </action> > > *Error:* > 16:50:20,324 ERROR > [com.opensymphony.xwork2.interceptor.ParametersInterceptor] (default > task-55) Developer Notification (set struts.devMode to false to disable > this message): > > Unexpected Exception caught setting 'selectedGovernor.pcase' on 'class > gov.usbr.mechdb.struts.GovernorAction: Error setting expression > 'selectedGovernor.pcase' with value ['', '', ] > > 16:50:20,327 ERROR > [com.opensymphony.xwork2.interceptor.ParametersInterceptor] (default > task-55) Developer Notification (set struts.devMode to false to disable > this message): > > Unexpected Exception caught setting 'selectedGovernor.prvfull' on 'class > gov.usbr.mechdb.struts.GovernorAction: Error setting expression > 'selectedGovernor.prvfull' with value ['', ] > > 16:50:20,329 ERROR > [com.opensymphony.xwork2.interceptor.ParametersInterceptor] (default > task-55) Developer Notification (set struts.devMode to false to disable > this message): > > Unexpected Exception caught setting 'selectedGovernor.tgate2' on 'class > gov.usbr.mechdb.struts.GovernorAction: Error setting expression > 'selectedGovernor.tgate2' with value ['', ] > > 16:50:20,336 WARN [com.opensymphony.xwork2.util.LocalizedTextUtil] > (default task-55) Missing key [invalid.fieldvalue.pcase] in bundles > [[org/apache/struts2/struts-messages, > com/opensymphony/xwork2/xwork-messages]]! > > 16:50:20,336 WARN [com.opensymphony.xwork2.util.LocalizedTextUtil] > (default task-55) Missing key [invalid.fieldvalue.selectedGovernor.pcase] > in bundles [[org/apache/struts2/struts-messages, > com/opensymphony/xwork2/xwork-messages]]! > > 16:50:20,339 ERROR [org.apache.struts2.dispatcher.Dispatcher] (default > task-55) Could not find action or result > > /MechDB/governor.action: No result defined for action > gov.usbr.mechdb.struts.GovernorAction and result input - action - > > vfs:/Users/jellson/devTools/jboss/jboss8/standalone/deployments/MechDBEAR.ear/MechDB.war/WEB-INF/classes/struts.xml:25:89 > > at com.opensymphony.xwork2.DefaultActionInvocation.executeResult( > DefaultActionInvocation.java:371) [xwork-core-2.3.20.jar:2.3.20] > > I don't think the true error is what the stack is saying it is because it > never makes it to my action. > > *Here is what it is trying to set:* > > private BigDecimal pcase; > > public void setPcase(BigDecimal pcase) { > > > Thank you to anybody that can help... > > > > > -- > > Jared Ellson > > U.S. Bureau of Reclamation > > IT Specialist > > Office: 303-445-3354 > > Cell: 303-916-0304 > > jell...@usbr.gov >