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 Apache's JIRA Issue Tracker by David Blevins, 1 year ago
Wrong data type: java.lang.NumberFormatException: For input string: "Red"
via grokbase.com by Unknown author, 1 year ago
Wrong data type: java.lang.NumberFormatException: For input string: "Red"
via openejb-users by Kevin Sutter, 9 months ago
ERROR: relation "country" does not exist {prepstmnt 16963612 INSERT INTO Country (id, name) VALUES (?, ?) [params=(long) 5, (String) aaa]} [code=0, state=42P01] FailedObject: carpool.entities.Country@17a687b
via openejb-users by Kevin Sutter, 9 months ago
ERROR: relation "country" does not exist {prepstmnt 16963612 INSERT INTO Country (id, name) VALUES (?, ?) [params=(long) 5, (String) aaa]} [code=0, state=42P01] FailedObject: carpool.entities.Country@17a687b
java.sql.SQLException: Wrong data type: java.lang.NumberFormatException: For input string: "Red"	at org.hsqldb.jdbc.Util.throwError(Unknown Source)	at org.hsqldb.jdbc.jdbcPreparedStatement.setParameter(Unknown Source)	at org.hsqldb.jdbc.jdbcPreparedStatement.setString(Unknown Source)	at org.apache.commons.dbcp.DelegatingPreparedStatement.setString(DelegatingPreparedStatement.java:132)	at org.apache.commons.dbcp.DelegatingPreparedStatement.setString(DelegatingPreparedStatement.java:132)	at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.setString(DelegatingPreparedStatement.java:309)	at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.setString(LoggingConnectionDecorator.java:990)	at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.setString(DelegatingPreparedStatement.java:309)	at org.apache.openjpa.jdbc.sql.DBDictionary.setString(DBDictionary.java:1097)	at org.apache.openjpa.jdbc.sql.DBDictionary.setUnknown(DBDictionary.java:1298)	at org.apache.openjpa.jdbc.sql.SQLBuffer.setParameters(SQLBuffer.java:630)	at org.apache.openjpa.jdbc.sql.SQLBuffer.prepareStatement(SQLBuffer.java:529)	at org.apache.openjpa.jdbc.sql.SQLBuffer.prepareStatement(SQLBuffer.java:485)	at org.apache.openjpa.jdbc.sql.SelectImpl.prepareStatement(SelectImpl.java:463)	at org.apache.openjpa.jdbc.sql.SelectImpl.execute(SelectImpl.java:379)	at org.apache.openjpa.jdbc.sql.SelectImpl.execute(SelectImpl.java:339)	at org.apache.openjpa.jdbc.sql.LogicalUnion$UnionSelect.execute(LogicalUnion.java:420)	at org.apache.openjpa.jdbc.sql.LogicalUnion.execute(LogicalUnion.java:230)	at org.apache.openjpa.jdbc.sql.LogicalUnion.execute(LogicalUnion.java:220)	at org.apache.openjpa.jdbc.meta.strats.StoreCollectionFieldStrategy.load(StoreCollectionFieldStrategy.java:599)	at org.apache.openjpa.jdbc.meta.FieldMapping.load(FieldMapping.java:819)	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.load(JDBCStoreManager.java:626)	at org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4238)	at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4203)	at org.apache.openjpa.jdbc.sql.HSQLDictionary.newStoreException(HSQLDictionary.java:292)	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:102)	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:88)	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:64)	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.load(JDBCStoreManager.java:632)	at org.apache.openjpa.kernel.DelegatingStoreManager.load(DelegatingStoreManager.java:116)	at org.apache.openjpa.kernel.ROPStoreManager.load(ROPStoreManager.java:78)	at org.apache.openjpa.kernel.StateManagerImpl.loadFields(StateManagerImpl.java:2920)	at org.apache.openjpa.kernel.StateManagerImpl.loadField(StateManagerImpl.java:2998)	at org.apache.openjpa.kernel.StateManagerImpl.fetchObjectField(StateManagerImpl.java:2241)	at org.apache.openjpa.kernel.StateManagerImpl.fetchField(StateManagerImpl.java:777)	at org.apache.openjpa.kernel.StateManagerImpl.fetch(StateManagerImpl.java:739)	at org.apache.openjpa.enhance.RedefinitionHelper$1.invoke(RedefinitionHelper.java:230)	at $Proxy20.size(Unknown Source)	at org.superbiz.customid.TestBean.tx2(TestBean.java:55)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:585)	at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:158)	at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:141)	at org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:122)	at org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:211)	at org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:169)	at org.apache.openejb.core.ivm.EjbObjectProxyHandler.businessMethod(EjbObjectProxyHandler.java:217)	at org.apache.openejb.core.ivm.EjbObjectProxyHandler._invoke(EjbObjectProxyHandler.java:77)	at org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:286)