Re: Error setting expression with Value

2014-06-16 Thread NIJO GEORGE
I have done it and my error got resolved. My Current problem is the value is not getting updated. I'm getting a NullPointerException while getting value from above fields. The values which are set to those hidden fields are not retriving properly by Action Class. I'm getting 0(Zero) always On M

Re: Error setting expression with Value

2014-06-16 Thread Lukasz Lenart
Or you can try to use OGNL 3.0.8 which solves that problem (it's a drop-in dependency) https://issues.apache.org/jira/browse/WW-3909 https://github.com/jkuhnert/ognl#release-notes---version-308 2014-06-16 10:29 GMT+02:00 Sreekanth S. Nair : > rename your setter & getter method of mAnswerid from s

Re: Error setting expression with Value

2014-06-16 Thread Sreekanth S. Nair
rename your setter & getter method of mAnswerid from setmAnswerid to setMAnswerid and getmAnswerid to getMAnswerid. And same thing is applicable to mQuestionid variable as well. -- Thanks & Regards Srikanth Software Developer eGovernments Foundations www.egovernm

Re: Error setting expression with Value

2014-06-16 Thread NIJO GEORGE
import com.dieutek.examsoft.entities.ExmAnswers; import com.dieutek.examsoft.entities.ExmQuestion; import com.dieutek.examsoft.implementors.AnswerImplementor; import com.dieutek.examsoft.implementors.QuestionImplementor; import static com.opensymphony.xwork2.Action.SUCCESS; import com.opensymphony.

Re: Error setting expression with Value

2014-06-15 Thread Lukasz Lenart
Can you show your action? Looks like a issue with setters 2014-06-14 14:57 GMT+02:00 NIJO GEORGE : > > > > 17:58:54,084 ERROR > [com.opensymphony.xwork2.interceptor.ParametersInterceptor] > (http--127.0.0.1-8080-6) Developer Notification (set struts.devMode to false > to disable this message):

Error setting expression with Value

2014-06-14 Thread NIJO GEORGE
17:58:54,084 ERROR [com.opensymphony.xwork2.interceptor.ParametersInterceptor] (http--127.0.0.1-8080-6) Developer Notification (set struts.devMode to false to disable this message): Unexpected Exception caught setting 'mAnswerid' on 'class com.dieutek.examsoft.question.CreateQuestionAction: Er