Bug #1186
closedquery returning invalid UTF-8 sequence
0%
Description
Currently, if one runs a "%" query on the default metacat server from Morpho,
Morpho reports the exception "(2.431) Exception creating result set ...(2.432)
java.io.UTFDataFormatException: Invalid byte 2 of 3-byte UTF-8 sequence.
(2.433) Exception is: java.io.UTFDataFormatException"
The error stops the ResultSet parsing so that not all the results are displayed
in Morpho. Apparently, Metacat is generating invalid UTF data in the returned XML
Apparently, the package that triggers this problem has the id "redemm.4.1". The
web display from Metacat works and shows that this package is in Spanish with
lots of special symbols (which may explain the UTF-8 error).
Updated by Dan Higgins about 21 years ago
This problem can be avoided with a Morpho fix that changes InputStream to a
Reader. It is not clear whether Metacat is really sending back invalid unicode
or character codeing just set to wring value in Morpho.