JMeter NonGUI错误:java.lang.NullPointerException

JMeter NonGUI错误:java.lang.NullPointerException,java,jmeter,jmx,Java,Jmeter,Jmx,我试图通过Java代码(使用Runtime.exe)运行JMeter,但出现以下错误: 我正在使用jmeter.bat通过Java创建新流程 以下是参数:C:\apache-jmeter-2.8\bin\jmeter.bat-n-tc:\test\test.jmx-lc:\test\test.log 请帮忙 2014/09/10 18:05:25 ERROR - jmeter.save.SaveService: Conversion error com.thoughtworks.xstream.

我试图通过Java代码(使用Runtime.exe)运行JMeter,但出现以下错误:
我正在使用jmeter.bat通过Java创建新流程

以下是参数:C:\apache-jmeter-2.8\bin\jmeter.bat-n-tc:\test\test.jmx-lc:\test\test.log

请帮忙

2014/09/10 18:05:25 ERROR - jmeter.save.SaveService: Conversion error com.thoughtworks.xstream.converters.ConversionException:  : no more data available - expected end tags </elementProp></collectionProp></elementProp></HTTPSamplerProxy></hashTree></hashTree></hashTree></hashTree></jmeterTestPlan> to close start tag <elementProp> from line 1 and start tag <collectionProp> from line 1 and start tag <elementProp> from line 1 and start tag <HTTPSamplerProxy> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <jmeterTestPlan> from line 1, parser stopped on END_TAG seen ...</stringProp>        ... @1:1966080 :  : no more data available - expected end tags </elementProp></collectionProp></elementProp></HTTPSamplerProxy></hashTree></hashTree></hashTree></hashTree></jmeterTestPlan> to close start tag <elementProp> from line 1 and start tag <collectionProp> from line 1 and start tag <elementProp> from line 1 and start tag <HTTPSamplerProxy> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <jmeterTestPlan> from line 1, parser stopped on END_TAG seen ...</stringProp>        ... @1:1966080
---- Debugging information ----
message             :  : no more data available - expected end tags </elementProp></collectionProp></elementProp></HTTPSamplerProxy></hashTree></hashTree></hashTree></hashTree></jmeterTestPlan> to close start tag <elementProp> from line 1 and start tag <collectionProp> from line 1 and start tag <elementProp> from line 1 and start tag <HTTPSamplerProxy> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <jmeterTestPlan> from line 1, parser stopped on END_TAG seen ...</stringProp>        ... @1:1966080
cause-exception     : com.thoughtworks.xstream.io.StreamException
cause-message       :  : no more data available - expected end tags </elementProp></collectionProp></elementProp></HTTPSamplerProxy></hashTree></hashTree></hashTree></hashTree></jmeterTestPlan> to close start tag <elementProp> from line 1 and start tag <collectionProp> from line 1 and start tag <elementProp> from line 1 and start tag <HTTPSamplerProxy> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <jmeterTestPlan> from line 1, parser stopped on END_TAG seen ...</stringProp>        ... @1:1966080
class               : org.apache.jmeter.testelement.property.TestElementProperty
required-type       : org.apache.jmeter.testelement.property.TestElementProperty
converter-type      : org.apache.jmeter.save.converters.TestElementPropertyConverter
path                : /jmeterTestPlan/hashTree/hashTree/hashTree/hashTree[3]/HTTPSamplerProxy[154]/elementProp/collectionProp/elementProp[41]
line number         : 1
class[1]            : org.apache.jmeter.testelement.property.CollectionProperty
converter-type[1]   : org.apache.jmeter.save.converters.MultiPropertyConverter
class[2]            : org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy
converter-type[2]   : org.apache.jmeter.protocol.http.sampler.HTTPSamplerBaseConverter
class[3]            : org.apache.jorphan.collections.ListedHashTree
converter-type[3]   : org.apache.jmeter.save.converters.HashTreeConverter
------------------------------- :  : no more data available - expected end tags </elementProp></collectionProp></elementProp></HTTPSamplerProxy></hashTree></hashTree></hashTree></hashTree></jmeterTestPlan> to close start tag <elementProp> from line 1 and start tag <collectionProp> from line 1 and start tag <elementProp> from line 1 and start tag <HTTPSamplerProxy> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <jmeterTestPlan> from line 1, parser stopped on END_TAG seen ...</stringProp>        ... @1:1966080 :  : no more data available - expected end tags </elementProp></collectionProp></elementProp></HTTPSamplerProxy></hashTree></hashTree></hashTree></hashTree></jmeterTestPlan> to close start tag <elementProp> from line 1 and start tag <collectionProp> from line 1 and start tag <elementProp> from line 1 and start tag <HTTPSamplerProxy> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <jmeterTestPlan> from line 1, parser stopped on END_TAG seen ...</stringProp>        ... @1:1966080
---- Debugging information ----
message             :  : no more data available - expected end tags </elementProp></collectionProp></elementProp></HTTPSamplerProxy></hashTree></hashTree></hashTree></hashTree></jmeterTestPlan> to close start tag <elementProp> from line 1 and start tag <collectionProp> from line 1 and start tag <elementProp> from line 1 and start tag <HTTPSamplerProxy> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <jmeterTestPlan> from line 1, parser stopped on END_TAG seen ...</stringProp>        ... @1:1966080
cause-exception     : com.thoughtworks.xstream.io.StreamException
cause-message       :  : no more data available - expected end tags </elementProp></collectionProp></elementProp></HTTPSamplerProxy></hashTree></hashTree></hashTree></hashTree></jmeterTestPlan> to close start tag <elementProp> from line 1 and start tag <collectionProp> from line 1 and start tag <elementProp> from line 1 and start tag <HTTPSamplerProxy> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <jmeterTestPlan> from line 1, parser stopped on END_TAG seen ...</stringProp>        ... @1:1966080
class               : org.apache.jmeter.testelement.property.TestElementProperty
required-type       : org.apache.jmeter.testelement.property.TestElementProperty
converter-type      : org.apache.jmeter.save.converters.TestElementPropertyConverter
path                : /jmeterTestPlan/hashTree/hashTree/hashTree/hashTree[3]/HTTPSamplerProxy[154]/elementProp/collectionProp/elementProp[41]
line number         : 1
class[1]            : org.apache.jmeter.testelement.property.CollectionProperty
converter-type[1]   : org.apache.jmeter.save.converters.MultiPropertyConverter
class[2]            : org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy
converter-type[2]   : org.apache.jmeter.protocol.http.sampler.HTTPSamplerBaseConverter
class[3]            : org.apache.jorphan.collections.ListedHashTree
converter-type[3]   : org.apache.jmeter.save.converters.HashTreeConverter

