Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-1342

ObjectCreator fails if bad assemblies loaded

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.7.4
    • None
    • csharp
    • None
    • Windows, Visual Studio

    Description

      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.

      Attachments

        1. AVRO-1342-csharp-ObjectCreator-fix.patch
          4 kB
          Dmitry Kovalev
        2. continue-on-exception.diff
          3 kB
          David Taylor

        Issue Links

          Activity

            People

              Unassigned Unassigned
              davidtaylor David Taylor
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: