No matching injection point for method ...
radek.koubsky Oct 8, 2015 7:34 PMHi,
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 which should be triggered.
NOTE: I use ALL counter because of try - catch - finally block
Byteman 3.0.2-SNAPSHOT
wildfly-8.2.0.Final,
weld-core-impl 2.2.6-FInal
Here is the source code of method:
public Object aroundInvoke(InvocationContext invocation) throws Exception { if (isRequestContextActive()) { return invocation.proceed(); } else { EjbRequestContext requestContext = getEjbRequestContext(); try { requestContext.associate(invocation); requestContext.activate(); try { // An event with qualifier @Initialized(RequestScoped.class) is fired when the request context is initialized getBeanManager().getGlobalLenientObserverNotifier().fireEvent(new Object(), InitializedLiteral.REQUEST); return invocation.proceed(); } finally { requestContext.invalidate(); requestContext.deactivate(); } } finally { requestContext.dissociate(invocation); // An event with qualifier @Destroyed(RequestScoped.class) when the request context is destroyed getBeanManager().getGlobalLenientObserverNotifier().fireEvent(new Object(), DestroyedLiteral.REQUEST); } } }
and rules:
#Log AbstractEJBRequestScopeActivationInterceptor - associate request context RULE logAbstractEJBRequestScopeActivationInterceptor.aroundInvoke.associtateContext CLASS org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor METHOD aroundInvoke(InvocationContext) AT INVOKE org.jboss.weld.context.BoundContext.associate(InvocationContext) IF true DO log($CLASS, "DEBUG", "(Method aroundInvoke) Associating the request context with the storage, storage instance: " + $instance) ENDRULE #Log AbstractEJBRequestScopeActivationInterceptor - activate request context RULE logAbstractEJBRequestScopeActivationInterceptor.aroundInvoke.activateContext CLASS org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor METHOD aroundInvoke(InvocationContext) AT INVOKE org.jboss.weld.context.ManagedContext.activate() IF true DO log($CLASS, "DEBUG", "(Method aroundInvoke) Activating request context.") ENDRULE #Log AbstractEJBRequestScopeActivationInterceptor - invalidate request context RULE logAbstractEJBRequestScopeActivationInterceptor.aroundInvoke.invalidateContext CLASS org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor METHOD aroundInvoke(InvocationContext) AT INVOKE org.jboss.weld.context.ManagedContext.invalidate() ALL IF true DO log($CLASS, "DEBUG", "(Method aroundInvoke) Invalidating the request context as due for destruction when deactivate is called.") ENDRULE #Log AbstractEJBRequestScopeActivationInterceptor - deactivate request context RULE logAbstractEJBRequestScopeActivationInterceptor.aroundInvoke.deactivateContext CLASS org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor METHOD aroundInvoke(InvocationContext) AT INVOKE org.jboss.weld.context.ManagedContext.deactivate() ALL IF true DO log($CLASS, "DEBUG", "(Method aroundInvoke) Deactivating the request context, destroying any instances if the context is invalid.") ENDRULE #Log AbstractEJBRequestScopeActivationInterceptor - dissociate request context RULE logAbstractEJBRequestScopeActivationInterceptor.aroundInvoke.dissociateContext CLASS org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor METHOD aroundInvoke(InvocationContext) AT INVOKE org.jboss.weld.context.BoundContext.dissociate(InvocationContext) ALL IF true DO log($CLASS, "DEBUG", "(Method aroundInvoke) Dissociating the request context from the storage, storage instance: " + $instance + ". Creating an event with qualifier @Destroyed(RequestScoped.class) which is fired when the request context is destroyed.") ENDRULE
When I run bmsubmit, it gives me following result:
# File /home/koubsky/byteman-wildfly-log/rules/ejb.btm line 13
RULE logAbstractEJBRequestScopeActivationInterceptor.aroundInvoke.associtateContext
CLASS org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor
METHOD aroundInvoke(InvocationContext)
HELPER org.jboss.byteman.koubsky.LogHelper
AT INVOKE org.jboss.weld.context.BoundContext.associate(InvocationContext)
IF true
DO log($CLASS, "DEBUG", "(Method aroundInvoke) Associating the request context with the storage, storage instance: " + $instance)
ENDRULE
Transformed in:
loader: ModuleClassLoader for Module "org.jboss.weld.core:main" from local module loader @6dae04e2 (finder: local module finder @3bc2c9af (roots: /home/koubsky/Wildfly8/wildfly-8.2.0.Final/modules,/home/koubsky/Wildfly8/wildfly-8.2.0.Final/modules/system/layers/base))
trigger method: org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(javax.interceptor.InvocationContext) java.lang.Object
threw org.jboss.byteman.rule.exception.TypeWarningException: no matching injection point for method aroundInvoke(javax.interceptor.InvocationContext) java.lang.Object
org.jboss.byteman.rule.exception.TypeWarningException: no matching injection point for method aroundInvoke(javax.interceptor.InvocationContext) java.lang.Object
at org.jboss.byteman.agent.TransformContext.warn(TransformContext.java:243)
at org.jboss.byteman.agent.adapter.RuleCheckMethodAdapter.checkBindings(RuleCheckMethodAdapter.java:71)
at org.jboss.byteman.agent.adapter.RuleCheckMethodAdapter.visitEnd(RuleCheckMethodAdapter.java:212)
at org.jboss.byteman.objectweb.asm.ClassReader.b(Unknown Source)
at org.jboss.byteman.objectweb.asm.ClassReader.accept(Unknown Source)
at org.jboss.byteman.objectweb.asm.ClassReader.accept(Unknown Source)
at org.jboss.byteman.agent.TransformContext.transform(TransformContext.java:121)
at org.jboss.byteman.agent.Transformer.transform(Transformer.java:746)
at org.jboss.byteman.agent.Transformer.tryTransform(Transformer.java:814)
at org.jboss.byteman.agent.Transformer.tryTransform(Transformer.java:785)
at org.jboss.byteman.agent.Transformer.transform(Transformer.java:257)
at sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:424)
at sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
at sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:144)
at org.jboss.byteman.agent.Retransformer.installScript(Retransformer.java:144)
at org.jboss.byteman.agent.TransformListener.handleScripts(TransformListener.java:349)
at org.jboss.byteman.agent.TransformListener.loadScripts(TransformListener.java:272)
at org.jboss.byteman.agent.TransformListener.handleConnection(TransformListener.java:225)
at org.jboss.byteman.agent.TransformListener.run(TransformListener.java:158)
Transformed in:
loader: ModuleClassLoader for Module "org.jboss.weld.core:main" from local module loader @6dae04e2 (finder: local module finder @3bc2c9af (roots: /home/koubsky/Wildfly8/wildfly-8.2.0.Final/modules,/home/koubsky/Wildfly8/wildfly-8.2.0.Final/modules/system/layers/base))
trigger class: org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor
threw org.jboss.byteman.rule.exception.TypeWarningException: failed to find any matching trigger method in class org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor
org.jboss.byteman.rule.exception.TypeWarningException: failed to find any matching trigger method in class org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor
at org.jboss.byteman.agent.TransformContext.notifyRules(TransformContext.java:326)
at org.jboss.byteman.agent.TransformContext.transform(TransformContext.java:169)
at org.jboss.byteman.agent.Transformer.transform(Transformer.java:746)
at org.jboss.byteman.agent.Transformer.tryTransform(Transformer.java:814)
at org.jboss.byteman.agent.Transformer.tryTransform(Transformer.java:785)
at org.jboss.byteman.agent.Transformer.transform(Transformer.java:257)
at sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:424)
at sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
at sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:144)
at org.jboss.byteman.agent.Retransformer.installScript(Retransformer.java:144)
at org.jboss.byteman.agent.TransformListener.handleScripts(TransformListener.java:349)
at org.jboss.byteman.agent.TransformListener.loadScripts(TransformListener.java:272)
at org.jboss.byteman.agent.TransformListener.handleConnection(TransformListener.java:225)
at org.jboss.byteman.agent.TransformListener.run(TransformListener.java:158)
# File /home/koubsky/byteman-wildfly-log/rules/ejb.btm line 40
RULE logAbstractEJBRequestScopeActivationInterceptor.aroundInvoke.deactivateContext
CLASS org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor
METHOD aroundInvoke(InvocationContext)
HELPER org.jboss.byteman.koubsky.LogHelper
AT INVOKE org.jboss.weld.context.ManagedContext.deactivate() ALL
IF true
DO log($CLASS, "DEBUG", "(Method aroundInvoke) Deactivating the request context, destroying any instances if the context is invalid.")
ENDRULE
Transformed in:
loader: ModuleClassLoader for Module "org.jboss.weld.core:main" from local module loader @6dae04e2 (finder: local module finder @3bc2c9af (roots: /home/koubsky/Wildfly8/wildfly-8.2.0.Final/modules,/home/koubsky/Wildfly8/wildfly-8.2.0.Final/modules/system/layers/base))
trigger method: org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(javax.interceptor.InvocationContext) java.lang.Object
threw org.jboss.byteman.rule.exception.TypeWarningException: no matching injection point for method aroundInvoke(javax.interceptor.InvocationContext) java.lang.Object
org.jboss.byteman.rule.exception.TypeWarningException: no matching injection point for method aroundInvoke(javax.interceptor.InvocationContext) java.lang.Object
at org.jboss.byteman.agent.TransformContext.warn(TransformContext.java:243)
at org.jboss.byteman.agent.adapter.RuleCheckMethodAdapter.checkBindings(RuleCheckMethodAdapter.java:71)
at org.jboss.byteman.agent.adapter.RuleCheckMethodAdapter.visitEnd(RuleCheckMethodAdapter.java:212)
at org.jboss.byteman.objectweb.asm.ClassReader.b(Unknown Source)
at org.jboss.byteman.objectweb.asm.ClassReader.accept(Unknown Source)
at org.jboss.byteman.objectweb.asm.ClassReader.accept(Unknown Source)
at org.jboss.byteman.agent.TransformContext.transform(TransformContext.java:121)
at org.jboss.byteman.agent.Transformer.transform(Transformer.java:746)
at org.jboss.byteman.agent.Transformer.tryTransform(Transformer.java:814)
at org.jboss.byteman.agent.Transformer.tryTransform(Transformer.java:785)
at org.jboss.byteman.agent.Transformer.transform(Transformer.java:257)
at sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:424)
at sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
at sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:144)
at org.jboss.byteman.agent.Retransformer.installScript(Retransformer.java:144)
at org.jboss.byteman.agent.TransformListener.handleScripts(TransformListener.java:349)
at org.jboss.byteman.agent.TransformListener.loadScripts(TransformListener.java:272)
at org.jboss.byteman.agent.TransformListener.handleConnection(TransformListener.java:225)
at org.jboss.byteman.agent.TransformListener.run(TransformListener.java:158)
Transformed in:
loader: ModuleClassLoader for Module "org.jboss.weld.core:main" from local module loader @6dae04e2 (finder: local module finder @3bc2c9af (roots: /home/koubsky/Wildfly8/wildfly-8.2.0.Final/modules,/home/koubsky/Wildfly8/wildfly-8.2.0.Final/modules/system/layers/base))
trigger class: org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor
threw org.jboss.byteman.rule.exception.TypeWarningException: failed to find any matching trigger method in class org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor
org.jboss.byteman.rule.exception.TypeWarningException: failed to find any matching trigger method in class org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor
at org.jboss.byteman.agent.TransformContext.notifyRules(TransformContext.java:326)
at org.jboss.byteman.agent.TransformContext.transform(TransformContext.java:169)
at org.jboss.byteman.agent.Transformer.transform(Transformer.java:746)
at org.jboss.byteman.agent.Transformer.tryTransform(Transformer.java:814)
at org.jboss.byteman.agent.Transformer.tryTransform(Transformer.java:785)
at org.jboss.byteman.agent.Transformer.transform(Transformer.java:257)
at sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:424)
at sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
at sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:144)
at org.jboss.byteman.agent.Retransformer.installScript(Retransformer.java:144)
at org.jboss.byteman.agent.TransformListener.handleScripts(TransformListener.java:349)
at org.jboss.byteman.agent.TransformListener.loadScripts(TransformListener.java:272)
at org.jboss.byteman.agent.TransformListener.handleConnection(TransformListener.java:225)
at org.jboss.byteman.agent.TransformListener.run(TransformListener.java:158)
# File /home/koubsky/byteman-wildfly-log/rules/ejb.btm line 49
RULE logAbstractEJBRequestScopeActivationInterceptor.aroundInvoke.dissociateContext
CLASS org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor
METHOD aroundInvoke(InvocationContext)
HELPER org.jboss.byteman.koubsky.LogHelper
AT INVOKE org.jboss.weld.context.BoundContext.dissociate(InvocationContext) ALL
IF true
DO log($CLASS, "DEBUG", "(Method aroundInvoke) Dissociating the request context from the storage, storage instance: " + $instance +
". Creating an event with qualifier @Destroyed(RequestScoped.class) which is fired when the request context is destroyed.")
ENDRULE
Transformed in:
loader: ModuleClassLoader for Module "org.jboss.weld.core:main" from local module loader @6dae04e2 (finder: local module finder @3bc2c9af (roots: /home/koubsky/Wildfly8/wildfly-8.2.0.Final/modules,/home/koubsky/Wildfly8/wildfly-8.2.0.Final/modules/system/layers/base))
trigger method: org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(javax.interceptor.InvocationContext) java.lang.Object
threw org.jboss.byteman.rule.exception.TypeWarningException: no matching injection point for method aroundInvoke(javax.interceptor.InvocationContext) java.lang.Object
org.jboss.byteman.rule.exception.TypeWarningException: no matching injection point for method aroundInvoke(javax.interceptor.InvocationContext) java.lang.Object
at org.jboss.byteman.agent.TransformContext.warn(TransformContext.java:243)
at org.jboss.byteman.agent.adapter.RuleCheckMethodAdapter.checkBindings(RuleCheckMethodAdapter.java:71)
at org.jboss.byteman.agent.adapter.RuleCheckMethodAdapter.visitEnd(RuleCheckMethodAdapter.java:212)
at org.jboss.byteman.objectweb.asm.ClassReader.b(Unknown Source)
at org.jboss.byteman.objectweb.asm.ClassReader.accept(Unknown Source)
at org.jboss.byteman.objectweb.asm.ClassReader.accept(Unknown Source)
at org.jboss.byteman.agent.TransformContext.transform(TransformContext.java:121)
at org.jboss.byteman.agent.Transformer.transform(Transformer.java:746)
at org.jboss.byteman.agent.Transformer.tryTransform(Transformer.java:814)
at org.jboss.byteman.agent.Transformer.tryTransform(Transformer.java:785)
at org.jboss.byteman.agent.Transformer.transform(Transformer.java:257)
at sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:424)
at sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
at sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:144)
at org.jboss.byteman.agent.Retransformer.installScript(Retransformer.java:144)
at org.jboss.byteman.agent.TransformListener.handleScripts(TransformListener.java:349)
at org.jboss.byteman.agent.TransformListener.loadScripts(TransformListener.java:272)
at org.jboss.byteman.agent.TransformListener.handleConnection(TransformListener.java:225)
at org.jboss.byteman.agent.TransformListener.run(TransformListener.java:158)
Transformed in:
loader: ModuleClassLoader for Module "org.jboss.weld.core:main" from local module loader @6dae04e2 (finder: local module finder @3bc2c9af (roots: /home/koubsky/Wildfly8/wildfly-8.2.0.Final/modules,/home/koubsky/Wildfly8/wildfly-8.2.0.Final/modules/system/layers/base))
trigger class: org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor
threw org.jboss.byteman.rule.exception.TypeWarningException: failed to find any matching trigger method in class org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor
org.jboss.byteman.rule.exception.TypeWarningException: failed to find any matching trigger method in class org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor
at org.jboss.byteman.agent.TransformContext.notifyRules(TransformContext.java:326)
at org.jboss.byteman.agent.TransformContext.transform(TransformContext.java:169)
at org.jboss.byteman.agent.Transformer.transform(Transformer.java:746)
at org.jboss.byteman.agent.Transformer.tryTransform(Transformer.java:814)
at org.jboss.byteman.agent.Transformer.tryTransform(Transformer.java:785)
at org.jboss.byteman.agent.Transformer.transform(Transformer.java:257)
at sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:424)
at sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
at sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:144)
at org.jboss.byteman.agent.Retransformer.installScript(Retransformer.java:144)
at org.jboss.byteman.agent.TransformListener.handleScripts(TransformListener.java:349)
at org.jboss.byteman.agent.TransformListener.loadScripts(TransformListener.java:272)
at org.jboss.byteman.agent.TransformListener.handleConnection(TransformListener.java:225)
at org.jboss.byteman.agent.TransformListener.run(TransformListener.java:158)
# File /home/koubsky/byteman-wildfly-log/rules/ejb.btm line 22
RULE logAbstractEJBRequestScopeActivationInterceptor.aroundInvoke.activateContext
CLASS org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor
METHOD aroundInvoke(InvocationContext)
HELPER org.jboss.byteman.koubsky.LogHelper
AT INVOKE org.jboss.weld.context.ManagedContext.activate()
IF true
DO log($CLASS, "DEBUG", "(Method aroundInvoke) Activating request context.")
ENDRULE
Transformed in:
loader: ModuleClassLoader for Module "org.jboss.weld.core:main" from local module loader @6dae04e2 (finder: local module finder @3bc2c9af (roots: /home/koubsky/Wildfly8/wildfly-8.2.0.Final/modules,/home/koubsky/Wildfly8/wildfly-8.2.0.Final/modules/system/layers/base))
trigger method: org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(javax.interceptor.InvocationContext) java.lang.Object
threw org.jboss.byteman.rule.exception.TypeWarningException: no matching injection point for method aroundInvoke(javax.interceptor.InvocationContext) java.lang.Object
org.jboss.byteman.rule.exception.TypeWarningException: no matching injection point for method aroundInvoke(javax.interceptor.InvocationContext) java.lang.Object
at org.jboss.byteman.agent.TransformContext.warn(TransformContext.java:243)
at org.jboss.byteman.agent.adapter.RuleCheckMethodAdapter.checkBindings(RuleCheckMethodAdapter.java:71)
at org.jboss.byteman.agent.adapter.RuleCheckMethodAdapter.visitEnd(RuleCheckMethodAdapter.java:212)
at org.jboss.byteman.objectweb.asm.ClassReader.b(Unknown Source)
at org.jboss.byteman.objectweb.asm.ClassReader.accept(Unknown Source)
at org.jboss.byteman.objectweb.asm.ClassReader.accept(Unknown Source)
at org.jboss.byteman.agent.TransformContext.transform(TransformContext.java:121)
at org.jboss.byteman.agent.Transformer.transform(Transformer.java:746)
at org.jboss.byteman.agent.Transformer.tryTransform(Transformer.java:814)
at org.jboss.byteman.agent.Transformer.tryTransform(Transformer.java:785)
at org.jboss.byteman.agent.Transformer.transform(Transformer.java:257)
at sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:424)
at sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
at sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:144)
at org.jboss.byteman.agent.Retransformer.installScript(Retransformer.java:144)
at org.jboss.byteman.agent.TransformListener.handleScripts(TransformListener.java:349)
at org.jboss.byteman.agent.TransformListener.loadScripts(TransformListener.java:272)
at org.jboss.byteman.agent.TransformListener.handleConnection(TransformListener.java:225)
at org.jboss.byteman.agent.TransformListener.run(TransformListener.java:158)
Transformed in:
loader: ModuleClassLoader for Module "org.jboss.weld.core:main" from local module loader @6dae04e2 (finder: local module finder @3bc2c9af (roots: /home/koubsky/Wildfly8/wildfly-8.2.0.Final/modules,/home/koubsky/Wildfly8/wildfly-8.2.0.Final/modules/system/layers/base))
trigger class: org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor
threw org.jboss.byteman.rule.exception.TypeWarningException: failed to find any matching trigger method in class org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor
org.jboss.byteman.rule.exception.TypeWarningException: failed to find any matching trigger method in class org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor
at org.jboss.byteman.agent.TransformContext.notifyRules(TransformContext.java:326)
at org.jboss.byteman.agent.TransformContext.transform(TransformContext.java:169)
at org.jboss.byteman.agent.Transformer.transform(Transformer.java:746)
at org.jboss.byteman.agent.Transformer.tryTransform(Transformer.java:814)
at org.jboss.byteman.agent.Transformer.tryTransform(Transformer.java:785)
at org.jboss.byteman.agent.Transformer.transform(Transformer.java:257)
at sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:424)
at sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
at sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:144)
at org.jboss.byteman.agent.Retransformer.installScript(Retransformer.java:144)
at org.jboss.byteman.agent.TransformListener.handleScripts(TransformListener.java:349)
at org.jboss.byteman.agent.TransformListener.loadScripts(TransformListener.java:272)
at org.jboss.byteman.agent.TransformListener.handleConnection(TransformListener.java:225)
at org.jboss.byteman.agent.TransformListener.run(TransformListener.java:158)
# File /home/koubsky/byteman-wildfly-log/rules/ejb.btm line 31
RULE logAbstractEJBRequestScopeActivationInterceptor.aroundInvoke.invalidateContext
CLASS org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor
METHOD aroundInvoke(InvocationContext)
HELPER org.jboss.byteman.koubsky.LogHelper
AT INVOKE org.jboss.weld.context.ManagedContext.invalidate() ALL
IF true
DO log($CLASS, "DEBUG", "(Method aroundInvoke) Invalidating the request context as due for destruction when deactivate is called.")
ENDRULE
Transformed in:
loader: ModuleClassLoader for Module "org.jboss.weld.core:main" from local module loader @6dae04e2 (finder: local module finder @3bc2c9af (roots: /home/koubsky/Wildfly8/wildfly-8.2.0.Final/modules,/home/koubsky/Wildfly8/wildfly-8.2.0.Final/modules/system/layers/base))
trigger method: org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(javax.interceptor.InvocationContext) java.lang.Object
threw org.jboss.byteman.rule.exception.TypeWarningException: no matching injection point for method aroundInvoke(javax.interceptor.InvocationContext) java.lang.Object
org.jboss.byteman.rule.exception.TypeWarningException: no matching injection point for method aroundInvoke(javax.interceptor.InvocationContext) java.lang.Object
at org.jboss.byteman.agent.TransformContext.warn(TransformContext.java:243)
at org.jboss.byteman.agent.adapter.RuleCheckMethodAdapter.checkBindings(RuleCheckMethodAdapter.java:71)
at org.jboss.byteman.agent.adapter.RuleCheckMethodAdapter.visitEnd(RuleCheckMethodAdapter.java:212)
at org.jboss.byteman.objectweb.asm.ClassReader.b(Unknown Source)
at org.jboss.byteman.objectweb.asm.ClassReader.accept(Unknown Source)
at org.jboss.byteman.objectweb.asm.ClassReader.accept(Unknown Source)
at org.jboss.byteman.agent.TransformContext.transform(TransformContext.java:121)
at org.jboss.byteman.agent.Transformer.transform(Transformer.java:746)
at org.jboss.byteman.agent.Transformer.tryTransform(Transformer.java:814)
at org.jboss.byteman.agent.Transformer.tryTransform(Transformer.java:785)
at org.jboss.byteman.agent.Transformer.transform(Transformer.java:257)
at sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:424)
at sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
at sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:144)
at org.jboss.byteman.agent.Retransformer.installScript(Retransformer.java:144)
at org.jboss.byteman.agent.TransformListener.handleScripts(TransformListener.java:349)
at org.jboss.byteman.agent.TransformListener.loadScripts(TransformListener.java:272)
at org.jboss.byteman.agent.TransformListener.handleConnection(TransformListener.java:225)
at org.jboss.byteman.agent.TransformListener.run(TransformListener.java:158)
Transformed in:
loader: ModuleClassLoader for Module "org.jboss.weld.core:main" from local module loader @6dae04e2 (finder: local module finder @3bc2c9af (roots: /home/koubsky/Wildfly8/wildfly-8.2.0.Final/modules,/home/koubsky/Wildfly8/wildfly-8.2.0.Final/modules/system/layers/base))
trigger class: org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor
threw org.jboss.byteman.rule.exception.TypeWarningException: failed to find any matching trigger method in class org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor
org.jboss.byteman.rule.exception.TypeWarningException: failed to find any matching trigger method in class org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor
at org.jboss.byteman.agent.TransformContext.notifyRules(TransformContext.java:326)
at org.jboss.byteman.agent.TransformContext.transform(TransformContext.java:169)
at org.jboss.byteman.agent.Transformer.transform(Transformer.java:746)
at org.jboss.byteman.agent.Transformer.tryTransform(Transformer.java:814)
at org.jboss.byteman.agent.Transformer.tryTransform(Transformer.java:785)
at org.jboss.byteman.agent.Transformer.transform(Transformer.java:257)
at sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:424)
at sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
at sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:144)
at org.jboss.byteman.agent.Retransformer.installScript(Retransformer.java:144)
at org.jboss.byteman.agent.TransformListener.handleScripts(TransformListener.java:349)
at org.jboss.byteman.agent.TransformListener.loadScripts(TransformListener.java:272)
at org.jboss.byteman.agent.TransformListener.handleConnection(TransformListener.java:225)
at org.jboss.byteman.agent.TransformListener.run(TransformListener.java:158)
Thanks for help.