java.sql.SQLException

Fail to convert between UTF8 and UCS2: failUTF8Conv

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web3988

  • via Oracle Community by 807581, 1 year ago
    Fail to convert between UTF8 and UCS2: failUTF8Conv
  • via Google Groups by Rich Knight, 1 year ago
    Fail to convert between UTF8 and UCS2: failUTF8Conv
  • via Oracle Community by 3004, 1 year ago
    Fail to convert between UTF8 and UCS2: failUTF8Conv
  • Stack trace

    • java.sql.SQLException: Fail to convert between UTF8 and UCS2: failUTF8Conv at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:222) at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:916) at oracle.jdbc.dbaccess.DBConversion.failUTF8Conv(DBConversion.java:1958) at oracle.jdbc.dbaccess.DBConversion.utf8BytesToJavaChars(DBConversion.java:1797) at oracle.jdbc.dbaccess.DBConversion.charBytesToJavaChars(DBConversion.java:828) at oracle.jdbc.dbaccess.DBConversion.CHARBytesToJavaChars(DBConversion.java:783) at oracle.jdbc.ttc7.TTCItem.getChars(TTCItem.java:231) at oracle.jdbc.dbaccess.DBDataSetImpl.getCharsItem(DBDataSetImpl.java:1094) at oracle.jdbc.driver.OracleStatement.getCharsInternal(OracleStatement.java:2947) at oracle.jdbc.driver.OracleStatement.getStringValue(OracleStatement.java:3103) at oracle.jdbc.driver.OracleStatement.getObjectValue(OracleStatement.java:5089) at oracle.jdbc.driver.OracleStatement.getObjectValue(OracleStatement.java:4964) at oracle.jdbc.driver.OracleResultSetImpl.getObject(OracleResultSetImpl.java:404) at com.sun.jdo.spi.persistence.support.sqlstore.ResultDesc.getConvertedObject(ResultDesc.java:399) at com.sun.jdo.spi.persistence.support.sqlstore.ResultDesc.setFields(ResultDesc.java:746) at com.sun.jdo.spi.persistence.support.sqlstore.ResultDesc.getResult(ResultDesc.java:635) at com.sun.jdo.spi.persistence.support.sqlstore.SQLStoreManager.executeQuery(SQLStoreManager.java:648) at com.sun.jdo.spi.persistence.support.sqlstore.SQLStoreManager.retrieve(SQLStoreManager.java:500) at com.sun.jdo.spi.persistence.support.sqlstore.SQLStateManager.reload(SQLStateManager.java:1197) at com.sun.jdo.spi.persistence.support.sqlstore.SQLStateManager.loadForRead(SQLStateManager.java:3797) at com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerImpl.getObjectById(PersistenceManagerImpl.java:604) at com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerWrapper.getObjectById(PersistenceManagerWrapper.java:247) at com.tops.gdgpc.EntityBean.SpeBaseTable.SpeBaseTableBean_1769729755_ConcreteImpl.jdoGetInstance(SpeBaseTableBean_1769729755_ConcreteImpl.java:2479) at com.tops.gdgpc.EntityBean.SpeBaseTable.SpeBaseTableBean_1769729755_ConcreteImpl.ejbLoad(SpeBaseTableBean_1769729755_ConcreteImpl.java:2267) at com.sun.ejb.containers.EntityContainer.callEJBLoad(EntityContainer.java:2372) at com.sun.ejb.containers.EntityContainer.afterBegin(EntityContainer.java:1362) at com.sun.ejb.containers.BaseContainer.startNewTx(BaseContainer.java:1405) at com.sun.ejb.containers.BaseContainer.preInvokeTx(BaseContainer.java:1313) at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:462) at com.tops.gdgpc.EntityBean.SpeBaseTable.SpeBaseTableBean_1769729755_ConcreteImpl_EJBObjectImpl.getSpeBaseTable(SpeBaseTableBean_1769729755_ConcreteImpl_EJBObjectImpl.java:24) at com.tops.gdgpc.EntityBean.SpeBaseTable._SpeBaseTable_Stub.getSpeBaseTable(Unknown Source) at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sun.forte4j.j2ee.ejbtest.webtest.InvocableMethod$MethodIM.invoke(InvocableMethod.java:233) at com.sun.forte4j.j2ee.ejbtest.webtest.EjbInvoker.getInvocationResults(EjbInvoker.java:98) at com.sun.forte4j.j2ee.ejbtest.webtest.DispatchHelper.getForward(DispatchHelper.java:191)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    2 times, 2 months ago
    Once, 6 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 10 months ago
    28 more bugmates