..................................
........................
..............


2014/09/10 18:05:25 ERROR - jmeter.JMeter: Error in NonGUIDriver java.lang.NullPointerException
    at org.apache.jmeter.gui.tree.JMeterTreeModel.addSubTree(JMeterTreeModel.java:93)
    at org.apache.jmeter.JMeter.runNonGui(JMeter.java:744)
    at org.apache.jmeter.JMeter.startNonGui(JMeter.java:722)
    at org.apache.jmeter.JMeter.start(JMeter.java:386)
    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:216)
2014/09/10 18:05:25错误-jmeter.save.SaveService:转换错误com.thoughtworks.xstream.converters.ConversionException::没有更多数据可用-预期结束标记关闭第1行的开始标记,第1行的开始标记,第1行的开始标记,第1行的开始标记,第1行的开始标记,第1行的开始标记从第1行开始标记,从第1行开始标记,从第1行开始标记,解析器在看到结束标记时停止@1:1966080::无更多可用数据-预期结束标记将关闭第1行的开始标记和第1行的开始标记,以及第1行的开始标记和第1行的开始标记和第1行的开始标记,以及第1行的开始标记和第1行的开始标记和第1行的开始标记,解析器在看到结束标记时停止@1:1966080
----调试信息----
消息::无更多可用数据-预期结束标记将关闭第1行的开始标记和第1行的开始标记,以及第1行的开始标记和第1行的开始标记和第1行的开始标记,以及第1行的开始标记和第1行的开始标记和第1行的开始标记,解析器在看到结束标记时停止@1:1966080
原因异常:com.thoughtworks.xstream.io.StreamException
原因消息::无更多可用数据-预期结束标记将关闭第1行的开始标记和第1行的开始标记,以及第1行的开始标记和第1行的开始标记和第1行的开始标记,以及第1行的开始标记和第1行的开始标记和第1行的开始标记,解析器在看到结束标记时停止@1:1966080
类:org.apache.jmeter.testelement.property.TestElementProperty
所需类型:org.apache.jmeter.testelement.property.TestElementProperty
转换器类型:org.apache.jmeter.save.converters.TestElementPropertyConverter
路径:/jmeterTestPlan/hashTree/hashTree/hashTree/hashTree[3]/HTTPSamplerProxy[154]/elementProp/collectionProp/elementProp[41]
行号:1
类[1]:org.apache.jmeter.testelement.property.CollectionProperty
转换器类型[1]:org.apache.jmeter.save.converters.MultiPropertyConverter
类[2]:org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy
转换器类型[2]:org.apache.jmeter.protocol.http.sampler.HTTPSamplerBaseConverter
类[3]:org.apache.jorphan.collections.ListedHashTree
转换器类型[3]:org.apache.jmeter.save.converters.HashTreeConverter
-------------------------------::无更多可用数据-预期结束标记关闭第1行的开始标记和第1行的开始标记,第1行的开始标记和第1行的开始标记,第1行的开始标记和第1行的开始标记,第1行的开始标记和第1行的开始标记和第1行的开始标记,解析器在看到结束标记时停止@1:1966080::无更多可用数据-预期结束标记将关闭第1行的开始标记和第1行的开始标记,以及第1行的开始标记和第1行的开始标记和第1行的开始标记,以及第1行的开始标记和第1行的开始标记和第1行的开始标记,解析器在看到结束标记时停止@1:1966080
----调试信息----
消息::无更多可用数据-预期结束标记将关闭第1行的开始标记和第1行的开始标记,以及第1行的开始标记和第1行的开始标记和第1行的开始标记,以及第1行的开始标记和第1行的开始标记和第1行的开始标记,解析器在看到结束标记时停止@1:1966080
原因异常:com.thoughtworks.xstream.io.StreamException
原因消息::无更多可用数据-预期结束标记将关闭第1行的开始标记和第1行的开始标记,以及第1行的开始标记和第1行的开始标记和第1行的开始标记,以及第1行的开始标记和第1行的开始标记和第1行的开始标记,解析器在看到结束标记时停止@1:1966080
类:org.apache.jmeter.testelement.property.TestElementProperty
所需类型:org.apache.jmeter.testelement.property.TestElementProperty
转换器类型:org.apache.jmeter.save.converters.TestElementPropertyConverter
路径:/jmeterTestPlan/hashTree/hashTree/hashTree/hashTree[3]/HTTPSamplerProxy[154]/elementProp/collectionProp/elementProp[41]
行号:1
类[1]:org.apache.jmeter.testelement.property.CollectionProperty
转换器类型[1]:org.apache.jmeter.save.converters.MultiPropertyConverter
类[2]:org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy
转换器类型[2]:org.apache.jmeter.protocol.http.sampler.HTTPSamplerBaseConverter
类[3]:org.apache.jorphan.collections.ListedHashTree
转换器类型[3]:org.apache.jmeter.save.converters.HashTreeConverter
..................................
........................
..............
2014/09/10 18:05:25错误-jmeter.jmeter:NonGUIDriver java.lang.NullPointerException中的错误
位于org.apache.jmeter.gui.tree.JMeterTreeModel.addSubTree(JMeterTreeModel.java:93)
位于org.apache.jmeter.jmeter.runNonGui(jmeter.java:744)
位于org.apache.jmeter.jmeter.startNonGui(jmeter.java:722)
位于org.apache.jmeter.jmeter.start(jmeter.java:386)
在sun.reflect.NativeMethodAccessorImpl.invoke0(本机方法)处
位于sun.reflect.NativeMethodAccessorImpl.invoke(未知源)
在sun.reflect.DelegatingMethodAccessorImpl.invoke(Unk