jakarta-jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: ConversionException during boot-up in non-GUI mode
Date Tue, 15 Aug 2006 16:09:05 GMT
Looks to me as though the initial directory is wrong or some of the
required jars are missing.

Or perhaps the test plan is invalid - does it work OK in GUI mode
(using the same installation of JMeter) ?

What command-line are you using to start JMeter?

S.
On 15/08/06, Mikko Ohtamaa <mikko.ohtamaa@ardites.com> wrote:
> Hi,
>
> I am trying to start Jmeter 2.2 (also 2.1) in non-gui MODE for debugging.
>
> I am not sure what is wrong with the config when I get exceptions like
> these:
>
> Error in NonGUIDriver
> com.thoughtworks.xstream.converters.ConversionException: version : version
> ---- Debugging information ----
> required-type       : org.apache.jmeter.save.ScriptWrapper
> cause-message       : version : version
> class               : org.apache.jmeter.save.ScriptWrapper
> message             : version : version
> line number         : 2
> path                : /org.apache.jmeter.save.ScriptWrapper/version
> cause-exception     :
> com.thoughtworks.xstream.alias.CannotResolveClassException
> ERROR   2006-08-15 16:59:44.594 [jmeter.J] ():
> com.thoughtworks.xstream.converters.ConversionException: version : version
> ---- Debugging information ----
> required-type       : org.apache.jmeter.save.ScriptWrapper
> cause-message       : version : version
> class               : org.apache.jmeter.save.ScriptWrapper
> message             : version : version
> line number         : 2
> path                : /org.apache.jmeter.save.ScriptWrapper/version
> cause-exception     :
> com.thoughtworks.xstream.alias.CannotResolveClassException
> -------------------------------
>        at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshall
> er.java:45)
>        at
> com.thoughtworks.xstream.core.ReferenceByXPathUnmarshaller.convertAnother(Re
> ferenceByXPathUnmarshaller.java:39)
>        at
> com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:9
> 9)
>        at
> com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(
> ReferenceByXPathMarshallingStrategy.java:12)
>        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:552)
>        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:540)
>        at com.thoughtworks.xstream.XStream.fromXML(XStream.java:490)
>        at org.apache.jmeter.save.SaveService.loadTree(SaveService.java:332)
>        at org.apache.jmeter.JMeter.run(JMeter.java:572)
>        at org.apache.jmeter.JMeter.startNonGui(JMeter.java:552)
>        at org.apache.jmeter.JMeter.start(JMeter.java:291)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>        at java.lang.reflect.Method.invoke(Unknown Source)
>        at org.apache.jmeter.NewDriver.main(NewDriver.java:175)
> Caused by: com.thoughtworks.xstream.alias.CannotResolveClassException:
> version : version
>        at
> com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:3
> 5)
>        at
> com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:1
> 8)
>        at
> com.thoughtworks.xstream.mapper.XmlFriendlyMapper.realClass(XmlFriendlyMappe
> r.java:44)
>        at
> com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:1
> 8)
>        at
> com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingM
> apper.java:49)
>        at
> com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:1
> 8)
>        at
> com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:1
> 8)
>        at
> com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:1
> 8)
>        at
> com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMap
> per.java:46)
>        at
> com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:1
> 8)
>        at
> com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:1
> 8)
>        at
> com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:1
> 8)
>        at
> com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:70)
>        at
> com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:1
> 8)
>        at
> com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:1
> 8)
>        at
> com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:1
> 8)
>        at
> com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:2
> 7)
>        at
> org.apache.jmeter.save.ScriptWrapperConverter.getNextType(ScriptWrapperConve
> rter.java:100)
>        at
> org.apache.jmeter.save.ScriptWrapperConverter.unmarshal(ScriptWrapperConvert
> er.java:92)
>        at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshall
> er.java:38)
>        ... 15 more
> --
> Mikko Ohtamaa
> mikko.ohtamaa@ardites.com
> +358 40 743 9707
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
>
>

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


Mime
View raw message