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

  1. ,

    Thrown to indicate that a method has been passed an illegal or inappropriate argument. Check that you don't have more than one method existing with the same name.

Solutions on the web

via Hibernate JIRA by Emmanuel Bernard, 2 years ago
IllegalArgumentException occurred calling getter of org.hibernate.test.metadata.onetoone.SerialNumberPk.brand
via Hibernate JIRA by Emmanuel Bernard, 2 years ago
IllegalArgumentException occurred calling getter of org.hibernate.test.metadata.onetoone.SerialNumberPk.brand
via Coderanch by rodrigo bengoechea, 1 year ago
IllegalArgumentException occurred calling getter of beans.Password.id
via Stack Overflow by Getodac
, 1 year ago
IllegalArgumentException occurred calling getter of test.moro.User.name
via Hibernate JIRA by IvanRF, 2 years ago
IllegalArgumentException occurred calling getter of datos.Articulo.nroArticulo
via Hibernate JIRA by IvanRF, 2 years ago
IllegalArgumentException occurred calling getter of datos.Articulo.nroArticulo
org.hibernate.PropertyAccessException: IllegalArgumentException occurred calling getter of org.hibernate.test.metadata.onetoone.SerialNumberPk.brand at org.hibernate.property.BasicPropertyAccessor$BasicGetter.get(BasicPropertyAccessor.java:117) at org.hibernate.type.ComponentType.getHashCode(ComponentType.java:169) at org.hibernate.engine.EntityKey.hashCode(EntityKey.java:55) at java.util.HashMap.hash(HashMap.java:264) at java.util.HashMap.put(HashMap.java:382) at java.util.HashSet.add(HashSet.java:194) at org.hibernate.impl.PersistentContext.addNonExist(PersistentContext.java:890) at org.hibernate.impl.SessionImpl.addNonExist(SessionImpl.java:1750) at org.hibernate.loader.Loader.registerNonExists(Loader.java:467) at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:275) at org.hibernate.loader.Loader.doQuery(Loader.java:366) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:193) at org.hibernate.loader.Loader.loadEntity(Loader.java:1151) at org.hibernate.loader.EntityLoader.load(EntityLoader.java:111) at org.hibernate.loader.EntityLoader.load(EntityLoader.java:97) at org.hibernate.persister.BasicEntityPersister.load(BasicEntityPersister.java:2304) at org.hibernate.event.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:352) at org.hibernate.event.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:333) at org.hibernate.event.DefaultLoadEventListener.load(DefaultLoadEventListener.java:158) at org.hibernate.event.DefaultLoadEventListener.load(DefaultLoadEventListener.java:131) at org.hibernate.event.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:230) at org.hibernate.event.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:114) at org.hibernate.impl.SessionImpl.get(SessionImpl.java:706) at org.hibernate.impl.SessionImpl.get(SessionImpl.java:701) at org.hibernate.test.metadata.onetoone.OneTest.testTest(OneTest.java:40) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at org.hibernate.test.TestCase.runTest(TestCase.java:131) at com.intellij.rt.execution.junit2.JUnitStarter.main(JUnitStarter.java:31) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)Caused by: java.lang.IllegalArgumentException: object is not an instance of declaring class at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at org.hibernate.property.BasicPropertyAccessor$BasicGetter.get(BasicPropertyAccessor.java:103) ... 34 more