• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
crash converting from UTF8
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

crash converting from UTF8


  • Subject: crash converting from UTF8
  • From: Tom Pelaia <email@hidden>
  • Date: Thu, 16 Oct 2003 13:23:22 -0400
  • Organization: ORNL/SNS

Hi,

I'm running WebObjects 5.1 and we recently upgraded to Oracle 9i
database from Oracle 8i and the database is now using UTF8 character
encoding.  Unfortunately we now get a crash when reading some records
from the database.  Does anyone have any suggestions on how to work
around this crash?  Below is the relevant part of the exception stack trace:

Application: 	Logbook
Error: 	com.webobjects.jdbcadaptor.JDBCAdaptorException
Reason: 	Fail to convert between UTF8 and UCS2: failUTF8Conv
Stack trace:
File 	Line# 	Method 	Package
------------------------------------------------------------------------
JDBCColumn.java 	295 	_fetchValue 	com.webobjects.jdbcadaptor
JDBCColumn.java 	277 	fetchValue 	com.webobjects.jdbcadaptor
JDBCChannel.java 	1392 	fetchRow 	com.webobjects.jdbcadaptor
EODatabaseChannel.java 	307 	_fetchObject 	com.webobjects.eoaccess
EODatabaseContext.java 	3023
_objectsWithFetchSpecificationEditingContext 	com.webobjects.eoaccess
EODatabaseContext.java 	3157 	objectsWithFetchSpecification
com.webobjects.eoaccess
EOObjectStoreCoordinator.java 	472 	objectsWithFetchSpecification
com.webobjects.eocontrol
EOEditingContext.java 	3356 	objectsWithFetchSpecification
com.webobjects.eocontrol
EODatabaseDataSource.java 	540 	fetchObjects 	com.webobjects.eoaccess
WODisplayGroup.java 	2049 	fetch 	com.webobjects.appserver
WODisplayGroup.java 	2394 	qualifyDataSource 	com.webobjects.appserver
DailyPage.java 	43 	setupTime
<https://snsapp1.sns.ornl.gov:8888/Logbook/WebObjects/Logbook.woa/wa/WOProjectBuilderAction/openInProjectBuilder?line=43&wosid=2JlIU65SRGNtKZGJY7b9HM&filename=DailyPage.java&methodName=setupTime&fullClassName=DailyPage&errorMessage=Error+:+com.webobjects.jdbcadaptor.JDBCAdaptorException+-+Reason+:Fail+to+convert+between+UTF8+and+UCS2:+failUTF8Conv>




thanks,
-tom

--
Tom Pelaia
SNS Project, 701 Scarboro Road, MS-6473, Oak Ridge, TN 37830
phone: (865)574-6421, fax: (865)574-6617
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: crash converting from UTF8
      • From: email@hidden
  • Prev by Date: [Solved] - Re: A Beginner Question
  • Next by Date: Re: MacOSX and MySQL
  • Previous by thread: FW: MacOSX and MySQL
  • Next by thread: Re: crash converting from UTF8
  • Index(es):
    • Date
    • Thread