问题现象:(运维)表单在定义了新的表单查询后,表单制作--编辑表单 ...

rangaleclickΛογισμικό & κατασκευή λογ/κού

4 Νοε 2013 (πριν από 5 χρόνια και 10 μέρες)

1.972 εμφανίσεις

问题现象:(运维)表单在定义了新的表单查询后,表单制作
--
编辑表单出现报错?



2
、点击编辑后,查看此表单报错。产生的原因是因为建立了查询之后,产生报错



Exception: null

java.lang.NullPointerException at
java.util.Collections$UnmodifiableCollection.(Collections.java:994) at
java.util.Collections$UnmodifiableList.(Collections.
java:1148) at
java.util.Collections.unmodifiableList(Collections.java:1134) at
www.seeyon.com.v3x.form.manager.define.query.SeeyonQueryImpl.getDataColumList(SeeyonQue
ryImpl.java:173) at
www.seeyon.com.v3x.form.controller.query.QueryObject.setQuery(QueryObj
ect.java:360) at
www.seeyon.com.v3x.form.controller.formservice.OperBaseManager.regroupQueryObject(OperB
aseManager.java:1105) at
www.seeyon.com.v3x.form.controller.formservice.OperBaseManager.loadFromnoInfoPath(OperB
aseManager.java:1142) at sun.reflect.Nat
iveMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at
java.lang.reflect.Method.invoke(Method
.java:585) at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:2
87) at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:165)
at $Proxy23.loadFromnoInfoPath(Unknown Source) at
www.seeyo
n.com.v3x.form.controller.FormAppMainController.editData(FormAppMainController
.java:1128) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at
sun.reflect.Delegat
ingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at
java.lang.reflect.Method.invoke(Method.java:585) at
org.springframework.web.servlet.mvc.multiaction.MultiActionController.invokeNamedMethod
(MultiActionController.java:393) at
org.springf
ramework.web.servlet.mvc.multiaction.MultiActionController.handleRequestInte
rnal(MultiActionController.java:331) at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController
.java:153) at
org.springframework.web.servlet.mvc.Sim
pleControllerHandlerAdapter.handle(SimpleControl
lerHandlerAdapter.java:44) at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:723)
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:663
)
at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:3
94) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:358)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at
javax.s
ervlet.http.HttpServlet.service(HttpServlet.java:802) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain
.java:252) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:17
3) at
org.s
pringframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(Ope
nSessionInViewFilter.java:174) at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:
77) at
org.apache.catalina.core.ApplicationFilterChai
n.internalDoFilter(ApplicationFilterChain
.java:202) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:17
3) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.c
ore.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at
org.apache.catalina.core.Sta
ndardEngineValve.invoke(StandardEngineValve.java:107) at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868) at
org.apache.coyote.http11.Http11BaseProtoco
l$Http11ConnectionHandler.processConnection(H
ttp11BaseProtocol.java:663) at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.
java:80
) at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at
java.lang.Thread.run(Thread.java:595)


问题原因:表单记录中

datadefine



Query
中查询未定义字段

解决办法:删除相应的
Query
标签中内容