You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Dmitry Kovalev (JIRA)" <ji...@apache.org> on 2014/08/05 18:48:11 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 ]
Dmitry Kovalev updated AVRO-1342:
---------------------------------
Attachment: AVRO-1342-csharp-ObjectCreator-fix.patch
alternative fix to this issue which doesn't introduce external dependencies and also collects the exceptions to report later if required
> ObjectCreator fails if bad assemblies loaded
> --------------------------------------------
>
> Key: AVRO-1342
> URL: https://issues.apache.org/jira/browse/AVRO-1342
> Project: Avro
> Issue Type: Improvement
> Components: csharp
> Affects Versions: 1.7.4
> Environment: Windows, Visual Studio
> Reporter: David Taylor
> Priority: Minor
> 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.2#6252)