ASF Bugzilla – Attachment 27478 Details for
Bug 50618
Stack overflow on Generic Controller when IfController is used
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
First patch to catch StackOverFlowError
bug_50618_patch1.patch (text/plain), 895 bytes, created by
Milamber
on 2011-09-09 18:18:47 UTC
(
hide
)
Description:
First patch to catch StackOverFlowError
Filename:
MIME Type:
Creator:
Milamber
Created:
2011-09-09 18:18:47 UTC
Size:
895 bytes
patch
obsolete
>Index: src/core/org/apache/jmeter/control/GenericController.java >=================================================================== >--- src/core/org/apache/jmeter/control/GenericController.java (revision 1166154) >+++ src/core/org/apache/jmeter/control/GenericController.java (working copy) >@@ -181,7 +181,14 @@ > * @throws NextIsNullException > */ > protected Sampler nextIsAController(Controller controller) throws NextIsNullException { >- Sampler sampler = controller.next(); >+ Sampler sampler = null; >+ try { >+ sampler = controller.next(); >+ } catch (StackOverflowError soe) { >+ // Special case: see Bug 50618 >+ log.info("StackOverflowError detected"); >+ throw new NextIsNullException(); >+ } > if (sampler == null) { > currentReturnedNull(controller); > sampler = next(); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 50618
:
26516
|
26522
|
26527
|
26528
|
26529
|
26539
| 27478 |
27488