You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by SanderW <sa...@performancearchitecten.nl> on 2011/08/30 09:56:53 UTC
Embedded resource is causing a StackOverflowError
Hi,
I have a script that's opening multiple url's coming from a csv-file. The
HTTP requests have the option retrieve all embedded resources ticked.
One of the url's is causing problems:
*Running the script from command line*
The script ran last night and this morning when I tried to open the jtl-file
I received a results file loader error. The JMeter-log from this morning
contains the following message:
/2011/08/30 07:02:27 WARN - jmeter.reporters.ResultCollector: Failed to
load C:\Temp\JMeterLog\20110830_020000 BISK048 Intro2 Verkenning.jtl using
XStream. Error was: com.thoughtworks.xstream.converters.ConversionException:
: markup not allowed inside attribute value - illegal < (position: TEXT
seen ..._catalogs/masterpage/_la<... @513694:149) : : markup not allowed
inside attribute value - illegal < (position: TEXT seen
..._catalogs/masterpage/_la<... @513694:149)
---- Debugging information ----
message : : markup not allowed inside attribute value - illegal
< (position: TEXT seen ..._catalogs/masterpage/_la<... @513694:149)
cause-exception : com.thoughtworks.xstream.io.StreamException
cause-message : : markup not allowed inside attribute value - illegal
< (position: TEXT seen ..._catalogs/masterpage/_la<... @513694:149)
class : org.apache.jmeter.save.TestResultWrapper
required-type :
org.apache.jmeter.protocol.http.sampler.HTTPSampleResult
line number : 513694
------------------------------- /
The JMeter-log from last night contains the following message:
/2011/08/30 03:11:24 ERROR - jmeter.reporters.ResultCollector: Error trying
to record a sample
com.thoughtworks.xstream.core.TreeMarshaller$CircularReferenceException:
at
com.thoughtworks.xstream.core.TreeMarshaller.convert(TreeMarshaller.java:83)
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
at
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
at
org.apache.jmeter.save.converters.SampleResultConverter.saveSubResults(SampleResultConverter.java:206)
at
org.apache.jmeter.protocol.http.util.HTTPResultConverter.marshal(HTTPResultConverter.java:71)
at
com.thoughtworks.xstream.core.TreeMarshaller.convert(TreeMarshaller.java:86)
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
at
com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:98)
at
com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:38)
at com.thoughtworks.xstream.XStream.marshal(XStream.java:837)
at
org.apache.jmeter.save.SaveService.saveSampleResult(SaveService.java:340)
at
org.apache.jmeter.reporters.ResultCollector.sampleOccurred(ResultCollector.java:479)
at
org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:87)
at
org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:694)
at
org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:362)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243)
at java.lang.Thread.run(Unknown Source)/
Then I checked the jtl-file and saw that the next httpSample is starting
before the previous has ended. Below is that part is the jtl-file:
/<httpSample t="36" lt="36"
ts="1314666680886" s="true"
lb="http://urlFiltered/_catalogs/masterpage/_la<httpSample
t="1836" lt="1239" ts="1314666680686"
s="true"
lb="/sites/Gerechtshof-Arnhem/Nieuws/Pages/Koffie!.aspx"
rc="200" rm="OK" tn="Open pagina vanuit CSV-bestand
1-9" dt="text" by="29863" ng="10"
na="10">
<assertionResult>/
*So what is causing this problem?*
I then checked the page that is causing the problem and it contains a
embedded resource with the brilliant address
/src="file:///P:/Bureaublad/Energiemarktbrenda_1803.jpg"/.
So besides kicking the editor that created the page I was also wondering if
JMeter shouldn't return a Circular Reference error for this embedded
resource.
*Version info*
JMeter version 2.4 r961953
Java version 1.6.0_26
OS Windows XP
--
View this message in context: http://jmeter.512774.n5.nabble.com/Embedded-resource-is-causing-a-StackOverflowError-tp4749228p4749228.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org