java.lang.IllegalArgumentException: No visible constructors in interface eg.IFather

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Hibernate JIRA by Chris Hane, 1 year ago
No visible constructors in interface eg.IFather
via Hibernate JIRA by Chris Hane, 1 year ago
No visible constructors in interface eg.IFather
java.lang.IllegalArgumentException: No visible constructors in interface eg.IFather
at net.sf.cglib.EnhancerGenerator.(EnhancerGenerator.java:128)
at net.sf.cglib.Enhancer.enhanceClassHelper(Enhancer.java:224)
at net.sf.cglib.Enhancer.enhanceHelper(Enhancer.java:206)
at net.sf.cglib.Enhancer.enhance(Enhancer.java:162)
at net.sf.cglib.Enhancer.enhance(Enhancer.java:139)
at net.sf.hibernate.proxy.CGLIBLazyInitializer.getProxy(CGLIBLazyInitializer.java:26)
at net.sf.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:1790)
at net.sf.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:1728)
at net.sf.hibernate.type.ManyToOneType.resolveIdentifier(ManyToOneType.java:62)
at net.sf.hibernate.impl.SessionImpl.initializeEntity(SessionImpl.java:1971)
at net.sf.hibernate.loader.Loader.doFind(Loader.java:196)
at net.sf.hibernate.loader.Loader.loadEntity(Loader.java:587)
at net.sf.hibernate.loader.EntityLoader.load(EntityLoader.java:42)
at net.sf.hibernate.persister.EntityPersister.load(EntityPersister.java:392)
at net.sf.hibernate.impl.SessionImpl.doLoad(SessionImpl.java:1901)
at net.sf.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:1710)
at net.sf.hibernate.proxy.LazyInitializer.initialize(LazyInitializer.java:48)
at net.sf.hibernate.proxy.LazyInitializer.initializeWrapExceptions(LazyInitializer.java:55)
at net.sf.hibernate.proxy.LazyInitializer.getImplementation(LazyInitializer.java:153)
at net.sf.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:49)
at com.test.main(test.java:39)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.