Uploaded image for project: 'Alfresco One Platform'
  1. Alfresco One Platform
  2. ACE-4475

Exception malpractice: Throwable being caught and swallowed.

    Details

    • Build Location:
    • Build Number:
      unknown
    • Cloud or Enterprise:
      Cloud and Enterprise

      Description

      HybridWorkflowSetupSyncDelegate.addAspectToContent (at line 257 approx.) catches and swallows a Throwable. It doesn't even log an error.

      This is serious because although the code in the try block looks unlikely to throw an exception, swallowing a Throwable like this includes all JVM errors such as StackOverflows and OutOfMemory errors. If any such exception does occur then the JVM is in a broken state and should not continue. To swallow them and thereby allow the JVM to continue may have serious consequences, not least hiding the root cause of what would be a serious error.

      This must be fixed.

        Attachments

          Structure

            Activity

              People

              • Assignee:
                closedissues Closed Issues
                Reporter:
                nmcerlean Neil McErlean [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Structure Helper Panel