Project

General

Profile

Actions

Bug #1186

closed

query returning invalid UTF-8 sequence

Added by Dan Higgins over 20 years ago. Updated over 20 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
metacat
Target version:
Start date:
10/10/2003
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
1186

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).

Actions #1

Updated by Dan Higgins over 20 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.

Actions #2

Updated by Redmine Admin about 11 years ago

Original Bugzilla ID was 1186

Actions

Also available in: Atom PDF