Which Sampler(s) are you using?
As far as I can tell, the code is in the process of saving the response message.
This should never be null.
On 01/03/07, Hugh Hunter <[EMAIL PROTECTED]> wrote:
I've seen other mentions of this issue but it seems whatever remedies
people proposed were not sent to the group as a whole.
Before I get started, I'm running jmeter 2.2 on linux with JDK 1.5.10.
Basically, when I run the jmeter ant task, the JTL file only gets
results written to it in the case of a successful sample. 404 errors
and 500 errors are not logged, and these samples leave the following
stack trace in jmeter.log:
2007/03/01 10:45:36 ERROR - jmeter.reporters.ResultCollector:
java.lang.NullPointerException
at
com.thoughtworks.xstream.io.xml.PrettyPrintWriter.writeText(PrettyPrintW
riter.java:89)
at
com.thoughtworks.xstream.io.xml.PrettyPrintWriter.writeAttributeValue(Pr
ettyPrintWriter.java:81)
at
com.thoughtworks.xstream.io.xml.PrettyPrintWriter.addAttribute(PrettyPri
ntWriter.java:76)
at
com.thoughtworks.xstream.io.WriterWrapper.addAttribute(WriterWrapper.jav
a:25)
at
org.apache.jmeter.save.converters.SampleResultConverter.setAttributes(Sa
mpleResultConverter.java:244)
at
org.apache.jmeter.protocol.http.util.HTTPResultConverter.marshal(HTTPRes
ultConverter.java:76)
at
com.thoughtworks.xstream.core.ReferenceByXPathMarshaller.convertAnother(
ReferenceByXPathMarshaller.java:36)
at
com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:4
6)
at
com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.marsha
l(ReferenceByXPathMarshallingStrategy.java:17)
at com.thoughtworks.xstream.XStream.marshal(XStream.java:476)
at com.thoughtworks.xstream.XStream.marshal(XStream.java:466)
at com.thoughtworks.xstream.XStream.toXML(XStream.java:449)
at
org.apache.jmeter.save.SaveService.saveSampleResult(SaveService.java:236
)
at
org.apache.jmeter.reporters.ResultCollector.recordResult(ResultCollector
.java:427)
at
org.apache.jmeter.reporters.ResultCollector.sampleOccurred(ResultCollect
or.java:405)
at
org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotif
ier.java:239)
at
org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java
:466)
at
org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:255)
at java.lang.Thread.run(Thread.java:595)
Any ideas?
Thanks all,
--hugh
--
Hugh Hunter
QA Engineer
P: 310.360.4321 F: 310.360.4449
E: [EMAIL PROTECTED]
Citysearch (an operating business of IAC)
Leading local search, directory and media company
8833 W. Sunset Blvd.
West Hollywood, CA 90069
www.citysearch.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]