johnzon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (JIRA)" <>
Subject [jira] [Created] (JOHNZON-145) Improve FallbackConverter error reporting
Date Fri, 10 Nov 2017 08:45:00 GMT
Mark Struberg created JOHNZON-145:

             Summary: Improve FallbackConverter error reporting
                 Key: JOHNZON-145
             Project: Johnzon
          Issue Type: New Feature
          Components: Mapper
    Affects Versions: 1.1.4
            Reporter: Mark Struberg
            Assignee: Mark Struberg
             Fix For: 1.1.5

Currently the MappingParserImpl FallbackConverter does not have much knowledge about the type.

This leads to funny exceptions without much info about the JSON and the Type:
Caused by: org.apache.johnzon.mapper.MapperException: Using fallback converter, this only
works in write mode but not in read. Please register a custom converter to do so.
	at org.apache.johnzon.mapper.MappingParserImpl$FallbackConverter.fromString(
	at ~[johnzon-mapper-1.1.5-SNAPSHOT.jar:1.1.5-SNAPSHOT]
	at ~[johnzon-mapper-1.1.5-SNAPSHOT.jar:1.1.5-SNAPSHOT]

This message was sent by Atlassian JIRA

View raw message