Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-3947

No stack trace printed in the Groovy console

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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7-rc-2
    • 1.6.8, 1.7.1, 1.8-beta-1
    • None
    • None
    • winxp, jdk6u16

    Description

      The following code can not print the stack trace.

      try {
          1 / 0
      } catch (Exception e) {
          e.printStackTrace()  // but e.printStackTrace(System.out)   works!
      }
      

      Attachments

        1. 3947_17x_Patch.txt
          4 kB
          Roshan Dawrani
        2. 3947_GroovyConsole.JPG
          93 kB
          Roshan Dawrani
        3. 3947_v18x_Patch_29Dec2009.txt
          4 kB
          Roshan Dawrani
        4. V2_3947_GroovyConsole.JPG
          92 kB
          Roshan Dawrani
        5. V3_3947_GConsole_CaptureStdErrOFF.JPG
          37 kB
          Roshan Dawrani
        6. V3_3947_GConsole_CaptureStdErrON_1.JPG
          104 kB
          Roshan Dawrani
        7. V3_3947_GConsole_CaptureStdErrON_2.JPG
          28 kB
          Roshan Dawrani
        8. V3_3947_GConsole_NewMenuOption.JPG
          32 kB
          Roshan Dawrani
        9. V3_3947_v18x_Patch_07Jan2010.txt
          8 kB
          Roshan Dawrani

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            roshandawrani Roshan Dawrani
            daniel_sun Daniel Sun
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment