Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-635

Surefire 2.19.1 (and later) stacktrace hyperlinks don't work with Maven

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      When running tests with surefire 2.19.1, to see the stacktrace, make sure the plugin is configured as following:

      <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-surefire-plugin</artifactId>
           <version>2.19.1</version>
           <configuration>
               <trimStackTrace>false</trimStackTrace>
           </configuration>
       </plugin>

      Then you will see the stacktraces in the output. Even though they are recognized as being hyperlinks, when you click on them, nothing happens and in the status bar of Netbeans it says that the source file cannot be found.

      This works perfectly with surefire 2.18.1. Something changed between these versions.

      Related topics:

      [1] https://netbeans.org/bugzilla/show_bug.cgi?id=257563

      [2] https://netbeans.org/bugzilla/show_bug.cgi?id=222587

      [3] https://netbeans.org/bugzilla/show_bug.cgi?id=262207

       

       

      Attachments

        1. mavenproject3.zip
          5 kB
          Jean-Marc Borer
        2. surefire-2.18.1-.png
          174 kB
          Jean-Marc Borer
        3. surefire-2.18.1-logging-output.txt
          5 kB
          Jean-Marc Borer
        4. surefire-2.18.1-output.txt
          5 kB
          Jean-Marc Borer
        5. surefire-2.19.1-.png
          154 kB
          Jean-Marc Borer
        6. surefire-2.19.1-logging-output.txt
          3 kB
          Jean-Marc Borer
        7. surefire-2.19.1-output.txt
          5 kB
          Jean-Marc Borer
        8. surefire-2.22.1-.png
          97 kB
          Jean-Marc Borer
        9. surefire-2.22.1-logging-output.txt
          5 kB
          Jean-Marc Borer
        10. surefire-2.22.1-output.txt
          5 kB
          Jean-Marc Borer
        11. surefire-3.0.0-M3-logging-output.txt
          5 kB
          Jean-Marc Borer
        12. surefire-3.0.0-M3-output.txt
          5 kB
          Jean-Marc Borer
        13. target-2.18.1.zip
          10 kB
          Jean-Marc Borer
        14. target-2.19.1.zip
          10 kB
          Jean-Marc Borer
        15. target-2.22.1.zip
          10 kB
          Jean-Marc Borer

        Issue Links

        Activity

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

          People

            Unassigned Unassigned
            jmborer Jean-Marc Borer
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 5.5h
                5.5h

                Slack

                  Issue deployment