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. Make sure your getter and setter methods have the same return/parameter types (that is, String for String, Integer for Integer).

Solutions on the web

via Oracle Community by 392 Guest, 1 year ago
Can not set long field to org.eclipse.persistence.queries.ReportQueryResult Mapping: org.eclipse.persistence.mappings.DirectToFieldMapping[id--> MESSAGE.ID] Descriptor: RelationalDescriptor(com.phillipross.testing.model.Message --> [DatabaseTable(MESSAGE)])
via Eclipse Bugzilla by phillip.w.g.ross, 1 year ago
Can not set long field to java.lang.Long Mapping: org.eclipse.persistence.mappings.DirectToFieldMapping[id-->PURCHASE.ID] Descriptor: RelationalDescriptor(testcase1.Purchase --> [DatabaseTable(PURCHASE)])
java.lang.IllegalArgumentException: Can not set long field to org.eclipse.persistence.queries.ReportQueryResult	at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(	at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(	at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(	at sun.reflect.UnsafeLongFieldAccessorImpl.getLong(	at sun.reflect.UnsafeLongFieldAccessorImpl.get(	at java.lang.reflect.Field.get(	at org.eclipse.persistence.internal.descriptors.InstanceVariableAttributeAccessor.getAttributeValueFromObject(