jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 62683] New: No error text shown in dialog when invalid jmx file gets opened
Date Wed, 05 Sep 2018 19:45:35 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=62683

            Bug ID: 62683
           Summary: No error text shown in dialog when invalid jmx file
                    gets opened
           Product: JMeter
           Version: 4.0
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: felix.schumacher@internetallee.de
  Target Milestone: ---

Created attachment 36133
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36133&action=edit
Use the inner exception of a StreamException to display some error text at
least

When a user tries to open an invalid jmx file (for example a jmeter.log file),
the shown error dialog contains no text.

This happens as the getMessage method of the caught exception gets displayed,
but the StreamException has no descriptive message.

The attached patch will use the inner exception for the error message as that
is (in my tests) not empty and rather descriptive.

In addition to this change I think the error dialog should be changed to show a
general error message (instead of simply displaying "Error") together with the
name of the file that was tried to be opened.

-- 
You are receiving this mail because:
You are the assignee for the bug.
Mime
View raw message