返回结果集有默认值但是提示java.lang.nullpointerexception
2015-10-21 09:42
507 查看
Oct 20, 2015 9:56:44 AM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet [springmvc] in context with path [] threw exception [Handler processing failed; nested exception is java.lang.Error: Unresolved compilation problems: Duplicate field ChargeCountReturn.memberTimeFreeTime Duplicate field ChargeCountReturn.memberTimeFreeValue Duplicate method getMemberTimeFreeTime() in type ChargeCountReturn Duplicate method setMemberTimeFreeTime(String) in type ChargeCountReturn Duplicate method getMemberTimeFreeValue() in type ChargeCountReturn Duplicate method setMemberTimeFreeValue(String) in type ChargeCountReturn Duplicate field ChargeCountReturn.memberTimeFreeTime Duplicate field ChargeCountReturn.memberTimeFreeValue Duplicate method getMemberTimeFreeTime() in type ChargeCountReturn Duplicate method setMemberTimeFreeTime(String) in type ChargeCountReturn Duplicate method getMemberTimeFreeValue() in type ChargeCountReturn Duplicate method setMemberTimeFreeValue(String) in type ChargeCountReturn ] with root cause java.lang.Error: Unresolved compilation problems: Duplicate field ChargeCountReturn.memberTimeFreeTime Duplicate field ChargeCountReturn.memberTimeFreeValue Duplicate method getMemberTimeFreeTime() in type ChargeCountReturn Duplicate method setMemberTimeFreeTime(String) in type ChargeCountReturn Duplicate method getMemberTimeFreeValue() in type ChargeCountReturn Duplicate method setMemberTimeFreeValue(String) in type ChargeCountReturn Duplicate field ChargeCountReturn.memberTimeFreeTime Duplicate field ChargeCountReturn.memberTimeFreeValue Duplicate method getMemberTimeFreeTime() in type ChargeCountReturn Duplicate method setMemberTimeFreeTime(String) in type ChargeCountReturn Duplicate method getMemberTimeFreeValue() in type ChargeCountReturn Duplicate method setMemberTimeFreeValue(String) in type ChargeCountReturn at com.ccc.charge.bean.ChargeCountReturn.<init>(ChargeCountReturn.java:53) at com.ccc.charge.common.ChargeCommon.setChargeCountReturn(ChargeCommon.java:774) at com.ccc.charge.common.ChargeCommon.chargeMain(ChargeCommon.java:522) at com.ccc.api.service.impl.ChargingServiceImpl.WCchargingCount(ChargingServiceImpl.java:478) at com.ccc.api.web.WCchargeAction.wcChargeCount(WCchargeAction.java:81) at com.ccc.api.web.WCchargeAction$$FastClassByCGLIB$$bfe736e7.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:698) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80) at com.anjubao.api.aspect.MethodLogInterceptor.doExecutionTimeActionAround(MethodLogInterceptor.java:85) at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610) at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:631) at com.anjubao.api.web.WCchargeAction$$EnhancerByCGLIB$$8d36686f.wcChargeCount(<generated>) at sun.reflect.GeneratedMethodAccessor408.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:745) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:686) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:838) at javax.servlet.http.HttpServlet.service(HttpServlet.java:646) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745)
相关文章推荐
- String对象数量分析
- 3、Java安全之证书
- eclipse 插件未安装成功定位
- Java中类继承、接口实现的一些细节(长期更新)
- Java exception handling best practices--转载
- JAVA集合类
- Struts2:对Action中方法进行输入校验
- java集成开发环境安装(jdk,eclipse安装)
- 偏执却管用的 10 条 Java 编程技巧
- 利用java提取Excel中日平均温度计算及导出
- java反射深入理解
- Spring MVC提供的表单标签
- 浅谈Java编程中的内存泄露情况
- Java IO和Java NIO在文件拷贝上的性能差异分析
- SpringMVC基于注解映射
- Mac下Java JDK的下载安装和配置
- SpringMVC访问资源文件
- java ==,hashCode(),equals(),
- SpringMVC前端控制器-----DispatcherServlet
- SpringMVC核心组件