You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "YING WANG (JIRA)" <ji...@apache.org> on 2010/04/30 17:42:54 UTC
[jira] Created: (OWB-366) ContextNotActiveException fired from
AppScope/NormalScopedBeanInterceptorHandler when a proxied object finalized
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.
[jira] Closed: (OWB-366) ContextNotActiveException fired from
AppScope/NormalScopedBeanInterceptorHandler when a proxied object finalized
Posted by "YING WANG (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OWB-366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
YING WANG closed OWB-366.
-------------------------
Fix Version/s: 1.0.0
Resolution: Fixed
> 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
> Fix For: 1.0.0
>
>
> 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.