org.hibernate.InstantiationException: Cannot instantiate abstract class or interface: org.hibernate.test.bidi.Bid

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 Christian Bauer, 1 year ago
Cannot instantiate abstract class or interface: org.hibernate.test.bidi.Bid
via Hibernate JIRA by Christian Bauer, 1 year ago
Cannot instantiate abstract class or interface: org.hibernate.test.bidi.Bid
via Hibernate JIRA by Christian Bauer, 1 year ago
Cannot instantiate abstract class or interface: org.hibernate.test.bidi.Bid
via Hibernate JIRA by Christian Bauer, 1 year ago
Cannot instantiate abstract class or interface: org.hibernate.test.bidi.Bid
via Stack Overflow by Ankit
, 1 year ago
Cannot instantiate abstract class or interface: : com.sapient.bank.entities.Account
via java2s.com by Unknown author, 2 years ago
Could not instantiate entity: main.java.com.gwt.app.server.User
org.hibernate.InstantiationException: Cannot instantiate abstract class or interface: org.hibernate.test.bidi.Bid
at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:79)
at org.hibernate.tuple.AbstractComponentTuplizer.instantiate(AbstractComponentTuplizer.java:89)
at org.hibernate.type.ComponentType.instantiate(ComponentType.java:428)
at org.hibernate.type.ComponentType.deepCopy(ComponentType.java:351)
at org.hibernate.type.TypeFactory.deepCopy(TypeFactory.java:323)
at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:255)
at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:167)
at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:101)
at org.hibernate.event.def.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:131)
at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:87)
at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:38)
at org.hibernate.impl.SessionImpl.firePersist(SessionImpl.java:590)
at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:568)
at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:572)
at org.hibernate.test.bidi.AuctionTest.testLazy(AuctionTest.java:40)

Users with the same issue

Once, 6 months ago
Once, 7 months ago
2 times, 8 months ago
2 times, 1 year ago
Once, 1 year ago

Write tip

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