net.sf.hibernate.PropertyAccessException: could not get a field value by reflection getter of com.companio.f5.app.example.persistence.db1.EntityProject.id

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

net.sf.hibernate.PropertyAccessException: could not get a field value by reflection getter of com.companio.f5.app.example.persistence.db1.EntityProject.id
at net.sf.hibernate.property.DirectPropertyAccessor$DirectGetter.get(DirectPropertyAccessor.java:32)
at net.sf.hibernate.persister.AbstractEntityPersister.getIdentifier(AbstractEntityPersister.java:306)
at net.sf.hibernate.proxy.HibernateProxyHelper.getIdentifier(HibernateProxyHelper.java:48)
at net.sf.hibernate.type.EntityType.toString(EntityType.java:84)
at net.sf.hibernate.type.PersistentCollectionType.toString(PersistentCollectionType.java:82)
at net.sf.hibernate.impl.Printer.toString(Printer.java:49)
at net.sf.hibernate.impl.Printer.toString(Printer.java:82)
at net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:2277)
at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2235)
at de.companio.c5.schema.persistence.HibernateAccessorDesc.flushPhase2(HibernateAccessorDesc.java:148)

Users with the same issue

You are the first who have seen this exception.

Write tip

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