[Opensource] No Such Field Message from Expresso

Parag Shah pshah at adaptivesoftware.biz
Fri Jan 17 03:44:52 PST 2003


Hi,
I am using Expresso 5.0
I get an unusual error very randomly. I have a DBObject called Project 
which extends SecuredDBObject.
I am using Expresso with Tomcat as the WebServer and HSQL as the database.

Here is the Exception which I get:
java.lang.IllegalArgumentException: No such field as 'PROJECTNUMBER' in 
object 'biz.adaptivesoftware.jms.qm.dbobj.Project' at 
com.jcorporate.expresso.core.dbobj.DBObjectDef.getDBField(DBObjectDef.java:836) 
at 
com.jcorporate.expresso.core.dbobj.DBObject.getFieldMetaData(DBObject.java:2600) 
at 
com.jcorporate.expresso.core.dbobj.DBObject.setField(DBObject.java:6436) 
at 
biz.adaptivesoftware.jms.qm.controller.ProjectsController.runSetProjectContextState(ProjectsController.java:98) 
at java.lang.reflect.Method.invoke(Native Method) at 
com.jcorporate.expresso.core.controller.Controller.newState(Controller.java:1153) 
at 
com.jcorporate.expresso.core.controller.Controller.perform(Controller.java:1580) 
at 
org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1787) 
at
<snip>

The DBObject has a field called 'RPOJECTNUMBER'. Also this problem 
happens very randomly. I have not been able to trace the actual sequence 
of events that lead to this problem.
When this happens restarting Tomcat is the only solution that seems to work.

Has anyone had this issue before. Any ideas why this is happening?

Thanks in advance
Parag




More information about the Opensource mailing list