You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by "BAZLEY, Sebastian" <Se...@london.sema.slb.com> on 2003/05/19 17:38:36 UTC

JMeter 1.9 RC1 - blamk error dialogue for "bad" jmx files

The following test scripts don't load:

testfiles/assertion.jmx
testfiles/TestPlan.jmx

In both cases a dialog box is shown:

Title: 	"Error"
Icon:		Red Stop sign
Button:	OK

There is no text in the main part of the dialog box.

The following errors are logged:

When loading assertion.jmx:

05/19/2003 3:26:53 PM ERROR - jmeter.util: Problem loading part of file
java.lang.InstantiationException: org.apache.jmeter.assertions.Assertion
	at java.lang.Class.newInstance0(Class.java:291)
	[...]

When loading TestPlan.jmx

05/19/2003 3:23:35 PM ERROR - jmeter.util: Problem loading part of file
org.apache.avalon.framework.configuration.ConfigurationException: No
attribute named "class" is associated with the configuration element
"testelement" at -
	at
org.apache.avalon.framework.configuration.DefaultConfiguration.getAttribute(
DefaultConfiguration.java:223)
	[...]

Presumably there are errors in the JMX files - but it would be helpful if
the error dialogue was a bit more explicit ...

-- 
The opinions expressed herein are my own, and are not necessarily endorsed
by my employer ...

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org