You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2020/07/25 20:35:10 UTC

[Bug 64585] JSON Assertion: Using "Match as regular expression" on negated classes leads to stackoverflow

https://bz.apache.org/bugzilla/show_bug.cgi?id=64585

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
            Summary|JSON Assertion Regex crash  |JSON Assertion: Using
                   |on negated classes          |"Match as regular
                   |                            |expression" on negated
                   |                            |classes leads to
                   |                            |stackoverflow

--- Comment #4 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Stacktrace:

2020-07-25 22:33:23,425 ERROR o.a.j.JMeter: Uncaught exception in thread
Thread[MainThreadGroup 1-1,6,main]
java.lang.StackOverflowError: null
        at org.apache.oro.text.regex.Perl5Matcher.__matchUnicodeClass(Unknown
Source) ~[oro-2.0.8.jar:?]
        at org.apache.oro.text.regex.Perl5Matcher.__match(Unknown Source)
~[oro-2.0.8.jar:?]
        at org.apache.oro.text.regex.Perl5Matcher.__match(Unknown Source)
~[oro-2.0.8.jar:?]
...
        at org.apache.oro.text.regex.Perl5Matcher.__match(Unknown Source)
~[oro-2.0.8.jar:?]
        at org.apache.oro.text.regex.Perl5Matcher.__tryExpression(Unknown
Source) ~[oro-2.0.8.jar:?]
        at org.apache.oro.text.regex.Perl5Matcher.matches(Unknown Source)
~[oro-2.0.8.jar:?]
        at org.apache.oro.text.regex.Perl5Matcher.matches(Unknown Source)
~[oro-2.0.8.jar:?]
        at
org.apache.jmeter.assertions.JSONPathAssertion.isEquals(JSONPathAssertion.java:159)
~[ApacheJMeter_components.jar:5.3.1-SNAPSHOT]
        at
org.apache.jmeter.assertions.JSONPathAssertion.arrayMatched(JSONPathAssertion.java:152)
~[ApacheJMeter_components.jar:5.3.1-SNAPSHOT]
        at
org.apache.jmeter.assertions.JSONPathAssertion.doAssert(JSONPathAssertion.java:117)
~[ApacheJMeter_components.jar:5.3.1-SNAPSHOT]
        at
org.apache.jmeter.assertions.JSONPathAssertion.getResult(JSONPathAssertion.java:178)
~[ApacheJMeter_components.jar:5.3.1-SNAPSHOT]
        at
org.apache.jmeter.threads.JMeterThread.processAssertion(JMeterThread.java:928)
~[ApacheJMeter_core.jar:5.3.1-SNAPSHOT]
        at
org.apache.jmeter.threads.JMeterThread.checkAssertions(JMeterThread.java:897)
~[ApacheJMeter_core.jar:5.3.1-SNAPSHOT]
        at
org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:574)
~[ApacheJMeter_core.jar:5.3.1-SNAPSHOT]
        at
org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:489)
~[ApacheJMeter_core.jar:5.3.1-SNAPSHOT]
        at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:256)
~[ApacheJMeter_core.jar:5.3.1-SNAPSHOT]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_201]

-- 
You are receiving this mail because:
You are the assignee for the bug.