You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Noel O'Brien <no...@newbay.com> on 2009/05/26 15:09:22 UTC

Re: StackOverflowError

Hi, 

I find it hard to reproduce with a simple test plan, but I'll try to put something together that will reproduce the issue 

Regards, 
Noel 

----- Original Message ----- 
From: "sebb" <se...@gmail.com> 
To: "JMeter Users List" <jm...@jakarta.apache.org> 
Sent: Tuesday, 26 May, 2009 12:21:38 GMT +00:00 GMT Britain, Ireland, Portugal 
Subject: Re: Stac 

On 25/05/2009, Noel O'Brien <no...@newbay.com> wrote: 
> Hi All, 
> 
> I'm using JMeter (2.3.2) to simulate a traffic model for our application (server) based on the traffic that our client generates. I used the JMeter proxy to sniff the traffic and then to make it more realistic I re-organised the captured samples into a series or Random and Throughput controllers. This works fine until the point in the test plan where the random/throuput controller come into play nad the the following happens, halting the test: 
> 
> 2009/05/25 16:07:54 ERROR - jmeter.threads.JMeterThread: Test failed! java.lang.StackOverflowError 
> at java.util.HashMap.getEntry(HashMap.java:344) 
> at java.util.LinkedHashMap.get(LinkedHashMap.java:280) 
> at java.util.Collections$SynchronizedMap.get(Collections.java:1975) 
> at org.apache.jmeter.testelement.AbstractTestElement.getProperty(AbstractTestElement.java:140) 
> at org.apache.jmeter.testelement.AbstractTestElement.getPropertyAsInt(AbstractTestElement.java:183) 
> at org.apache.jmeter.control.ThroughputController.getStyle(ThroughputController.java:109) 
> at org.apache.jmeter.control.ThroughputController.isDone(ThroughputController.java:207) 
> at org.apache.jmeter.control.InterleaveControl.currentReturnedNull(InterleaveControl.java:153) 
> at org.apache.jmeter.control.InterleaveControl.nextIsAController(InterleaveControl.java:94) 
> at org.apache.jmeter.control.GenericController.next(GenericController.java:146) 
> at org.apache.jmeter.control.InterleaveControl.next(InterleaveControl.java:83) 
> at org.apache.jmeter.control.InterleaveControl.nextIsAController(InterleaveControl.java:95) 
> at org.apache.jmeter.control.GenericController.next(GenericController.java:146) 
> at org.apache.jmeter.control.InterleaveControl.next(InterleaveControl.java:83) 
> at org.apache.jmeter.control.InterleaveControl.nextIsAController(InterleaveControl.java:95) 
> at org.apache.jmeter.control.GenericController.next(GenericController.java:146) 
> at org.apache.jmeter.control.InterleaveControl.next(InterleaveControl.java:83) 
> at org.apache.jmeter.control.InterleaveControl.nextIsAController(InterleaveControl.java:95) 
> 
> 
> Has anyone seen this before? If so what's causing it and is thete a way to work around it? I've tries the test plan with 2.3.3 also, but the same thing happens 
> 

It's not been reported before, as far as I know. 

Could you create a Bugzilla issue for it? 
Please attach a (simple) test plan that exibits the behaiour, and the 
log from running it. 

Thanks. 

> -- 
> Regards, 
> 
> Noel 
> 

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



-- 
Regards, 
Noel 

Re: StackOverflowError

Posted by sebb <se...@gmail.com>.
OK, that could be added later.

Meanwhile, perhaps you can use the extras/schematic.* files to
generate a summary of the test plan that fails and attach that.
[There's no schematic.sh version, but it should be obvious what to do
if you are not using Windows].

On 26/05/2009, Noel O'Brien <no...@newbay.com> wrote:
> Hi,
>
>  I find it hard to reproduce with a simple test plan, but I'll try to put something together that will reproduce the issue
>
>  Regards,
>  Noel
>
>  ----- Original Message -----
>  From: "sebb" <se...@gmail.com>
>  To: "JMeter Users List" <jm...@jakarta.apache.org>
>  Sent: Tuesday, 26 May, 2009 12:21:38 GMT +00:00 GMT Britain, Ireland, Portugal
>  Subject: Re: Stac
>
>  On 25/05/2009, Noel O'Brien <no...@newbay.com> wrote:
>  > Hi All,
>  >
>  > I'm using JMeter (2.3.2) to simulate a traffic model for our application (server) based on the traffic that our client generates. I used the JMeter proxy to sniff the traffic and then to make it more realistic I re-organised the captured samples into a series or Random and Throughput controllers. This works fine until the point in the test plan where the random/throuput controller come into play nad the the following happens, halting the test:
>  >
>  > 2009/05/25 16:07:54 ERROR - jmeter.threads.JMeterThread: Test failed! java.lang.StackOverflowError
>  > at java.util.HashMap.getEntry(HashMap.java:344)
>  > at java.util.LinkedHashMap.get(LinkedHashMap.java:280)
>  > at java.util.Collections$SynchronizedMap.get(Collections.java:1975)
>  > at org.apache.jmeter.testelement.AbstractTestElement.getProperty(AbstractTestElement.java:140)
>  > at org.apache.jmeter.testelement.AbstractTestElement.getPropertyAsInt(AbstractTestElement.java:183)
>  > at org.apache.jmeter.control.ThroughputController.getStyle(ThroughputController.java:109)
>  > at org.apache.jmeter.control.ThroughputController.isDone(ThroughputController.java:207)
>  > at org.apache.jmeter.control.InterleaveControl.currentReturnedNull(InterleaveControl.java:153)
>  > at org.apache.jmeter.control.InterleaveControl.nextIsAController(InterleaveControl.java:94)
>  > at org.apache.jmeter.control.GenericController.next(GenericController.java:146)
>  > at org.apache.jmeter.control.InterleaveControl.next(InterleaveControl.java:83)
>  > at org.apache.jmeter.control.InterleaveControl.nextIsAController(InterleaveControl.java:95)
>  > at org.apache.jmeter.control.GenericController.next(GenericController.java:146)
>  > at org.apache.jmeter.control.InterleaveControl.next(InterleaveControl.java:83)
>  > at org.apache.jmeter.control.InterleaveControl.nextIsAController(InterleaveControl.java:95)
>  > at org.apache.jmeter.control.GenericController.next(GenericController.java:146)
>  > at org.apache.jmeter.control.InterleaveControl.next(InterleaveControl.java:83)
>  > at org.apache.jmeter.control.InterleaveControl.nextIsAController(InterleaveControl.java:95)
>  >
>  >
>  > Has anyone seen this before? If so what's causing it and is thete a way to work around it? I've tries the test plan with 2.3.3 also, but the same thing happens
>  >
>
>  It's not been reported before, as far as I know.
>
>  Could you create a Bugzilla issue for it?
>  Please attach a (simple) test plan that exibits the behaiour, and the
>  log from running it.
>
>  Thanks.
>
>  > --
>  > Regards,
>  >
>  > Noel
>  >
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
>
>  --
>  Regards,
>
> Noel
>

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