You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by sebb <se...@gmail.com> on 2006/01/01 13:37:56 UTC

Re: [Fwd: Re: Broken functionallity?]

Please raise a Buzilla issue, and attach test plan and jmeter.log

On 21/12/05, Morten Kristiansen <mo...@tracetracker.com> wrote:
>
> 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 <mo...@tracetracker.com>
> > > Reply-To: morten.kristiansen@tracetracker.com
> > > To: JMeter Users List <jm...@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