环境:eas8.0web扩展开发平台
操作:新建方案,新建业务单元,导入实体,新建视图
情况:在新建编辑视图的时候没有问题,预览都可以看到,但是在新建列表视图的时候,发现一打开就报错,错误代码如下
错误代码:错误信息:java.lang.NullPointerException
错误详细堆栈信息:com.kingdee.bos.eventbus.exception.EventHandlerExecuteException: java.lang.NullPointerException
at: com.kingdee.bos.eventbus.support.SimpleEventBus.fireAEvent(SimpleEventBus.java:359)
at: com.kingdee.bos.eventbus.support.SimpleEventBus.fireEvent(SimpleEventBus.java:304)
at: com.kingdee.bos.eventbus.support.SimpleEventBus.doFire(SimpleEventBus.java:267)
at: com.kingdee.bos.eventbus.support.SimpleEventBus.fireEvent(SimpleEventBus.java:210)
at: com.kingdee.bos.webframework.dynamic.event.register.WebEventFirer.fireWebEvent(WebEventFirer.java:41)
at: com.kingdee.bos.webframework.dynamic.handler.view.WebListOnLoadHandler.onLoad(WebListOnLoadHandler.java:85)
at: com.kingdee.bos.webframework.dynamic.event.view.WebPageOnLoadEvent.dispatch(WebPageOnLoadEvent.java:21)
at: com.kingdee.bos.eventbus.HandlerExecutor.executeHandler(HandlerExecutor.java:30)
at: com.kingdee.bos.eventbus.support.SimpleEventBus.fireAEvent(SimpleEventBus.java:322)
at: com.kingdee.bos.eventbus.support.SimpleEventBus.fireEvent(SimpleEventBus.java:304)
at: com.kingdee.bos.eventbus.support.SimpleEventBus.doFire(SimpleEventBus.java:267)
at: com.kingdee.bos.eventbus.support.SimpleEventBus.fireEvent(SimpleEventBus.java:210)
at: com.kingdee.bos.webframework.dynamic.event.register.WebEventFirer.fireWebActionEvent(WebEventFirer.java:61)
at: com.kingdee.bos.webframework.dynamic.application.DynamicWebController.doActionMethod(DynamicWebController.java:123)
at: com.kingdee.bos.webframework.dynamic.application.DynamicWebController.doEventMethod(DynamicWebController.java:93)
at: com.kingdee.bos.webframework.dynamic.application.DynamicWebController.doEvent(DynamicWebController.java:78)
at: sun.reflect.GeneratedMethodAccessor405.invoke(Unknown Source)
at: sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at: java.lang.reflect.Method.invoke(Method.java:619)
at: org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:240)
at: org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:128)
at: org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96)
at: org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617)
at: org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578)
at: org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
at: org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:900)
at: org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:827)
at: org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at: org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)
at: javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
at: javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
at: com.apusic.web.container.ServletComponent.service(ServletComponent.java:87)
at: com.apusic.web.container.ServletFilterWrapper.doFilter(ServletFilterWrapper.java:38)
at: com.apusic.web.container.FilterChainImpl.doFilter(FilterChainImpl.java:48)
at: com.apusic.util.AttackFilter.doFilter(AttackFilter.java:87)
at: com.apusic.web.container.FilterComponent.doFilter(FilterComponent.java:65)
at: com.apusic.web.container.FilterChainImpl.performFilter(FilterChainImpl.java:38)
at: com.apusic.web.container.FilterChainImpl.doFilter(FilterChainImpl.java:45)
at: com.kingdee.bos.invokecounter.HttpSqlFilter.doFilter(HttpSqlFilter.java:34)
at: com.apusic.web.container.FilterComponent.doFilter(FilterComponent.java:65)
at: com.apusic.web.container.FilterChainImpl.performFilter(FilterChainImpl.java:38)
at: com.apusic.web.container.FilterChainImpl.doFilter(FilterChainImpl.java:45)
at: com.kingdee.bos.webframework.filter.WafHttpRequestFilter.doFilter(WafHttpRequestFilter.java:127)
at: com.apusic.web.container.FilterComponent.doFilter(FilterComponent.java:65)
at: com.apusic.web.container.FilterChainImpl.performFilter(FilterChainImpl.java:38)
at: com.apusic.web.container.FilterChainImpl.doFilter(FilterChainImpl.java:45)
at: com.kingdee.bos.webframework.filter.WafUserMonitorFilter.doFilter(WafUserMonitorFilter.java:61)
at: com.apusic.web.container.FilterComponent.doFilter(FilterComponent.java:65)
at: com.apusic.web.container.FilterChainImpl.performFilter(FilterChainImpl.java:38)
at: com.apusic.web.container.FilterChainImpl.doFilter(FilterChainImpl.java:45)
at: com.kingdee.bos.webframework.filter.WafContextFilter.doFilter(WafContextFilter.java:39)
at: com.apusic.web.container.FilterComponent.doFilter(FilterComponent.java:65)
at: com.apusic.web.container.FilterChainImpl.performFilter(FilterChainImpl.java:38)
at: com.apusic.web.container.FilterChainImpl.doFilter(FilterChainImpl.java:45)
at: org.jasig.cas.client.util.HttpServletRequestWrapperFilter.doFilter(HttpServletRequestWrapperFilter.java:75)
at: com.apusic.web.container.FilterComponent.doFilter(FilterComponent.java:65)
at: com.apusic.web.container.FilterChainImpl.performFilter(FilterChainImpl.java:38)
at: com.apusic.web.container.FilterChainImpl.doFilter(FilterChainImpl.java:45)
at: org.jasig.cas.client.validation.AbstractTicketValidationFilter.doFilter(AbstractTicketValidationFilter.java:197)
at: org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at: org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
at: com.apusic.web.container.FilterComponent.doFilter(FilterComponent.java:65)
at: com.apusic.web.container.FilterChainImpl.performFilter(FilterChainImpl.java:38)
at: com.apusic.web.container.FilterChainImpl.doFilter(FilterChainImpl.java:45)
at: org.jasig.cas.client.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:107)
at: com.kingdee.bos.sso.client.filter.authentication.KDPortalAuthenticationFilter.doFilter(KDPortalAuthenticationFilter.java:55)
at: org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at: org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
at: com.apusic.web.container.FilterComponent.doFilter(FilterComponent.java:65)
at: com.apusic.web.container.FilterChainImpl.performFilter(FilterChainImpl.java:38)
at: com.apusic.web.container.FilterChainImpl.doFilter(FilterChainImpl.java:45)
at: com.kingdee.bos.waf.filter.EaswebRPCFilter.doFilter(EaswebRPCFilter.java:56)
at: com.apusic.web.container.FilterComponent.doFilter(FilterComponent.java:65)
at: com.apusic.web.container.FilterChainImpl.performFilter(FilterChainImpl.java:38)
at: com.apusic.web.container.FilterChainImpl.doFilter(FilterChainImpl.java:45)
at: com.kingdee.eas.perflog.app.monitor.http.HttpFilter.doFilter(HttpFilter.java:43)
at: com.apusic.web.container.FilterComponent.doFilter(FilterComponent.java:65)
at: com.apusic.web.container.FilterChainImpl.performFilter(FilterChainImpl.java:38)
at: com.apusic.web.container.FilterChainImpl.doFilter(FilterChainImpl.java:45)
推荐阅读