Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-5479

ExecutionEvent.Type.SessionEnded omited when runtime exception thrown

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.4, 3.0.5
    • Fix Version/s: 3.2.1
    • Component/s: Embedding, IDEs
    • Labels:
      None
    • Flags:
      Patch

      Description

      in LifecycleStarter.java the ExecutionEvent.Type.SessionStarted is always fired, but ExecutionEvent.Type.SessionEnded appears only be fired when in some cases, omitted in case of RuntimeException thrown. IMHO the event should be fired in finally {} block. See attached patch.

        Attachments

          Activity

            People

            • Assignee:
              jvanzyl Jason van Zyl
              Reporter:
              mkleint Milos Kleint

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment