JdonFramework 5.1例項問題?

yekongda發表於2007-09-20
小弟首先寫了一遍JDBC的沒什麼問題,然後在JDBC的例項基礎上DAO用Hibernate重寫,只可以修改資料,當Add時報
00:47:05,812 ERROR [CreateViewPageUtil] [JdonFramework]please check your service 、 model or form, error is: java.lang.NullPointerException
00:47:05,812 WARN [RequestProcessor] Unhandled Exception thrown: class java.lang.Exception
00:47:05,812 ERROR [[action]] Servlet.service() for servlet action threw exception
java.lang.Exception: System error! please call system admin. java.lang.NullPointerException
at com.jdon.strutsutil.util.CreateViewPageUtil.doCreate(CreateViewPageUtil.java:87)
at com.jdon.strutsutil.ModelViewAction.execute(ModelViewAction.java:80)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
刪除時報:
00:47:44,921 ERROR [ModelSaveAction] [JdonFramework]please check your service 、 model or form :java.lang.NullPointerException
00:47:44,937 WARN [RequestProcessor] Unhandled Exception thrown: class java.lang.Exception
00:47:44,937 ERROR [[action]] Servlet.service() for servlet action threw exception
java.lang.Exception: System error! please call system Admin.java.lang.NullPointerException
at com.jdon.strutsutil.ModelSaveAction.execute(ModelSaveAction.java:94)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)

相關文章