Andrew Crapo created JENA-255:
---------------------------------
Summary: a non-UTF8 character in a rule file causes
RulesetNotFoundException
Key: JENA-255
URL: https://issues.apache.org/jira/browse/JENA-255
Project: Apache Jena
Issue Type: Bug
Components: Jena
Affects Versions: Jena 2.7.0
Environment: Eclipse, Java 1.6, Windows
Reporter: Andrew Crapo
Priority: Minor
The presence of a non-UTF8 character in a rule file will cause a
"java.nio.charset.MalformedInputException: Input length = 1" error to be
thrown. In Rule.rulesParserFromReader (line 551) this is wrapped in a
WrappedIOException. Then in Rule.rulesFromURL (line 448) this is replaced with
a RulesetNotFoundException, removing any indication of what was really the
error and reporting that the rule file was not found.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira