jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Morten Kristiansen <morten.kristian...@tracetracker.com>
Subject Re: [Fwd: Re: Broken functionallity?]
Date Wed, 21 Dec 2005 13:36:21 GMT

I found the following error in jmeter.log file:




2005/12/21 14:28:50 INFO  - jmeter.engine.StandardJMeterEngine: Running
the test!
2005/12/21 14:28:50 INFO  - jmeter.gui.util.JMeterMenuBar:
setRunning(true,local)
2005/12/21 14:28:50 INFO  - jmeter.engine.StandardJMeterEngine: Starting
1 threads for group Thread Group. Ramp up = 1.
2005/12/21 14:28:50 INFO  - jmeter.engine.StandardJMeterEngine: Continue
on error
2005/12/21 14:28:50 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-1 started
2005/12/21 14:28:51 ERROR - jmeter.reporters.ResultCollector:
java.lang.NullPointerException
        at
com.thoughtworks.xstream.io.xml.PrettyPrintWriter.writeAttributeValue(PrettyPrintWriter.java:85)
        at
com.thoughtworks.xstream.io.xml.PrettyPrintWriter.addAttribute(PrettyPrintWriter.java:80)
        at
com.thoughtworks.xstream.io.WriterWrapper.addAttribute(WriterWrapper.java:25)
        at
org.apache.jmeter.save.converters.SampleResultConverter.setAttributes(SampleResultConverter.java:225)
        at
org.apache.jmeter.protocol.http.util.HTTPResultConverter.marshal(HTTPResultConverter.java:76)
        at
com.thoughtworks.xstream.core.ReferenceByXPathMarshaller.convertAnother(ReferenceByXPathMarshaller.java:36)
        at
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:68)
        at
org.apache.jmeter.save.converters.SampleResultConverter.saveSubResults(SampleResultConverter.java:180)
        at
org.apache.jmeter.protocol.http.util.HTTPResultConverter.marshal(HTTPResultConverter.java:78)
        at
com.thoughtworks.xstream.core.ReferenceByXPathMarshaller.convertAnother(ReferenceByXPathMarshaller.java:36)
        at
com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:46)
        at
com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.marshal(ReferenceByXPathMarshallingStrategy.java:17)
        at com.thoughtworks.xstream.XStream.marshal(XStream.java:461)
        at com.thoughtworks.xstream.XStream.marshal(XStream.java:451)
        at com.thoughtworks.xstream.XStream.toXML(XStream.java:443)
        at
org.apache.jmeter.save.SaveService.saveSampleResult(SaveService.java:231)
        at
org.apache.jmeter.reporters.ResultCollector.recordResult(ResultCollector.java:412)
        at
org.apache.jmeter.reporters.ResultCollector.sampleOccurred(ResultCollector.java:390)
        at
org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:225)
        at
org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:467)
        at
org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:258)
        at java.lang.Thread.run(Thread.java:595)

2005/12/21 14:28:51 ERROR - jmeter.reporters.ResultCollector:
java.lang.NullPointerException
        at
com.thoughtworks.xstream.io.xml.PrettyPrintWriter.writeAttributeValue(PrettyPrintWriter.java:85)
        at
com.thoughtworks.xstream.io.xml.PrettyPrintWriter.addAttribute(PrettyPrintWriter.java:80)
        at
com.thoughtworks.xstream.io.WriterWrapper.addAttribute(WriterWrapper.java:25)
        at
org.apache.jmeter.save.converters.SampleResultConverter.setAttributes(SampleResultConverter.java:225)
        at
org.apache.jmeter.protocol.http.util.HTTPResultConverter.marshal(HTTPResultConverter.java:76)
        at
com.thoughtworks.xstream.core.ReferenceByXPathMarshaller.convertAnother(ReferenceByXPathMarshaller.java:36)
        at
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:68)
        at
org.apache.jmeter.save.converters.SampleResultConverter.saveSubResults(SampleResultConverter.java:180)
        at
org.apache.jmeter.protocol.http.util.HTTPResultConverter.marshal(HTTPResultConverter.java:78)
        at
com.thoughtworks.xstream.core.ReferenceByXPathMarshaller.convertAnother(ReferenceByXPathMarshaller.java:36)
        at
com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:46)
        at
com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.marshal(ReferenceByXPathMarshallingStrategy.java:17)
        at com.thoughtworks.xstream.XStream.marshal(XStream.java:461)
        at com.thoughtworks.xstream.XStream.marshal(XStream.java:451)
        at com.thoughtworks.xstream.XStream.toXML(XStream.java:443)
        at
org.apache.jmeter.save.SaveService.saveSampleResult(SaveService.java:231)
        at
org.apache.jmeter.reporters.ResultCollector.recordResult(ResultCollector.java:412)
        at
org.apache.jmeter.reporters.ResultCollector.sampleOccurred(ResultCollector.java:390)
        at
org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:225)
        at
org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:467)
        at
org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:258)
        at java.lang.Thread.run(Thread.java:595)

2005/12/21 14:28:51 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-1 is done
2005/12/21 14:28:51 INFO  - jmeter.engine.StandardJMeterEngine: Ending
thread 0
2005/12/21 14:28:51 INFO  - jmeter.engine.StandardJMeterEngine: Stopping
test
2005/12/21 14:28:51 INFO  - jmeter.engine.StandardJMeterEngine:
Notifying test listeners of end of test
2005/12/21 14:28:51 INFO  - jmeter.gui.util.JMeterMenuBar:
setRunning(false,local)
2005/12/21 14:28:51 INFO  - jmeter.engine.StandardJMeterEngine: Test has
ended





On Mon, 2005-12-19 at 11:56 +0100, Morten Kristiansen wrote:
> Have you looked at this? If I run this in GUI with a listener, it all
> seems to work fine. If I print the result to file, either from GUI or
> non-GUI, several samplers are not printed to file. Any idea what it
> might be?
> 
> Morten
> email message attachment, "Forwarded message - Re: Broken
> functionallity?"
> > -------- Forwarded Message --------
> > From: Morten Kristiansen <morten.kristiansen@tracetracker.com>
> > Reply-To: morten.kristiansen@tracetracker.com
> > To: JMeter Users List <jmeter-user@jakarta.apache.org>
> > Subject: Re: Broken functionallity?
> > Date: Mon, 19 Dec 2005 09:34:15 +0100
> > 
> > Have anyone looked at this issue?
> > 
> > Morten
> > 
> > On Fri, 2005-12-16 at 15:59 +0100, Morten Kristiansen wrote:
> > > After Sebb fixed a bug for me (adding
> > > "jmeter.save.saveservice.requestHeaders" amongst other properties), I
> > > downloaded a nightly build of JMeter. Now it seems like there are some
> > > data that are not printed to file (both using Filename in GUI and with
> > > the file option set in headless mode). If I have a HTTP sampler that
> > > results in a redirect (And I have Follow redirects checked), the
> > > redirects are not printed to file. I would guess that the property
> > > "jmeter.save.saveservice.subresults" is the one controlling this. It
> > > states that this is "true" as default, but still the results are not
> > > present in ouput file. Anyone?
> > > 
> > > Morten
> > > 
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> > > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> > 

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message