Bug 34838 - Error about Mail Visualiser during startup JMeter
Summary: Error about Mail Visualiser during startup JMeter
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: Nightly (Please specify date)
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-10 14:33 UTC by Sander Stevens
Modified: 2005-05-24 17:21 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sander Stevens 2005-05-10 14:33:52 UTC
I am using internal build 20050508.

During startup I get the following error:

2005/05/09 13:41:20 INFO  - jmeter.gui.util.MenuFactory: Could not instantiate
org.apache.jmeter.visualizers.MailerVisualizer java.lang.NoClassDefFoundError:
javax/mail/MessagingException
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Unknown Source)
	at org.apache.jmeter.gui.util.MenuFactory.initializeMenus(MenuFactory.java:426)
	at org.apache.jmeter.gui.util.MenuFactory.<clinit>(MenuFactory.java:128)
	at
org.apache.jmeter.control.gui.WorkBenchGui.createPopupMenu(WorkBenchGui.java:103)
	at
org.apache.jmeter.gui.tree.JMeterTreeNode.createPopupMenu(JMeterTreeNode.java:132)
	at org.apache.jmeter.gui.action.EditCommand.doAction(EditCommand.java:48)
	at org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:81)
	at org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:44)
	at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:62)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)

Solution is to add the mail.jar and activation.jar to the jmer bin folder. But
this shouldn't happen.
Comment 1 Sebb 2005-05-19 01:35:55 UTC
I've committed some changes to CVS HEAD to catch and log such errors separately.

If the mail jars are missing, JMeter now logs a shorter warning message.

[By the way, the jars should be put into the lib rather than the bin directory.]
Comment 2 The ASF infrastructure team 2022-09-24 20:37:35 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/1540