You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2022/04/29 10:17:19 UTC

[Bug 66045] New: Unable to start JMeter after installing internal plugin.

https://bz.apache.org/bugzilla/show_bug.cgi?id=66045

            Bug ID: 66045
           Summary: Unable to start JMeter after installing internal
                    plugin.
           Product: JMeter
           Version: 5.4.3
          Hardware: PC
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: rsarkar@kovair.com
  Target Milestone: JMETER_5.5

Created attachment 38266
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=38266&action=edit
s1.png - This screenshot contains the error while starting jmeter.

After installing a internal plugin in JMeter, when I am again starting JMeter
its showing error.

****BELOW IS THE MENTIONED ERROR*****

2022-04-29 14:38:21,201 main ERROR Error processing element GuiLogEvent
([Appenders: null]): CLASS_NOT_FOUND
2022-04-29 14:38:21,405 main ERROR Unable to locate appender "gui-log-event"
for logger config "root"
An error occurred: 'java.util.Vector
org.apache.commons.cli.avalon.CLArgsParser.getArguments()'
errorlevel=1
Press any key to continue . . .


When I am installing the internal plugin the below mentioned file is being over
written.
Overwrite E:\apache-jmeter-5.4.3\lib\ext\ApacheJMeter_core.jar

Can anyone help me regarding this.

I am attaching the screenshots and the plugin .bat files.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 66045] Unable to start JMeter after installing internal plugin.

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66045

Felix Schumacher <fe...@internetallee.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #7 from Felix Schumacher <fe...@internetallee.de> ---
If you made the plugin yourself, I would start by building it again, but
changing the dependencies to a more current version.

If you want to have more details, you will have to share more details on your
build process.

Some general tips:
* A normal plugin should not include any classes from JMeter in its own jar
file.
* Check all dependencies in your build chain, if they are still good to use
with JMeter (we have updated dependencies since 3.3 and will continue doing
so).
* An install script for plugins should probably "just" install the new
dependencies (your jar and your dependencies) to a fresh JMeter installation.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 66045] Unable to start JMeter after installing internal plugin.

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66045

--- Comment #2 from Rohit Sarkar <rs...@kovair.com> ---
Created attachment 38268
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=38268&action=edit
InstallOmnibus.bat file is used to installed the plugin

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 66045] Unable to start JMeter after installing internal plugin.

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66045

Rohit Sarkar <rs...@kovair.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 66045] Unable to start JMeter after installing internal plugin.

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66045

--- Comment #1 from Rohit Sarkar <rs...@kovair.com> ---
Created attachment 38267
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=38267&action=edit
S2.png - This screenshot contains the info. while installing the internal
plugin.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 66045] Unable to start JMeter after installing internal plugin.

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66045

Rohit Sarkar <rs...@kovair.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #5 from Rohit Sarkar <rs...@kovair.com> ---
@Felix Schumacher This plugin I am using is made by my group but for the
Version 3.3. I am trying to use this plugin for Version 5.4.3 but as you can
see its not working. Can you please share a link or some information to make
changes in the .jar file through which I can provide support for the plugin for
version 5.4.3

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 66045] Unable to start JMeter after installing internal plugin.

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66045

--- Comment #3 from Rohit Sarkar <rs...@kovair.com> ---
Created attachment 38269
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=38269&action=edit
UninstallOmnibus.bat is used to uninstall the jar file.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 66045] Unable to start JMeter after installing internal plugin.

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66045

--- Comment #6 from Rohit Sarkar <rs...@kovair.com> ---
(In reply to Felix Schumacher from comment #4)
> The installation seems to replace replace the core jar from JMeter from an
> otherwise (to us) unknown installation (of an older version of JMeter?).
> That might cause a lot of problems.
> 
> Such an installation method is definitely not a good idea and I am unsure,
> if we can help you here at all. 
> 
> Have you contacted the authors of the thirdparty plugin you want to use?
> 
> PS. the logging inside JMeter has seen some changes in the past. It should
> not affect normal plugins (well, it had, but that was fixed).


@Felix Schumacher This plugin I am using is made by my group but for the
Version 3.3. I am trying to use this plugin for Version 5.4.3 but as you can
see its not working. Can you please share a link or some information to make
changes in the .jar file through which I can provide support for the plugin for
version 5.4.3

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 66045] Unable to start JMeter after installing internal plugin.

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66045

Rohit Sarkar <rs...@kovair.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|JMETER_5.5                  |JMETER_5.4

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 66045] Unable to start JMeter after installing internal plugin.

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66045

Felix Schumacher <fe...@internetallee.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #4 from Felix Schumacher <fe...@internetallee.de> ---
The installation seems to replace replace the core jar from JMeter from an
otherwise (to us) unknown installation (of an older version of JMeter?). That
might cause a lot of problems.

Such an installation method is definitely not a good idea and I am unsure, if
we can help you here at all. 

Have you contacted the authors of the thirdparty plugin you want to use?

PS. the logging inside JMeter has seen some changes in the past. It should not
affect normal plugins (well, it had, but that was fixed).

-- 
You are receiving this mail because:
You are the assignee for the bug.