Log in to follow, share, and participate in this community.
Thread BMUnit against a remote JVM
BMUnit against a remote JVMHi, I would like to test an application that is already running in another JVM with BMUnit. I see that it is possible to specify a host:port in the @BMUnitConfig annotation, but I dont understand the details. ...
Invalid stack height compiler errorHello Byteman I'm using a set of rules to examine thread pool usage in Wildfly. The same ruleset compiles and executes on Wildfly when running locally, but fails to pass a type check when running on a re...
Shared state across rule executionsHello Byteman I have a set of rules which need to share state - one rule has access to some arbitrary state during its execution and another rule needs that state. For example, when creating a thread ...
Accessing classes behind field interfacesHello Andrew If class A has an instance variable b of type class B, I can access the variable b in a rule triggered by a method in A like this:
RULE test
CLASS A
METHOD <init>
AT EXIT
BIND
...
Thread problems with org.jboss.as package names in Wildfly
problems with org.jboss.as package names in WildflyHello Byteman support I'm writing rules which are loaded into a Wildfly 10 server at startup using the following JVM parameters: "-Dorg.jboss.byteman.verbose -Dorg.jboss.byteman.transform.all -Dorg.jbo...
Thread not able to find issue from bmcheck script output...
not able to find issue from bmcheck script output...Hi, I am trying to inject fault in a long running java application. The rule file (test.btm) contains the following: #============================================================== # Throwing Except...
Will AT THROW catch Throwable BlockHi, In one of the code i see the following catch block: } catch (SomeException e) { ..................... } catch (Throwable ex) { log.error("Unknown exception occured ...........", ex...
Thread How to modify instance variables with Byteman
How to modify instance variables with BytemanHere is sample java code: public enum TestCode { INTERNAL_SERVER_ERROR(""), SOME_FAILURE("Unknown Error"); private final String message; private ...
Trying to read synchronized blockHello guys! Please, somebody help me to understand what is going on.. RULE trace modifyTest entry CLASS br.modify.TestModify METHOD programar AT ENTRY IF true DO traceln("Test..") E...
Thread Trying to read local variables (Urgent Problem)
Trying to read local variables (Urgent Problem)Hello guys, I have byteman 3.0 trying to read local variables on my project (STRUTS, JAVA 6) running on JBOSS EAP 6.3. I did these steps: Standalone.sh JAVA_OPTS="${JAVA_OP...
VerifyErrorHello, I am getting VerifyError after running bmsubmit. Byteman 3.0.2-SNAPSHOT wildfly-8.2.0.Final source code: https://github.com/wildfly/wildfly/blob/8.x/ejb3/src/main/java/org/jboss/as/ejb3/component/statef...
Rule throws java.lang.ClassCastExceptionHi, one of my rules throws java.lang.ClassCastException when it is triggered. Byteman 3.0.2-SNAPSHOT wildfly-8.2.0.Final source code: https://github.com/wildfly/wildfly/blob/8.x/ejb3/src/main/java/org/jboss/as...
Loading external helperHi, i'm trying to use own helper class with latest EAP started with arquillian. but when rule is triggered, I always get org.jboss.byteman.rule.exception.TypeException: Rule.typecheck : unknown helper class org.jboss...
No matching injection point for method ...Hi, I am continuing in discussion about problems in try - catch - finally block, see Unexpected behavior in TRY-CATCH-FINALLY I have another problem with "no matching injection point for method" in rules whic...
AFTER WRITE - NullPointerExceptionHello, I reported one issue (the first one in Unexpected behavior in TRY-CATCH-FINALLY) with AFTER WRITE location specifier which throws NullPointerException after compilation. I have same problem, but I am not sure...
Unexpected behavior in TRY-CATCH-FINALLYHi, I am using Byteman in try-catch-finally block and something does not work as I would expect. Byteman 3.0.1 wildfly-8.2.0.Final, resteasy version 3.0.10.Final: source code: https://github.com/RadekKoubsky/bytema...