Return-Path: X-Original-To: apmail-jmeter-user-archive@www.apache.org Delivered-To: apmail-jmeter-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 092C517F6D for ; Sun, 26 Apr 2015 21:00:37 +0000 (UTC) Received: (qmail 91165 invoked by uid 500); 26 Apr 2015 21:00:36 -0000 Delivered-To: apmail-jmeter-user-archive@jmeter.apache.org Received: (qmail 91132 invoked by uid 500); 26 Apr 2015 21:00:36 -0000 Mailing-List: contact user-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "JMeter Users List" Delivered-To: mailing list user@jmeter.apache.org Received: (qmail 91121 invoked by uid 99); 26 Apr 2015 21:00:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Apr 2015 21:00:36 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: local policy) Received: from [54.191.145.13] (HELO mx1-us-west.apache.org) (54.191.145.13) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Apr 2015 21:00:29 +0000 Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id DED8420BB7 for ; Sun, 26 Apr 2015 20:59:47 +0000 (UTC) Received: by widdi4 with SMTP id di4so70157819wid.0 for ; Sun, 26 Apr 2015 13:59:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=24wblHVENwGipIgdinxeA5a9bBsDFqZAlgNdkCz2chw=; b=b6/wifQiFsFKmecOTHYO6hKm0Bc/JcuK/llxg066G6Zx+RnZV0zelBTUjcyQmVcm6o 53I+rgEFDmNso+2HHDiMt5l+sHnSRKr4t/JIfvVMhFiLf8eNigaAoZwkzICnGj9ag93G KbM8p+KaaT8SmwaCz+UaiRDlbrENxEdlIdNyGydIPDAk75e8HVCUeq3Pj0gmuW/+u4Kc Klc/fs1xxv+tpZLwbTThBcfAxH7WJgxAd5XqTXQsWkOLZFIR6OqP0osdu4qwRthVCy6t 3DYJROITUBQzDy2g0g2r0SgqwS3vtfqiwKVodV25Z80WZav/asQT4iOH0luV9IOXEv0R xvOw== X-Gm-Message-State: ALoCoQn+mUPSW8VKMqe8hWVjSQW/tnZEha4XHxgYpzdHmxEiPrON6m+raxzhd3CKu7xqnHuubeKs X-Received: by 10.180.88.99 with SMTP id bf3mr14932261wib.75.1430081980275; Sun, 26 Apr 2015 13:59:40 -0700 (PDT) Received: from [192.168.254.104] (dynamic-adsl-84-221-67-122.clienti.tiscali.it. [84.221.67.122]) by mx.google.com with ESMTPSA id 14sm26523069wjv.0.2015.04.26.13.59.37 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 Apr 2015 13:59:39 -0700 (PDT) Message-ID: <553D51B2.8060104@bosoconsulting.it> Date: Sun, 26 Apr 2015 22:59:30 +0200 From: Sergio Boso User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: JMeter Users List Subject: Re: Jmeter error: jmeter.samplers.SampleResult: sampleEnd called twice java.lang.Throwable: Invalid call sequence References: <553CAD2F.9040100@bosoconsulting.it> <553CC6F5.1020200@internetallee.de> <553CD292.9010806@internetallee.de> In-Reply-To: <553CD292.9010806@internetallee.de> Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Felix, thank you for your super fast reply. Tomorrow I will download the nightly fix and give you a feedback, maybe the same day. Thank you and best regards Sergio Il 26/04/2015 13.57, Felix Schumacher ha scritto: > Am 26.04.2015 um 13:07 schrieb Felix Schumacher: >> Am 26.04.2015 um 11:17 schrieb Sergio Boso: >>> Hi everybody, >>> >>> in a rather large test environment, I'm facing the following error: >>> >>> 2015/04/24 16:44:47 ERROR - jmeter.samplers.SampleResult: sampleEnd called twice java.lang.Throwable: Invalid call sequence >>> at org.apache.jmeter.samplers.SampleResult.sampleEnd(SampleResult.java:1064) >>> at org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:421) >> This is in a catch-Block when a RuntimeException was thrown. It will try to set the sample endtime, which can be set previously >> in line 355. >> >> The exception would be logged one line later in line 422, but we will of course not get there. So the first thing I will do, is >> to swap the log line and the sample end call. That way you should be able to see the reason for the RuntimeException. >> >> If you want to try the patch yourself, I will (try to) attach it to this mail. >> >> After that I will try to fix the double setting of the sample end. > Should be fixed in the next nightly and release. I have created an issue at > > https://bz.apache.org/bugzilla/show_bug.cgi?id=57858. > > It would be nice, if you could test it and give feedback. To see the exceptions that caused the double call, you might want to > enable debug logging on org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl in bin/user.properties. > > Regards > Felix >> >> Regards >> Felix >> >>> at org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:74) >>> at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1146) >>> at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1135) >>> at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:434) >>> at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:261) >>> at java.lang.Thread.run(Unknown Source) >>> >>> in the sample result field, I get the following message: >>> Non HTTP response code: java.lang.IllegalArgumentException >>> >>> _Environment information:_ >>> - Jmeter 2.13, r1665067 >>> - distributed environment, 4 slaves, with Windows 2012: the error is evenly distributed >>> - the master just harvests results, non GUI mode >>> - JVM: >>> java version "1.7.0_55" >>> Java(TM) SE Runtime Environment (build 1.7.0_55-b13) >>> Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode) >>> >>> Other info: >>> >>> * this does *not* happen when running a single thread >>> * this happens only on a specific sampler, error rate is around 10% >>> * the sampler is a pretty simple HTTPS GET operation, Http4 client implementation >>> * I also get several other errors, like 503 and connection exception: global error rate is around 1% >>> >>> The last info brings me to guess that this is induced by a server-side error, however I cannot guess what is going on. >>> Unfortunately, the test is reserved and I cannot share the script and login information. >>> >>> Any though? suggestions? other possible tests to do? >>> >>> Thank you in advance, best regards >>> >>> Sergio >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org >>> For additional commands, e-mail: user-help@jmeter.apache.org >>> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org >> For additional commands, e-mail: user-help@jmeter.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org For additional commands, e-mail: user-help@jmeter.apache.org