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 Mike G, 1 year ago
org.hibernate.bytecode.enhance.spi.LazyPropertyInitializer$1 cannot be cast to [B
via hibernate.org by Unknown author, 1 year ago
org.hibernate.bytecode.enhance.spi.LazyPropertyInitializer$1 cannot be cast to [B
via https://bugzilla.redhat.com/bugzilla/ by Stephen Fikes, 2 years ago
org.hibernate.bytecode.instrumentation.spi.LazyPropertyInitializer$1 cannot be cast to [B
java.lang.ClassCastException: org.hibernate.bytecode.enhance.spi.LazyPropertyInitializer$1 cannot be cast to [B	at org.hibernate.type.descriptor.java.PrimitiveByteArrayTypeDescriptor.areEqual(PrimitiveByteArrayTypeDescriptor.java:26)	at org.hibernate.type.AbstractStandardBasicType.isEqual(AbstractStandardBasicType.java:195)	at org.hibernate.type.AbstractStandardBasicType.getReplacement(AbstractStandardBasicType.java:75)	at org.hibernate.type.AbstractStandardBasicType.replace(AbstractStandardBasicType.java:361)	at org.hibernate.type.TypeHelper.replace(TypeHelper.java:211)	at org.hibernate.event.internal.DefaultMergeEventListener.copyValues(DefaultMergeEventListener.java:430)	at org.hibernate.event.internal.DefaultMergeEventListener.entityIsTransient(DefaultMergeEventListener.java:232)	at org.hibernate.event.internal.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:172)	at org.hibernate.internal.SessionImpl.fireMerge(SessionImpl.java:881)	at org.hibernate.internal.SessionImpl.merge(SessionImpl.java:848)	at org.hibernate.engine.spi.CascadingActions$6.cascade(CascadingActions.java:261)	at org.hibernate.engine.internal.Cascade.cascadeToOne(Cascade.java:391)	at org.hibernate.engine.internal.Cascade.cascadeAssociation(Cascade.java:316)	at org.hibernate.engine.internal.Cascade.cascadeProperty(Cascade.java:155)	at org.hibernate.engine.internal.Cascade.cascade(Cascade.java:104)	at org.hibernate.event.internal.AbstractSaveEventListener.cascadeAfterSave(AbstractSaveEventListener.java:445)	at org.hibernate.event.internal.DefaultMergeEventListener.entityIsTransient(DefaultMergeEventListener.java:238)	at org.hibernate.event.internal.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:172)	at org.hibernate.event.internal.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:68)	at org.hibernate.internal.SessionImpl.fireMerge(SessionImpl.java:857)	at org.hibernate.internal.SessionImpl.merge(SessionImpl.java:838)	at org.hibernate.internal.SessionImpl.merge(SessionImpl.java:843)	at org.hibernate.bugs.ORMUnitTestCase.hhh123Test(ORMUnitTestCase.java:88)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)	at org.hibernate.testing.junit4.ExtendedFrameworkMethod.invokeExplosively(ExtendedFrameworkMethod.java:45)	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)