I construct a web app using struts2 and spring (struts2-core-2.0.2-SNAPSHOT-20061216.jar and struts2-spring-plugin-2.0.2-SNAPSHOT-20061216.jar). When I switch page quickly by following links pointed to struts actions, I get the following error:
But if I pause a minute after coming to a page, then click the link, it works fine.
I followed into the code, it seems that in the method "evaluateExtraParamsServletRequest" of the form class, with the following code: try { Class clazz = ObjectFactory.getObjectFactory().getClassInstance(actionConfig.getClassName()); addParameter("actionClass", clazz); } ... that ObjectFactory.getObjectFactory() returns a null reference.
I'm quite confused by this. Anyone can give me a hint?
liukaipeng 2006-12-17
--------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)