Bug 64378 - HTML report generation should not fail if a plugin has registered a graph and is not more present in classpath, issue a warning instead
Summary: HTML report generation should not fail if a plugin has registered a graph and...
Status: RESOLVED FIXED
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 5.2.1
Hardware: All All
: P2 enhancement (vote)
Target Milestone: JMETER_5.3.0
Assignee: JMeter issues mailing list
URL:
Keywords: FixedInTrunk
Depends on:
Blocks:
 
Reported: 2020-04-25 09:38 UTC by santakd
Modified: 2020-04-25 16:16 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description santakd 2020-04-25 09:38:53 UTC
HTML report is not generated due to an error
This was working on 5.1.1 but not on 5.2.1
The ubik plugins are not installed
Removed all plugins and installed them again
Still the same error persists

An error occurred: Class name "com.ubikingenierie.jmeter.plugin.videostreaming.graphing.ULPCustomGraphConsumer" is not valid.
errorlevel=1

Command used
jmeter -g "C:\Results\DRS_Report_25-04-2020-12-11-29.jtl" -o "C:\Reports\DRS_Report_25-04-2020-12-11-29"
Comment 1 Philippe Mouawad 2020-04-25 12:43:23 UTC
(In reply to santakd from comment #0)
> HTML report is not generated due to an error
> This was working on 5.1.1 but not on 5.2.1
> The ubik plugins are not installed
> Removed all plugins and installed them again
> Still the same error persists
> 
> An error occurred: Class name
> "com.ubikingenierie.jmeter.plugin.videostreaming.graphing.
> ULPCustomGraphConsumer" is not valid.
> errorlevel=1
> 
> Command used
> jmeter -g "C:\Results\DRS_Report_25-04-2020-12-11-29.jtl" -o
> "C:\Reports\DRS_Report_25-04-2020-12-11-29"

Hello,

This is out of scope of JMeter as it is related to 3rd party plugin.


It is related to custom graphs that can be configured this way:

- https://jmeter.apache.org/usermanual/generating-dashboard.html#customs_graphs

Remove from user.properties the lines containing this class reference and related properties and error will disappears.

Regards
Comment 2 Philippe Mouawad 2020-04-25 16:14:11 UTC
pmouawad pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git


The following commit(s) were added to refs/heads/master by this push:
     new 4231d54  Bug 64378 - HTML report generation should not fail if a plugin has registered a graph and is not more present in classpath, issue a warning instead
4231d54 is described below

commit 4231d543b3971d640d5161b56f64f08e3c23145e
Author: pmouawad <p.mouawad@ubik-ingenierie.com>
AuthorDate: Sat Apr 25 18:12:17 2020 +0200

    Bug 64378 - HTML report generation should not fail if a plugin has registered a graph and is not more present in classpath, issue a warning instead
---
 .../main/java/org/apache/jmeter/report/dashboard/ReportGenerator.java  | 3 +++
 xdocs/changes.xml                                                      | 1 +
 2 files changed, 4 insertions(+)
Comment 3 Philippe Mouawad 2020-04-25 16:16:26 UTC
Hello,
This should not fail anymore (even if you don't do what I advised in initial answer) in upcoming nightly build.

Can you please test the build of 26 April from :
https://ci.apache.org/projects/jmeter/nightlies/

It will be available tomorrow.

Thanks
Regards