JMeter NonGUI Error : java.lang.NullPointerException -


i trying run jmeter thru java code (using runtime.exe) getting following error:
creating new process thru java using jmeter.bat

here arguments: c:\apache-jmeter-2.8\bin\jmeter.bat -n -t c:\test\test.jmx -l c:\test\test.log

please help!

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> close start tag <elementprop> line 1 , start tag <collectionprop> line 1 , start tag <elementprop> line 1 , start tag <httpsamplerproxy> line 1 , start tag <hashtree> line 1 , start tag <hashtree> line 1 , start tag <hashtree> line 1 , start tag <hashtree> line 1 , start tag <jmetertestplan> 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> close start tag <elementprop> line 1 , start tag <collectionprop> line 1 , start tag <elementprop> line 1 , start tag <httpsamplerproxy> line 1 , start tag <hashtree> line 1 , start tag <hashtree> line 1 , start tag <hashtree> line 1 , start tag <hashtree> line 1 , start tag <jmetertestplan> 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> close start tag <elementprop> line 1 , start tag <collectionprop> line 1 , start tag <elementprop> line 1 , start tag <httpsamplerproxy> line 1 , start tag <hashtree> line 1 , start tag <hashtree> line 1 , start tag <hashtree> line 1 , start tag <hashtree> line 1 , start tag <jmetertestplan> 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> close start tag <elementprop> line 1 , start tag <collectionprop> line 1 , start tag <elementprop> line 1 , start tag <httpsamplerproxy> line 1 , start tag <hashtree> line 1 , start tag <hashtree> line 1 , start tag <hashtree> line 1 , start tag <hashtree> line 1 , start tag <jmetertestplan> 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> close start tag <elementprop> line 1 , start tag <collectionprop> line 1 , start tag <elementprop> line 1 , start tag <httpsamplerproxy> line 1 , start tag <hashtree> line 1 , start tag <hashtree> line 1 , start tag <hashtree> line 1 , start tag <hashtree> line 1 , start tag <jmetertestplan> 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> close start tag <elementprop> line 1 , start tag <collectionprop> line 1 , start tag <elementprop> line 1 , start tag <httpsamplerproxy> line 1 , start tag <hashtree> line 1 , start tag <hashtree> line 1 , start tag <hashtree> line 1 , start tag <hashtree> line 1 , start tag <jmetertestplan> 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> close start tag <elementprop> line 1 , start tag <collectionprop> line 1 , start tag <elementprop> line 1 , start tag <httpsamplerproxy> line 1 , start tag <hashtree> line 1 , start tag <hashtree> line 1 , start tag <hashtree> line 1 , start tag <hashtree> line 1 , start tag <jmetertestplan> 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> close start tag <elementprop> line 1 , start tag <collectionprop> line 1 , start tag <elementprop> line 1 , start tag <httpsamplerproxy> line 1 , start tag <hashtree> line 1 , start tag <hashtree> line 1 , start tag <hashtree> line 1 , start tag <hashtree> line 1 , start tag <jmetertestplan> 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     @ 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(native method)     @ sun.reflect.nativemethodaccessorimpl.invoke(unknown source)     @ sun.reflect.delegatingmethodaccessorimpl.invoke(unknown source)     @ java.lang.reflect.method.invoke(unknown source)     @ org.apache.jmeter.newdriver.main(newdriver.java:216) 

either xml file corrupt or not xml.

check it.

what versions of jmeter , java using ?


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

visual studio 2010 - Connect to informix database windows form application -

android - Associate same looper with different threads -