Log in to follow, share, and participate in this community.
Thread Byteman on JDK13
Byteman on JDK13Hi, I recently attempted to run tests using BMUnit in JDK13 (ea+8). Unfortunately Byteman (4.0.5) seems to fail due to a lack of support for JDK13 in ASM (see below). Are there any plans to add support...
Thread Unable to identify test JVM process during agent load
Unable to identify test JVM process during agent loadI am trying to use ByteMan in fault injection tests, but it does not seem to be well maintained at the moment. For example, when I try to use it with JUnit (using BMUnit library), I get the following error: Unable to ...
Article Checking Your Byteman Rule Scripts Under Maven
Checking Your Byteman Rule Scripts Under MavenWhat does the Byteman rulecheck maven plugin do? Byteman release 2.1.3 introduced a maven plugin which runs the offline rule parser and type checker before executing any of your maven tests. This pluin allows you to b...
A Byteman TutorialWe're Just Getting Started Here . . . This article is a simple tutorial showing you how to get started with Byteman. It explains how to install Byteman and use it to inject side-effects into a simple Java...
Thread NoClassDefFoundError from a class within the same package
NoClassDefFoundError from a class within the same packageHello, I'm having an issue with instrumenting a particular framework using Byteman and I was hoping to get some guidance. The rule: RULE FilterChainBuilder.build
CLASS ^org.glassfish.grizzly.filterchain.Filter...
How to create and access the counters?Hello, I have tried below way of creating and accessing the counters. But, observing the error: threw org.jboss.byteman.rule.exception.ParseException: rule try-counter-1 k_try_count.btm line 8 : invalid expression ...
Thread Lifetime and scope of Helper Classes in Byteman
Lifetime and scope of Helper Classes in BytemanHi team, I was able to put together an injection application after a previous discussion here. Also took your suggestion on getting bootstrap and system helpers to communicate : Alternatively, your bootstra...
Rule.execute for decommissioned keyHi adinn, I'm here with like a dummy question. Unfortunately I'm not even capable to describe it somehow technically. I feel my problem is caused by some random memory swaps or by the mood of my JVM Anyway......
Byteman and JDK 10.0.1Hi, While my test using BMUnit is working nicely on Java 9 it fails on Oracle JDK 10.0.1 with the following error from Surefire : # Created at 2018-06-20T12:08:53.880 Corrupted STDOUT by directly writing to native ...
Thread Rules must be unloaded and reloaded to work
Rules must be unloaded and reloaded to workHey, I'm following the byteman blog at Byteman Blog: Collecting and Displaying Runtime Statistics With Byteman with some modifications to collect some thread related statistics. I'm using byteman 4.0.1 with Wildfly 1...
Installing Byteman agent in remote JVMHi, as part of my master thesis I'm currently investigating Byteman's capabilities to extract data from applications or disrupt their program flow. Further, I hope to find ways how to prevent this. But for now I'm tr...
Byteman on JDK10Hello, our project has been using Byteman 4.0.0 recently and all is working well, even on Java 9. But now we're building on JDK 10 and the rules are no longer applied: [WARNING] Bundled version of ASM cannot...
Thread How rule injection to abstract classes works
How rule injection to abstract classes worksHi adinn, If you have time, I wonder about this: I tried to inject a rule at the abstract class but it does work strangely a bit. I have here three cases where a class extends an abstract class. ...
Thread Thread dump with many threads blocked on getInitiatedClasses
Thread dump with many threads blocked on getInitiatedClassesI have a thread dump from a customer's Tomcat app with 150 threads blocked on calls to sun.instrument.InstrumentationImpl.getInitiatedClasses0(Native Method). The common calls for all of these are as follows: ...