Closed kwoot closed 6 years ago
Bugzilla Comment ID: 510 Date: 2009-12-27 20:54:30 From: Diego Pino \<dpino@igalia.com>
This bug was solved by Rego on patch:
ItEr40S22CUProcuraOrganizacionsTraballoItEr32S10: Fix problem with hours group code in previous commits (yet pending to be applied).
Bugzilla Comment ID: 509 Date: 2009-12-27 01:28:57 From: Diego Pino \<dpino@igalia.com>
The exception also raises on clicking "Criterion Requirement" tab.
Run-time error: not-null property references a null or transient value: org.navalplanner.business.orders.entities.HoursGroup.code; nested exception is org.hibernate.PropertyValueException: not-null property references a null or transient value: org.navalplanner.business.orders.entities.HoursGroup.code . Error was registered and itll be fixed as soon as possible.
GRAVE: >>org.springframework.dao.DataIntegrityViolationException: not-null property references a null or transient value: org.navalplanner.business.orders.entities.HoursGroup.code; nested exception is org.hibernate.PropertyValueException: not-null property references a null or transient value: org.navalplanner.business.orders.entities.HoursGroup.code
org.hibernate.PropertyValueException: not-null property references a null or transient value: org.navalplanner.business.orders.entities.HoursGroup.code at org.hibernate.engine.Nullability.checkNullability(Nullability.java:72) at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:290) at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:181) at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:121) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:187) ... 387923 [766034475@qtp-369134045-3] ERROR org.navalplanner.web.error.PageForErrorOnEvent - not-null property references a null or transient value: org.navalplanner.business.orders.entities.HoursGroup.code; nested exception is org.hibernate.PropertyValueException: not-null property references a null or transient value: org.navalplanner.business.orders.entities.HoursGroup.code org.springframework.dao.DataIntegrityViolationException: not-null property references a null or transient value: org.navalplanner.business.orders.entities.HoursGroup.code; nested exception is org.hibernate.PropertyValueException: not-null property references a null or transient value: org.navalplanner.business.orders.entities.HoursGroup.code at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:645) at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.convertHibernateAccessException(AbstractSessionFactoryBean.java:303) at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.translateExceptionIfPossible(AbstractSessionFactoryBean.java:282) at org.springframework.dao.support.ChainedPersistenceExceptionTranslator.translateExceptionIfPossible(ChainedPersistenceExceptionTranslator.java:62) at org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:212) at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:146) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy40.reattach(Unknown Source) at org.navalplanner.web.orders.ManageOrderElementAdvancesModel.reattachmentOrderElement(ManageOrderElementAdvancesModel.java:175) at org.navalplanner.web.orders.ManageOrderElementAdvancesModel.calculateFakeDirectAdvanceAssignment(ManageOrderElementAdvancesModel.java:487) at sun.reflect.NativeMethodAccessorImpl.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:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy96.calculateFakeDirectAdvanceAssignment(Unknown Source) at org.navalplanner.web.orders.ManageOrderElementAdvancesController.validateListAdvanceAssignment(ManageOrderElementAdvancesController.java:679) at org.navalplanner.web.orders.ManageOrderElementAdvancesController.validateDataForm(ManageOrderElementAdvancesController.java:663) at org.navalplanner.web.orders.ManageOrderElementAdvancesController.validate(ManageOrderElementAdvancesController.java:116) at org.navalplanner.web.orders.ManageOrderElementAdvancesController.save(ManageOrderElementAdvancesController.java:126) at org.navalplanner.web.orders.OrderCRUDController.save(OrderCRUDController.java:271) at org.navalplanner.web.orders.OrderCRUDController.saveAndExit(OrderCRUDController.java:264) at sun.reflect.NativeMethodAccessorImpl.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:597) at bsh.Reflect.invokeMethod(Unknown Source) at bsh.Reflect.invokeObjectMethod(Unknown Source) at bsh.Name.invokeMethod(Unknown Source) at bsh.BSHMethodInvocation.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.Interpreter.eval(Unknown Source) at bsh.Interpreter.eval(Unknown Source) at org.zkoss.zk.scripting.bsh.BSHInterpreter.exec(BSHInterpreter.java:119) at org.zkoss.zk.scripting.util.GenericInterpreter.interpret(GenericInterpreter.java:310) at org.zkoss.zk.ui.impl.PageImpl.interpret(PageImpl.java:787) at org.zkoss.zk.ui.impl.EventProcessor.process0(EventProcessor.java:176) at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:141) at org.zkoss.zk.ui.impl.EventProcessingThreadImpl.process0(EventProcessingThreadImpl.java:493) at org.zkoss.zk.ui.impl.EventProcessingThreadImpl.run(EventProcessingThreadImpl.java:425) Caused by: org.hibernate.PropertyValueException: not-null property references a null or transient value: org.navalplanner.business.orders.entities.HoursGroup.code at org.hibernate.engine.Nullability.checkNullability(Nullability.java:72) at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:290) at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:181) at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:121) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:187) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:172) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:94) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70) at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:508) at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:500) at org.hibernate.engine.CascadingAction$1.cascade(CascadingAction.java:218) at org.hibernate.engine.Cascade.cascadeToOne(Cascade.java:269) at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:217) at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:170) at org.hibernate.engine.Cascade.cascadeCollectionElements(Cascade.java:297) at org.hibernate.engine.Cascade.cascadeCollection(Cascade.java:243) at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:220) at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:170) at org.hibernate.engine.Cascade.cascade(Cascade.java:131) at org.hibernate.event.def.AbstractSaveEventListener.cascadeAfterSave(AbstractSaveEventListener.java:456) at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:334) at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:181) at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:121) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:187) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:172) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:94) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70) at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:508) at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:500) at org.hibernate.engine.CascadingAction$1.cascade(CascadingAction.java:218) at org.hibernate.engine.Cascade.cascadeToOne(Cascade.java:269) at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:217) at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:170) at org.hibernate.engine.Cascade.cascadeCollectionElements(Cascade.java:297) at org.hibernate.engine.Cascade.cascadeCollection(Cascade.java:243) at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:220) at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:170) at org.hibernate.engine.Cascade.cascade(Cascade.java:131) at org.hibernate.engine.Cascade.cascade(Cascade.java:98) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.cascadeOnUpdate(DefaultSaveOrUpdateEventListener.java:357) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performUpdate(DefaultSaveOrUpdateEventListener.java:329) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsDetached(DefaultSaveOrUpdateEventListener.java:223) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:89) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70) at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:508) at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:500) at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:496) at org.navalplanner.business.common.daos.GenericDAOHibernate.reattach(GenericDAOHibernate.java:205) at org.navalplanner.business.common.daos.GenericDAOHibernate.reattach(GenericDAOHibernate.java:59) at sun.reflect.GeneratedMethodAccessor258.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:138) ... 41 more
(Original Bugzilla Bug ID: 210)
Date: 2009-12-27 01:28:57 From: Diego Pino \<dpino@igalia.com> To: Javier Morán \<jmoran@igalia.com> Version: navalplan-1.0 (1.0.x) Last updated: 2011-01-18 17:50:50
(Note: this issue was migrated automatically with bugzilla2github.py tool )