[Opensource] Controller in inconsistent state (I guess !)

Lirian Ostrovica lirian.ostrovica at senecac.on.ca
Fri Jan 31 08:51:20 PST 2003


Hi,

I'm having a problem executing LoginController and/or Register controller.
In fact the problem rises in the Controller class itself.
Calling   /Login.do I get :

java.lang.NullPointerException
 at org.apache.commons.beanutils.BeanUtils.describe(BeanUtils.java:399)
 at
com.jcorporate.expresso.core.controller.Controller.unloadStateForm(Controller.java:2432)

 at
com.jcorporate.expresso.core.controller.Controller.newState(Controller.java:1099)

 at
com.jcorporate.expresso.core.controller.Controller.newState(Controller.java:908)
 at
com.jcorporate.expresso.core.controller.Controller.perform(Controller.java:1582)

Tracing the problem down, I have arrived to the point of seeing that Controller's
method :
loadStateForm(State nextState,  ActionForm controllerForm) returns 'null' in line
855 with the comment "//backwards compatible reqt"  because controllerForm (this
method's argument) is not an instance of ControllerForm.

I'm not aware of anything I did, that might have caused it, because I did not
have this problem before. I did not touch the expresso's source code, and made no
modifications of config files in between.

help will be appreciated

Thank you

Lirian







More information about the Opensource mailing list