{"action":"closed","issue":{"url":"https://api.github.com/repos/itdida/itdida-issues/issues/123","repository_url":"https://api.github.com/repos/itdida/itdida-issues","labels_url":"https://api.github.com/repos/itdida/itdida-issues/issues/123/labels{/name}","comments_url":"https://api.github.com/repos/itdida/itdida-issues/issues/123/comments","events_url":"https://api.github.com/repos/itdida/itdida-issues/issues/123/events","html_url":"https://github.com/itdida/itdida-issues/issues/123","id":313167657,"number":123,"title":"运单详情的费用界面，添加费用提交保存，系统报错","user":{"login":"WENLINRONG","id":37489976,"avatar_url":"https://avatars1.githubusercontent.com/u/37489976?v=4","gravatar_id":"","url":"https://api.github.com/users/WENLINRONG","html_url":"https://github.com/WENLINRONG","followers_url":"https://api.github.com/users/WENLINRONG/followers","following_url":"https://api.github.com/users/WENLINRONG/following{/other_user}","gists_url":"https://api.github.com/users/WENLINRONG/gists{/gist_id}","starred_url":"https://api.github.com/users/WENLINRONG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WENLINRONG/subscriptions","organizations_url":"https://api.github.com/users/WENLINRONG/orgs","repos_url":"https://api.github.com/users/WENLINRONG/repos","events_url":"https://api.github.com/users/WENLINRONG/events{/privacy}","received_events_url":"https://api.github.com/users/WENLINRONG/received_events","type":"User","site_admin":false},"labels":[{"id":872228420,"url":"https://api.github.com/repos/itdida/itdida-issues/labels/%E6%AD%A3%E5%BC%8F%E7%8E%AF%E5%A2%83%E5%BE%85%E6%B5%8B","name":"正式环境待测","color":"c2e0c6","default":false}],"state":"closed","locked":false,"assignee":{"login":"tomlamcn","id":37174434,"avatar_url":"https://avatars3.githubusercontent.com/u/37174434?v=4","gravatar_id":"","url":"https://api.github.com/users/tomlamcn","html_url":"https://github.com/tomlamcn","followers_url":"https://api.github.com/users/tomlamcn/followers","following_url":"https://api.github.com/users/tomlamcn/following{/other_user}","gists_url":"https://api.github.com/users/tomlamcn/gists{/gist_id}","starred_url":"https://api.github.com/users/tomlamcn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomlamcn/subscriptions","organizations_url":"https://api.github.com/users/tomlamcn/orgs","repos_url":"https://api.github.com/users/tomlamcn/repos","events_url":"https://api.github.com/users/tomlamcn/events{/privacy}","received_events_url":"https://api.github.com/users/tomlamcn/received_events","type":"User","site_admin":false},"assignees":[{"login":"tomlamcn","id":37174434,"avatar_url":"https://avatars3.githubusercontent.com/u/37174434?v=4","gravatar_id":"","url":"https://api.github.com/users/tomlamcn","html_url":"https://github.com/tomlamcn","followers_url":"https://api.github.com/users/tomlamcn/followers","following_url":"https://api.github.com/users/tomlamcn/following{/other_user}","gists_url":"https://api.github.com/users/tomlamcn/gists{/gist_id}","starred_url":"https://api.github.com/users/tomlamcn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomlamcn/subscriptions","organizations_url":"https://api.github.com/users/tomlamcn/orgs","repos_url":"https://api.github.com/users/tomlamcn/repos","events_url":"https://api.github.com/users/tomlamcn/events{/privacy}","received_events_url":"https://api.github.com/users/tomlamcn/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/itdida/itdida-issues/milestones/1","html_url":"https://github.com/itdida/itdida-issues/milestone/1","labels_url":"https://api.github.com/repos/itdida/itdida-issues/milestones/1/labels","id":3254605,"number":1,"title":"2018年4月10-5月9日已完成的GITHUB","description":"2018年4月10-5月9日重量统计","creator":{"login":"WENLINRONG","id":37489976,"avatar_url":"https://avatars1.githubusercontent.com/u/37489976?v=4","gravatar_id":"","url":"https://api.github.com/users/WENLINRONG","html_url":"https://github.com/WENLINRONG","followers_url":"https://api.github.com/users/WENLINRONG/followers","following_url":"https://api.github.com/users/WENLINRONG/following{/other_user}","gists_url":"https://api.github.com/users/WENLINRONG/gists{/gist_id}","starred_url":"https://api.github.com/users/WENLINRONG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WENLINRONG/subscriptions","organizations_url":"https://api.github.com/users/WENLINRONG/orgs","repos_url":"https://api.github.com/users/WENLINRONG/repos","events_url":"https://api.github.com/users/WENLINRONG/events{/privacy}","received_events_url":"https://api.github.com/users/WENLINRONG/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":5,"state":"open","created_at":"2018-04-10T04:00:48Z","updated_at":"2018-04-13T09:41:44Z","due_on":"2018-05-09T07:00:00Z","closed_at":null},"comments":2,"created_at":"2018-04-11T04:13:19Z","updated_at":"2018-04-13T09:41:44Z","closed_at":"2018-04-13T09:41:44Z","author_association":"COLLABORATOR","body":"运单详情的费用界面，添加费用提交保存，系统报错\r\n![image](https://user-images.githubusercontent.com/37489976/38596000-aeb1b960-3d81-11e8-9a50-8ea11846fd87.png)\r\n\r\n\r\n信息: org.hibernate.TransientPropertyValueException: object references an unsaved transient instance - save the transient instance before flushing : com.itdida.core.entities.ZhanNeiXinEntity.yunDanCaoZuoRiZhiEntity -> com.itdida.core.entities.YunDanCaoZuoRiZhiEntity \r\n详情: java.lang.IllegalStateException: org.hibernate.TransientPropertyValueException: object references an unsaved transient instance - save the transient instance before flushing : com.itdida.core.entities.ZhanNeiXinEntity.yunDanCaoZuoRiZhiEntity -> com.itdida.core.entities.YunDanCaoZuoRiZhiEntity\r\nat org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:146)\r\nat org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:157)\r\nat org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:164)\r\nat org.hibernate.internal.SessionImpl.doFlush(SessionImpl.java:1443)\r\nat org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1423)\r\nat sun.reflect.GeneratedMethodAccessor3321.invoke(Unknown Source)\r\nat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\nat java.lang.reflect.Method.invoke(Method.java:498)\r\nat org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:304)\r\nat com.sun.proxy.$Proxy286.flush(Unknown Source)\r\nat com.itdida.web.controllers.yundan.XiangQingController.addFeiYong(XiangQingController.java:1184)\r\nat com.itdida.web.controllers.yundan.XiangQingController$$FastClassBySpringCGLIB$$6f7e4ac.invoke(<generated>)\r\nat org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)\r\nat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:747)\r\nat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)\r\nat org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294)\r\nat org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)\r\nat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)\r\nat org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:689)\r\nat com.itdida.web.controllers.yundan.XiangQingController$$EnhancerBySpringCGLIB$$ebcfb4f8.addFeiYong(<generated>)\r\nat com.itdida.web.controllers.yundan.XiangQingController$$FastClassBySpringCGLIB$$6f7e4ac.invoke(<generated>)\r\nat org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)\r\nat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:747)\r\nat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)\r\nat org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294)\r\nat org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)\r\nat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)\r\nat org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:689)\r\nat com.itdida.web.controllers.yundan.XiangQingController$$EnhancerBySpringCGLIB$$6ff9f0de.addFeiYong(<generated>)\r\nat com.itdida.web.controllers.yundan.XiangQingController$$FastClassBySpringCGLIB$$6f7e4ac.invoke(<generated>)\r\nat org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)\r\nat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:747)\r\nat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)\r\nat org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:136)\r\nat org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:124)\r\nat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)\r\nat org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:689)\r\nat com.itdida.web.controllers.yundan.XiangQingController$$EnhancerBySpringCGLIB$$e1a765f1.addFeiYong(<generated>)\r\nat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\nat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\nat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\nat java.lang.reflect.Method.invoke(Method.java:498)\r\nat org.apache.el.parser.AstValue.invoke(AstValue.java:247)\r\nat org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:267)\r\nat org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:40)\r\nat org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50)\r\nat javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:150)\r\nat javax.faces.event.ActionEvent.processListener(ActionEvent.java:96)\r\nat javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:839)\r\nat javax.faces.component.UICommand.broadcast(UICommand.java:315)\r\nat javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:870)\r\nat javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1418)\r\nat com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)\r\nat com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)\r\nat com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:201)\r\nat javax.faces.webapp.FacesServlet.service(FacesServlet.java:670)\r\nat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)\r\nat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\r\nat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\r\nat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\r\nat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\r\nat org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)\r\nat org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)\r\nat org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)\r\nat org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)\r\nat org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)\r\nat org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)\r\nat org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)\r\nat org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)\r\nat org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)\r\nat org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)\r\nat org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)\r\nat org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)\r\nat org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357)\r\nat org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270)\r\nat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\r\nat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\r\nat com.itdida.core.filters.DomainFilter.doFilter(DomainFilter.java:34)\r\nat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\r\nat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\r\nat org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200)\r\nat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)\r\nat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\r\nat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\r\nat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)\r\nat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)\r\nat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)\r\nat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)\r\nat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:651)\r\nat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)\r\nat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)\r\nat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:409)\r\nat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)\r\nat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:754)\r\nat org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1376)\r\nat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\r\nat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\nat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\nat org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\r\nat java.lang.Thread.run(Thread.java:748)\r\nCaused by: org.hibernate.TransientPropertyValueException: object references an unsaved transient instance - save the transient instance before flushing : com.itdida.core.entities.ZhanNeiXinEntity.yunDanCaoZuoRiZhiEntity -> com.itdida.core.entities.YunDanCaoZuoRiZhiEntity\r\nat org.hibernate.engine.spi.CascadingActions$8.noCascade(CascadingActions.java:380)\r\nat org.hibernate.engine.internal.Cascade.cascade(Cascade.java:142)\r\nat org.hibernate.event.internal.AbstractFlushingEventListener.cascadeOnFlush(AbstractFlushingEventListener.java:150)\r\nat org.hibernate.event.internal.AbstractFlushingEventListener.prepareEntityFlushes(AbstractFlushingEventListener.java:141)\r\nat org.hibernate.event.internal.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:74)\r\nat org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:38)\r\nat org.hibernate.internal.SessionImpl.doFlush(SessionImpl.java:1437)\r\n... 96 more"}}
{"actor":{"display_login":"WENLINRONG"}}