关注JEECG发展历程 关注最新动态和版本, 记录JEECG成长点滴 更新日志 - 技术支持 - 招聘英才

JEECG最新版本下载 JEECG智能开发平台 - 显著提高开发效率 常见问题 - 入门视频 - 参与开源团队

商务QQ: 69893005、3102411850 商务热线(5*8小时): 010-64808099 官方邮箱: jeecgos@163.com

查看: 6588|回复: 1

列表出现一条空数据???

[复制链接]
发表于 2017-7-10 10:58:42 | 显示全部楼层 |阅读模式
创建表单,并生成代码,把代码拷到项目中,然后配置菜单项,点击菜单出现的列表有一条空数据。

删除该空数据时出现以下异常:

[org.jeecgframework.core.common.dao.impl.GenericBaseCommonDao]删除异常
java.lang.IllegalArgumentException: attempt to create delete event with null entity
        at org.hibernate.event.spi.DeleteEvent.<init>(DeleteEvent.java:45)
        at org.hibernate.internal.SessionImpl.delete(SessionImpl.java:936)
        at org.jeecgframework.core.common.dao.impl.GenericBaseCommonDao.delete(GenericBaseCommonDao.java:237)
        at org.jeecgframework.core.common.service.impl.CommonServiceImpl.delete(CommonServiceImpl.java:69)
        at org.jeecgframework.web.worklog.service.impl.TWorkLogServiceImpl.delete(TWorkLogServiceImpl.java:18)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at com.sun.proxy.$Proxy61.delete(Unknown Source)
        at org.jeecgframework.web.worklog.controller.TWorkLogController.doDel(TWorkLogController.java:101)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
        at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
        at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424)

QQ截图20170710105719.png
发表于 2017-7-19 15:40:24 | 显示全部楼层
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表