[
https://issues.apache.org/jira/browse/AVRO-2496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16904490#comment-16904490
]
Hudson commented on AVRO-2496:
------------------------------
SUCCESS: Integrated in Jenkins build AvroJava #719 (See
[https://builds.apache.org/job/AvroJava/719/])
AVRO-2496: Report JSON path for schema and protocol parsing exceptions
(blachniet:
[https://github.com/apache/avro/commit/1b96b5bdf7d361bd25e1c2ef1697f0bc1d4a6e9d])
* (edit) lang/csharp/src/apache/main/Schema/SchemaParseException.cs
* (edit) lang/csharp/src/apache/main/Schema/EnumSchema.cs
* (edit) lang/csharp/src/apache/main/Schema/Schema.cs
* (edit) lang/csharp/src/apache/main/Schema/JsonHelper.cs
* (edit) lang/csharp/src/apache/main/Schema/MapSchema.cs
* (edit) lang/csharp/src/apache/main/Schema/UnionSchema.cs
* (edit) lang/csharp/src/apache/main/Schema/Field.cs
* (add) lang/csharp/src/apache/test/Protocol/ProtocolParseExceptionTest.cs
* (edit) lang/csharp/src/apache/main/Protocol/Protocol.cs
* (edit) lang/csharp/src/apache/main/Schema/ArraySchema.cs
* (edit) lang/csharp/src/apache/main/Schema/FixedSchema.cs
* (edit) lang/csharp/src/apache/main/Protocol/Message.cs
* (edit) lang/csharp/src/apache/main/Schema/NamedSchema.cs
* (edit) lang/csharp/src/apache/main/Avro.main.csproj
* (edit) lang/csharp/src/apache/codegen/Avro.codegen.csproj
* (edit) lang/csharp/src/apache/main/Schema/RecordSchema.cs
> Report JSON path for schema and protocol parsing exceptions
> -----------------------------------------------------------
>
> Key: AVRO-2496
> URL: https://issues.apache.org/jira/browse/AVRO-2496
> Project: Apache Avro
> Issue Type: Improvement
> Components: csharp
> Affects Versions: 1.9.0
> Reporter: Patrick Farry
> Priority: Major
> Fix For: 1.10.0, 1.9.1
>
>
> In the csharp library, if there is an exception parsing a schema then we get
> a message with the exception details but no indication of where the error was
> in the schema's json.
> I have updated the parser to catch these exceptions and rethrow a new
> exception with the JSON path to the error and the original exception. This
> requires an update of the NewtonSoft json.net package (current version is 3).
> Version 10.3 is about 2 years old and has the most downloads of any recent
> release. Suggest going to this one.
> I if people agree this is a good idea I can put in a PR.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)