Bug 17737 - jmeter log - java.lang.ArrayIndexOutOfBoundsException
Summary: jmeter log - java.lang.ArrayIndexOutOfBoundsException
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: HTTP (show other bugs)
Version: 1.8.1
Hardware: PC other
: P3 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-06 19:07 UTC by Noris Lee
Modified: 2015-03-26 11:35 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Noris Lee 2003-03-06 19:07:51 UTC
Hi there:

I was running the (non-gui) jmeter - 3 threads and 2000 iterations. I see the 
slowing down as the test progresses. Also I noticed the IndexOutOfBound error 
in the jmeter.log file (see below).

Let me know if you need additional information.

regards,
Noris


...
...
03/06/2003 10:26:15 AM WARN - jmeter.util: ERROR! Resource string not found: 
[running_test] 
03/06/2003 10:29:41 AM WARN - jmeter.protocol.http: Connection timed out: 
connect java.net.ConnectException: Connection timed out: connect
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
	at java.net.Socket.connect(Socket.java:426)
	at java.net.Socket.connect(Socket.java:376)
	at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:386)
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:602)
	at sun.net.www.http.HttpClient.<init>(HttpClient.java:303)
	at sun.net.www.http.HttpClient.<init>(HttpClient.java:264)
	at sun.net.www.http.HttpClient.New(HttpClient.java:336)
	at sun.net.www.http.HttpClient.New(HttpClient.java:317)
	at sun.net.www.http.HttpClient.New(HttpClient.java:312)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect
(HttpURLConnection.java:481)
	at sun.net.www.protocol.http.HttpURLConnection.connect
(HttpURLConnection.java:472)
	at org.apache.jmeter.protocol.http.sampler.HTTPSampler.connect
(HTTPSampler.java:813)
	at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample
(HTTPSampler.java:895)
	at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample
(HTTPSampler.java:380)
	at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:138)
	at java.lang.Thread.run(Thread.java:536)

03/06/2003 10:40:42 AM ERROR - jmeter.engine:  
java.lang.ArrayIndexOutOfBoundsException: 90
	at org.apache.oro.text.regex.Perl5Compiler.__emitNode
(Perl5Compiler.java:338)
	at org.apache.oro.text.regex.Perl5Compiler.__parseAlternation
(Perl5Compiler.java:517)
	at org.apache.oro.text.regex.Perl5Compiler.__parseExpression
(Perl5Compiler.java:1331)
	at org.apache.oro.text.regex.Perl5Compiler.compile
(Perl5Compiler.java:1460)
	at org.apache.oro.text.regex.Perl5Compiler.compile
(Perl5Compiler.java:1731)
	at org.apache.jmeter.assertions.ResponseAssertion.evaluateResponse
(ResponseAssertion.java:294)
	at org.apache.jmeter.assertions.ResponseAssertion.getResult
(ResponseAssertion.java:197)
	at org.apache.jmeter.threads.JMeterThread.checkAssertions
(JMeterThread.java:176)
	at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:141)
	at java.lang.Thread.run(Thread.java:536)

03/06/2003 10:42:23 AM ERROR - jmeter.engine:  
java.lang.ArrayIndexOutOfBoundsException: 13162
	at org.apache.oro.text.regex.Perl5Matcher.__findFirst
(Perl5Matcher.java:119)
	at org.apache.oro.text.regex.Perl5Matcher.__interpret
(Perl5Matcher.java:386)
	at org.apache.oro.text.regex.Perl5Matcher.contains
(Perl5Matcher.java:1620)
	at org.apache.oro.text.regex.Perl5Matcher.contains
(Perl5Matcher.java:1582)
	at org.apache.jmeter.assertions.ResponseAssertion.evaluateResponse
(ResponseAssertion.java:294)
	at org.apache.jmeter.assertions.ResponseAssertion.getResult
(ResponseAssertion.java:197)
	at org.apache.jmeter.threads.JMeterThread.checkAssertions
(JMeterThread.java:176)
	at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:141)
	at java.lang.Thread.run(Thread.java:536)

03/06/2003 10:47:19 AM WARN - jmeter.protocol.http: Connection timed out: 
connect java.net.ConnectException: Connection timed out: connect
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
	at java.net.Socket.connect(Socket.java:426)
	at java.net.Socket.connect(Socket.java:376)
	at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:386)
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:602)
	at sun.net.www.http.HttpClient.<init>(HttpClient.java:303)
	at sun.net.www.http.HttpClient.<init>(HttpClient.java:264)
	at sun.net.www.http.HttpClient.New(HttpClient.java:336)
	at sun.net.www.http.HttpClient.New(HttpClient.java:317)
	at sun.net.www.http.HttpClient.New(HttpClient.java:312)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect
(HttpURLConnection.java:481)
	at sun.net.www.protocol.http.HttpURLConnection.connect
(HttpURLConnection.java:472)
	at org.apache.jmeter.protocol.http.sampler.HTTPSampler.connect
(HTTPSampler.java:813)
	at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample
(HTTPSampler.java:895)
	at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample
(HTTPSampler.java:380)
	at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:138)
	at java.lang.Thread.run(Thread.java:536)

03/06/2003 10:53:23 AM ERROR - jmeter.engine:  
java.lang.ArrayIndexOutOfBoundsException: 7695
	at org.apache.oro.text.regex.Perl5Matcher.__findFirst
(Perl5Matcher.java:119)
	at org.apache.oro.text.regex.Perl5Matcher.__interpret
(Perl5Matcher.java:386)
	at org.apache.oro.text.regex.Perl5Matcher.contains
(Perl5Matcher.java:1620)
	at org.apache.oro.text.regex.Perl5Matcher.contains
(Perl5Matcher.java:1582)
	at org.apache.jmeter.assertions.ResponseAssertion.evaluateResponse
(ResponseAssertion.java:294)
	at org.apache.jmeter.assertions.ResponseAssertion.getResult
(ResponseAssertion.java:197)
	at org.apache.jmeter.threads.JMeterThread.checkAssertions
(JMeterThread.java:176)
	at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:141)
	at java.lang.Thread.run(Thread.java:536)
Comment 1 Mike Stover 2003-04-24 22:21:16 UTC
I suspect this it the non-thread-safe regex stuff that's been fixed in the
latest code.  Can anyone verify?
Comment 2 The ASF infrastructure team 2022-09-24 20:37:29 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/1046