You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Zhang Yee <ma...@gmail.com> on 2007/05/25 10:47:40 UTC
Urgent issue,can not open JMX with com.thoughtworks.xstream.io.StreamException
Hello All
Here is an urgent issue, your help will be much appreciated.
During designing my TA script by JMeter, it crached automatically, and i can
not open my JMX any more.
Here is info from jmeter.log.
Some one can help me recover my JMX? thanks so much.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jmeter.protocol.http.sampler.HTTPSampler2: httpsampler2.basicauth=false
2007/05/25 16:40:33 INFO - jmeter.save.SaveService: Using SaveService
properties file 1.7
2007/05/25 16:40:33 INFO - jmeter.save.SaveService: All converter versions
present and correct
2007/05/25 16:40:34 ERROR - jmeter.save.converters.TestElementConverter:
TestElement not instantiable: class
org.apache.jmeter.assertions.ResponseAssertion
com.thoughtworks.xstream.converters.ConversionException: : no more data
available - expected end tags
</stringProp></ResponseAssertion></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></jmeterTestPlan>
to close start tag <stringProp> from line 48306 and start tag
<ResponseAssertion> from line 48298 and start tag <hashTree> from line 48297
and start tag <hashTree> from line 48180 and start tag <hashTree> from line
46465 and start tag <hashTree> from line 46456 and start tag <hashTree> from
line 46367 and start tag <hashTree> from line 46335 and start tag <hashTree>
from line 46303 and start tag <hashTree> from line 46271 and start tag
<hashTree> from line 42932 and start tag <hashTree> from line 21 and start
tag <hashTree> from line 2 and start tag <jmeterTestPlan> from line 1,
parser stopped on START_TAG seen ...<stringProp name="Assertion.test_field">
Assertion.res... @48306:80
---- Debugging information ----
required-type : org.apache.jmeter.testelement.property.StringProperty
cause-message : : no more data available - expected end tags
</stringProp></ResponseAssertion></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></jmeterTestPlan>
to close start tag <stringProp> from line 48306 and start tag
<ResponseAssertion> from line 48298 and start tag <hashTree> from line 48297
and start tag <hashTree> from line 48180 and start tag <hashTree> from line
46465 and start tag <hashTree> from line 46456 and start tag <hashTree> from
line 46367 and start tag <hashTree> from line 46335 and start tag <hashTree>
from line 46303 and start tag <hashTree> from line 46271 and start tag
<hashTree> from line 42932 and start tag <hashTree> from line 21 and start
tag <hashTree> from line 2 and start tag <jmeterTestPlan> from line 1,
parser stopped on START_TAG seen ...<stringProp name="Assertion.test_field">
Assertion.res... @48306:80
class : org.apache.jmeter.testelement.property.StringProperty
message : : no more data available - expected end tags
</stringProp></ResponseAssertion></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></jmeterTestPlan>
to close start tag <stringProp> from line 48306 and start tag
<ResponseAssertion> from line 48298 and start tag <hashTree> from line 48297
and start tag <hashTree> from line 48180 and start tag <hashTree> from line
46465 and start tag <hashTree> from line 46456 and start tag <hashTree> from
line 46367 and start tag <hashTree> from line 46335 and start tag <hashTree>
from line 46303 and start tag <hashTree> from line 46271 and start tag
<hashTree> from line 42932 and start tag <hashTree> from line 21 and start
tag <hashTree> from line 2 and start tag <jmeterTestPlan> from line 1,
parser stopped on START_TAG seen ...<stringProp name="Assertion.test_field">
Assertion.res... @48306:80
line number : 48306
path :
/jmeterTestPlan/hashTree/hashTree/hashTree[2]/hashTree[10]/hashTree[2]/hashTree[2]/hashTree[2]/hashTree[3]/hashTree/hashTree[2]/hashTree[3]/ResponseAssertion/stringProp[4]
cause-exception : com.thoughtworks.xstream.io.StreamException
-------------------------------
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(
TreeUnmarshaller.java:45)
at
com.thoughtworks.xstream.core.ReferenceByXPathUnmarshaller.convertAnother(
ReferenceByXPathUnmarshaller.java:39)
at
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem
(AbstractCollectionConverter.java:82)
at org.apache.jmeter.save.converters.TestElementConverter.unmarshal(
TestElementConverter.java:92)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(
TreeUnmarshaller.java:38)
at
com.thoughtworks.xstream.core.ReferenceByXPathUnmarshaller.convertAnother(
ReferenceByXPathUnmarshaller.java:39)
at
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem
(AbstractCollectionConverter.java:82)
at org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(
HashTreeConverter.java:86)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(
TreeUnmarshaller.java:38)
at
com.thoughtworks.xstream.core.ReferenceByXPathUnmarshaller.convertAnother(
ReferenceByXPathUnmarshaller.java:39)
at
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem
(AbstractCollectionConverter.java:82)
at org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(
HashTreeConverter.java:86)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(
TreeUnmarshaller.java:38)
at
com.thoughtworks.xstream.core.ReferenceByXPathUnmarshaller.convertAnother(
ReferenceByXPathUnmarshaller.java:39)
at
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem
(AbstractCollectionConverter.java:82)
at org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(
HashTreeConverter.java:86)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(
TreeUnmarshaller.java:38)
at
com.thoughtworks.xstream.core.ReferenceByXPathUnmarshaller.convertAnother(
ReferenceByXPathUnmarshaller.java:39)
at
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem
(AbstractCollectionConverter.java:82)
at org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(
HashTreeConverter.java:86)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(
TreeUnmarshaller.java:38)
at
com.thoughtworks.xstream.core.ReferenceByXPathUnmarshaller.convertAnother(
ReferenceByXPathUnmarshaller.java:39)
at
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem
(AbstractCollectionConverter.java:82)
at org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(
HashTreeConverter.java:86)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(
TreeUnmarshaller.java:38)
at
com.thoughtworks.xstream.core.ReferenceByXPathUnmarshaller.convertAnother(
ReferenceByXPathUnmarshaller.java:39)
at
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem
(AbstractCollectionConverter.java:82)
at org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(
HashTreeConverter.java:86)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(
TreeUnmarshaller.java:38)
at
com.thoughtworks.xstream.core.ReferenceByXPathUnmarshaller.convertAnother(
ReferenceByXPathUnmarshaller.java:39)
at
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem
(AbstractCollectionConverter.java:82)
at org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(
HashTreeConverter.java:86)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(
TreeUnmarshaller.java:38)
at
com.thoughtworks.xstream.core.ReferenceByXPathUnmarshaller.convertAnother(
ReferenceByXPathUnmarshaller.java:39)
at
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem
(AbstractCollectionConverter.java:82)
at org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(
HashTreeConverter.java:86)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(
TreeUnmarshaller.java:38)
at
com.thoughtworks.xstream.core.ReferenceByXPathUnmarshaller.convertAnother(
ReferenceByXPathUnmarshaller.java:39)
at
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem
(AbstractCollectionConverter.java:82)
at org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(
HashTreeConverter.java:86)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(
TreeUnmarshaller.java:38)
at
com.thoughtworks.xstream.core.ReferenceByXPathUnmarshaller.convertAnother(
ReferenceByXPathUnmarshaller.java:39)
at
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem
(AbstractCollectionConverter.java:82)
at org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(
HashTreeConverter.java:86)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(
TreeUnmarshaller.java:38)
at
com.thoughtworks.xstream.core.ReferenceByXPathUnmarshaller.convertAnother(
ReferenceByXPathUnmarshaller.java:39)
at
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem
(AbstractCollectionConverter.java:82)
at org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(
HashTreeConverter.java:86)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(
TreeUnmarshaller.java:38)
at
com.thoughtworks.xstream.core.ReferenceByXPathUnmarshaller.convertAnother(
ReferenceByXPathUnmarshaller.java:39)
at org.apache.jmeter.save.ScriptWrapperConverter.unmarshal(
ScriptWrapperConverter.java:90)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(
TreeUnmarshaller.java:38)
at
com.thoughtworks.xstream.core.ReferenceByXPathUnmarshaller.convertAnother(
ReferenceByXPathUnmarshaller.java:39)
at com.thoughtworks.xstream.core.TreeUnmarshaller.start(
TreeUnmarshaller.java:99)
at
com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(
ReferenceByXPathMarshallingStrategy.java:12)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:521)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:509)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:475)
at org.apache.jmeter.save.SaveService.loadTree(SaveService.java:260)
at org.apache.jmeter.gui.action.Load.doAction(Load.java:93)
at org.apache.jmeter.gui.action.ActionRouter.performAction(
ActionRouter.java:76)
at org.apache.jmeter.gui.action.ActionRouter.access$0(ActionRouter.java:67)
at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:61)
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.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: com.thoughtworks.xstream.io.StreamException: : no more data
available - expected end tags
</stringProp></ResponseAssertion></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></jmeterTestPlan>
to close start tag <stringProp> from line 48306 and start tag
<ResponseAssertion> from line 48298 and start tag <hashTree> from line 48297
and start tag <hashTree> from line 48180 and start tag <hashTree> from line
46465 and start tag <hashTree> from line 46456 and start tag <hashTree> from
line 46367 and start tag <hashTree> from line 46335 and start tag <hashTree>
from line 46303 and start tag <hashTree> from line 46271 and start tag
<hashTree> from line 42932 and start tag <hashTree> from line 21 and start
tag <hashTree> from line 2 and start tag <jmeterTestPlan> from line 1,
parser stopped on START_TAG seen ...<stringProp name="Assertion.test_field">
Assertion.res... @48306:80
at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java
:60)
at com.thoughtworks.xstream.io.xml.AbstractPullReader.readRealEvent(
AbstractPullReader.java:118)
at com.thoughtworks.xstream.io.xml.AbstractPullReader.readEvent(
AbstractPullReader.java:105)
at com.thoughtworks.xstream.io.xml.AbstractPullReader.getValue(
AbstractPullReader.java:148)
at com.thoughtworks.xstream.io.ReaderWrapper.getValue(ReaderWrapper.java
:37)
at org.apache.jmeter.save.converters.StringPropertyConverter.unmarshal(
StringPropertyConverter.java:77)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(
TreeUnmarshaller.java:38)
... 69 more
Caused by: java.io.EOFException: no more data available - expected end tags
</stringProp></ResponseAssertion></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></jmeterTestPlan>
to close start tag <stringProp> from line 48306 and start tag
<ResponseAssertion> from line 48298 and start tag <hashTree> from line 48297
and start tag <hashTree> from line 48180 and start tag <hashTree> from line
46465 and start tag <hashTree> from line 46456 and start tag <hashTree> from
line 46367 and start tag <hashTree> from line 46335 and start tag <hashTree>
from line 46303 and start tag <hashTree> from line 46271 and start tag
<hashTree> from line 42932 and start tag <hashTree> from line 21 and start
tag <hashTree> from line 2 and start tag <jmeterTestPlan> from line 1,
parser stopped on START_TAG seen ...<stringProp name="Assertion.test_field">
Assertion.res... @48306:80
at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:2995)
at org.xmlpull.mxp1.MXParser.more(MXParser.java:3004)
at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1384)
at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java
:43)
... 75 more
Re: Urgent issue,can not open JMX with com.thoughtworks.xstream.io.StreamException
Posted by Zhang Yee <ma...@gmail.com>.
Issue resolved by adding missing tags in JMXs
My test plan missing so many tags when i opened it with UE after crash.
i will continue moniter the JMeter crash issue to figure out how to
reproduce it.
Thanks
On 5/26/07, Zhang Yee <ma...@gmail.com> wrote:
>
> No, is pity that i did not keep the log file from crash.
> You are right, the test plan is really large with all XML request and JDBC
> combination, and it's about 3.5M now.
> For adding the missing tabs, could you please give a further explaination
> or sample?
> Thanks in advance.
>
>
>
> On 5/26/07, sebb <se...@gmail.com> wrote:
> >
> > On 25/05/07, Zhang Yee <ma...@gmail.com> wrote:
> > > Hello All
> > > Here is an urgent issue, your help will be much appreciated.
> > > During designing my TA script by JMeter, it crached automatically, and
> > i can
> >
> > Did you keep the log from the crash?
> >
> > > not open my JMX any more.
> > > Here is info from jmeter.log.
> > > Some one can help me recover my JMX? thanks so much.
> > >
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >
> > >
> > > jmeter.protocol.http.sampler.HTTPSampler2:
> > httpsampler2.basicauth=false
> > > 2007/05/25 16:40:33 INFO - jmeter.save.SaveService: Using SaveService
> > > properties file 1.7
> > > 2007/05/25 16:40:33 INFO - jmeter.save.SaveService: All converter
> > versions
> > > present and correct
> > > 2007/05/25 16:40:34 ERROR -
> > jmeter.save.converters.TestElementConverter:
> > > TestElement not instantiable: class
> > > org.apache.jmeter.assertions.ResponseAssertion
> > > com.thoughtworks.xstream.converters.ConversionException: : no more
> > data
> > > available - expected end tags
> > >
> > </stringProp></ResponseAssertion></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></jmeterTestPlan>
> >
> > > to close start tag <stringProp> from line 48306 and start tag
> >
> > All I can suggest is that you try using a text editor to add the
> > missing tags (as above) and see if that will solve matters.
> >
> > The test plan seems rather large. How many samplers are there? Can the
> > plan be simplified by using data files and CSV Dataset?
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
>
Re: Urgent issue,can not open JMX with com.thoughtworks.xstream.io.StreamException
Posted by Zhang Yee <ma...@gmail.com>.
No, is pity that i did not keep the log file from crash.
You are right, the test plan is really large with all XML request and JDBC
combination, and it's about 3.5M now.
For adding the missing tabs, could you please give a further explaination or
sample?
Thanks in advance.
On 5/26/07, sebb <se...@gmail.com> wrote:
>
> On 25/05/07, Zhang Yee <ma...@gmail.com> wrote:
> > Hello All
> > Here is an urgent issue, your help will be much appreciated.
> > During designing my TA script by JMeter, it crached automatically, and i
> can
>
> Did you keep the log from the crash?
>
> > not open my JMX any more.
> > Here is info from jmeter.log.
> > Some one can help me recover my JMX? thanks so much.
> >
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >
> > jmeter.protocol.http.sampler.HTTPSampler2: httpsampler2.basicauth=false
> > 2007/05/25 16:40:33 INFO - jmeter.save.SaveService: Using SaveService
> > properties file 1.7
> > 2007/05/25 16:40:33 INFO - jmeter.save.SaveService: All converter
> versions
> > present and correct
> > 2007/05/25 16:40:34 ERROR - jmeter.save.converters.TestElementConverter:
> > TestElement not instantiable: class
> > org.apache.jmeter.assertions.ResponseAssertion
> > com.thoughtworks.xstream.converters.ConversionException: : no more data
> > available - expected end tags
> >
> </stringProp></ResponseAssertion></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></jmeterTestPlan>
> > to close start tag <stringProp> from line 48306 and start tag
>
> All I can suggest is that you try using a text editor to add the
> missing tags (as above) and see if that will solve matters.
>
> The test plan seems rather large. How many samplers are there? Can the
> plan be simplified by using data files and CSV Dataset?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
Re: Urgent issue,can not open JMX with com.thoughtworks.xstream.io.StreamException
Posted by sebb <se...@gmail.com>.
On 25/05/07, Zhang Yee <ma...@gmail.com> wrote:
> Hello All
> Here is an urgent issue, your help will be much appreciated.
> During designing my TA script by JMeter, it crached automatically, and i can
Did you keep the log from the crash?
> not open my JMX any more.
> Here is info from jmeter.log.
> Some one can help me recover my JMX? thanks so much.
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> jmeter.protocol.http.sampler.HTTPSampler2: httpsampler2.basicauth=false
> 2007/05/25 16:40:33 INFO - jmeter.save.SaveService: Using SaveService
> properties file 1.7
> 2007/05/25 16:40:33 INFO - jmeter.save.SaveService: All converter versions
> present and correct
> 2007/05/25 16:40:34 ERROR - jmeter.save.converters.TestElementConverter:
> TestElement not instantiable: class
> org.apache.jmeter.assertions.ResponseAssertion
> com.thoughtworks.xstream.converters.ConversionException: : no more data
> available - expected end tags
> </stringProp></ResponseAssertion></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></hashTree></jmeterTestPlan>
> to close start tag <stringProp> from line 48306 and start tag
All I can suggest is that you try using a text editor to add the
missing tags (as above) and see if that will solve matters.
The test plan seems rather large. How many samplers are there? Can the
plan be simplified by using data files and CSV Dataset?
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org