You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Suraj Acharya (JIRA)" <ji...@apache.org> on 2017/07/29 18:52:00 UTC

[jira] [Updated] (AVRO-1342) ObjectCreator fails if bad assemblies loaded

     [ https://issues.apache.org/jira/browse/AVRO-1342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suraj Acharya updated AVRO-1342:
--------------------------------
    Fix Version/s:     (was: 1.7.8)
                   1.7.9

> ObjectCreator fails if bad assemblies loaded
> --------------------------------------------
>
>                 Key: AVRO-1342
>                 URL: https://issues.apache.org/jira/browse/AVRO-1342
>             Project: Avro
>          Issue Type: Bug
>          Components: csharp
>    Affects Versions: 1.7.4
>         Environment: Windows, Visual Studio
>            Reporter: David Taylor
>             Fix For: 1.7.9
>
>         Attachments: AVRO-1342-csharp-ObjectCreator-fix.patch, continue-on-exception.diff
>
>
> When iterating over the list of assemblies in ObjectCreator.cs the GetTypes() call can fail with an exception if there is a load error on an assembly.  Currently this exception is propagated but really does not need to be.  I think a more reasonable approach is to note the error and then try the next assembly. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)