JDK-6321950 : Warning in com/sun/org/apache/xml/internal/serializer/Encodings.java
  • Type: Bug
  • Component: xml
  • Sub-Component: jaxp
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2005-09-09
  • Updated: 2012-06-09
  • Resolved: 2005-12-10
Related Reports
Duplicate :  
Description
When some XML-related API is used (perhaps, preferences API) on Linux, Mustang b51, it sometimes causes this warning message to be displayed on the screen:

Warning: Could not get charToByteConverterClass!

It was discovered that this message comes from com/sun/org/apache/xml/internal/serializer/Encodings.java,
findCharToByteConverterMethod method.  It contains System.err.println in its exception handler.  The method is very strange as it doesn't return any value except for null.