Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Hibernate JIRA by Nguyen Hau Giang, 2 years ago
exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of dummy.Child.setChildren
via Hibernate JIRA by Nguyen Hau Giang, 1 year ago
exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of dummy.Child.setChildren
via coderanch.com by Unknown author, 2 years ago
exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of employee.setDepartmentId
org.hibernate.PropertyAccessException: exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of dummy.Child.setChildren at org.hibernate.tuple.PojoTuplizer.setPropertyValuesWithOptimizer(PojoTuplizer.java:198) at org.hibernate.tuple.PojoTuplizer.setPropertyValues(PojoTuplizer.java:168) at org.hibernate.persister.entity.BasicEntityPersister.setPropertyValues(BasicEntityPersister.java:2922) at org.hibernate.event.def.DefaultMergeEventListener.copyValues(DefaultMergeEventListener.java:247) at org.hibernate.event.def.DefaultMergeEventListener.entityIsTransient(DefaultMergeEventListener.java:149) at org.hibernate.event.def.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:104) at org.hibernate.impl.SessionImpl.merge(SessionImpl.java:492) at org.hibernate.engine.Cascades$6.cascade(Cascades.java:175) at org.hibernate.engine.Cascades.cascade(Cascades.java:721) at org.hibernate.engine.Cascades.cascadeCollection(Cascades.java:860) at org.hibernate.engine.Cascades.cascade(Cascades.java:739) at org.hibernate.engine.Cascades.cascade(Cascades.java:817) at org.hibernate.event.def.DefaultMergeEventListener.cascadeOnMerge(DefaultMergeEventListener.java:263) at org.hibernate.event.def.DefaultMergeEventListener.entityIsDetached(DefaultMergeEventListener.java:222) at org.hibernate.event.def.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:102) at org.hibernate.event.def.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:54) at org.hibernate.impl.SessionImpl.merge(SessionImpl.java:483) at org.hibernate.impl.SessionImpl.merge(SessionImpl.java:487) at dummy.TestMerge.testMerge(TestMerge.java:34) 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:324) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:421) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:305) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:186)Caused by: net.sf.cglib.beans.BulkBeanException at dummy.Child$$BulkBeanByCGLIB$$bd203ea1.setPropertyValues(<generated>) at org.hibernate.tuple.PojoTuplizer.setPropertyValuesWithOptimizer(PojoTuplizer.java:195) ... 31 moreCaused by: java.lang.ClassCastException ... 33 more