Closed kwoot closed 6 years ago
Bugzilla Comment ID: 550 Date: 2010-01-11 18:49:34 From: Xavi Castaño \<xcastanho@igalia.com>
Using my last uploaded dump (previous bug), you could assign calendar "Pontevedra proxecto 2" to several workers in order to reproduce it:
Run-time error: not-null property references a null or transient value: org.navalplanner.business.calendars.entities.ResourceCalendar.capacity; nested exception is org.hibernate.PropertyValueException: not-null property references a null or transient value: org.navalplanner.business.calendars.entities.ResourceCalendar.capacity . Error was registered and itll be fixed as soon as possible.
SEVERE: >>org.springframework.dao.DataIntegrityViolationException: not-null property references a null or transient value: org.navalplanner.business.calendars.entities.ResourceCalendar.capacity; nested exception is org.hibernate.PropertyValueException: not-null property references a null or transient value: org.navalplanner.business.calendars.entities.ResourceCalendar.capacity
org.hibernate.PropertyValueException: not-null property references a null or transient value: org.navalplanner.business.calendars.entities.ResourceCalendar.capacity at org.hibernate.engine.Nullability.checkNullability(Nullability.java:72) at org.hibernate.event.def.DefaultFlushEntityEventListener.scheduleUpdate(DefaultFlushEntityEventListener.java:270) at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:128) at org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:196) at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:76) ... 277587 [1168306809@qtp-420089169-3] ERROR org.navalplanner.web.error.PageForErrorOnEvent - not-null property references a null or transient value: org.navalplanner.business.calendars.entities.ResourceCalendar.capacity; nested exception is org.hibernate.PropertyValueException: not-null property references a null or transient value: org.navalplanner.business.calendars.entities.ResourceCalendar.capacity org.springframework.dao.DataIntegrityViolationException: not-null property references a null or transient value: org.navalplanner.business.calendars.entities.ResourceCalendar.capacity; nested exception is org.hibernate.PropertyValueException: not-null property references a null or transient value: org.navalplanner.business.calendars.entities.ResourceCalendar.capacity at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:645) at org.springframework.orm.hibernate3.HibernateTransactionManager.convertHibernateAccessException(HibernateTransactionManager.java:789) at org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:663) at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:732) at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:701) at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:321) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:116) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy111.save(Unknown Source) 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.navalplanner.web.common.ExceptionCatcherProxy$1.invoke(ExceptionCatcherProxy.java:85) at $Proxy112.save(Unknown Source) at org.navalplanner.web.resources.worker.WorkerCRUDController.save(WorkerCRUDController.java:152) 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.calendars.entities.ResourceCalendar.capacity at org.hibernate.engine.Nullability.checkNullability(Nullability.java:72) at org.hibernate.event.def.DefaultFlushEntityEventListener.scheduleUpdate(DefaultFlushEntityEventListener.java:270) at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:128) at org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:196) at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:76) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:26) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1001) at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:339) at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106) at org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:655) ... 33 more
Bugzilla Comment ID: 551 Date: 2010-01-11 18:51:38 From: Xavi Castaño \<xcastanho@igalia.com>
In order to reproduce it, try to assign calendars to several resources or Xavier Castaño after two or three assignations.
Has been fixed.
(Original Bugzilla Bug ID: 231)
Date: 2010-01-11 18:49:34 From: Xavi Castaño \<xcastanho@igalia.com> To: Javier Morán \<jmoran@igalia.com> Version: navalplan-1.1 (1.1.x) Last updated: 2011-05-20 14:40:46
(Note: this issue was migrated automatically with bugzilla2github.py tool )