ContextNotActiveException fired from
AppScope/NormalScopedBeanInterceptorHandler when a proxied object finalized
----------------------------------------------------------------------------------------------------------------
Key: OWB-366
URL: https://issues.apache.org/jira/browse/OWB-366
Project: OpenWebBeans
Issue Type: Bug
Components: Interceptor and Decorators
Affects Versions: M4
Reporter: YING WANG
Assignee: YING WANG
Priority: Minor
Whenever a proxied object recycled by JVM, ContextNotActiveException will be
fired from:
BeanManagerImpl.getContext(Class<Annotation>) line: 300
NormalScopedBeanInterceptorHandler.getContextualInstance() line: 105
NormalScopedBeanInterceptorHandler.invoke(Object, Method, Method, Object[])
line: 75
ConversationImpl_$$_javassist_1.finalize() line: not available [local variables
unavailable]
J9VMInternals.runFinalize(Object) line: 412
We should directly invoke real object's finalize( ) since:
it is not meaningful to find context in for finalize method;
we do not know when jvm will invoke it;
and it is out of concept of any scope.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.