[jira] [Commented] (DELTASPIKE-391) Memory Leak in Data Module

2013-07-22 Thread Thomas Hug (JIRA)

[ 
https://issues.apache.org/jira/browse/DELTASPIKE-391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13715567#comment-13715567
 ] 

Thomas Hug commented on DELTASPIKE-391:
---

Thanks Daniel for the note - wasn't aware that a PartialBeans InvocationHandler 
doesn't have to be normal scoped anymore. Removed it from application scope, 
which should fix the worst part. Still have to check on the @Inject 
Instance<>s, probably replace them with creation by the BeanManager and do a 
programmatic destroy.

> Memory Leak in Data Module
> --
>
> Key: DELTASPIKE-391
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-391
> Project: DeltaSpike
>  Issue Type: Bug
>  Components: Data-Module
>Affects Versions: 0.5
>Reporter: Thomas Hug
>Assignee: Thomas Hug
>Priority: Critical
> Fix For: 0.6
>
>
> Might be a side effect from moving QueryHandler to application scope. Several 
> beans injected over Instance<> are not cleaned up properly (probably handled 
> as dependent). Will do some further analysis.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (DELTASPIKE-397) MessageBundleInvocationHandler should ignore methods like hashCode() etc from Object.class

2013-07-22 Thread Mark Struberg (JIRA)

 [ 
https://issues.apache.org/jira/browse/DELTASPIKE-397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Struberg resolved DELTASPIKE-397.
--

Resolution: Fixed

I've now implemented a solution which at least doesn't crash anymore. For 
better info on toString() etc we might need to tweak a bit more.

> MessageBundleInvocationHandler should ignore methods like hashCode() etc from 
> Object.class
> --
>
> Key: DELTASPIKE-397
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-397
> Project: DeltaSpike
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 0.4
>Reporter: Mark Struberg
>Assignee: Mark Struberg
> Fix For: 0.5
>
>
> During application shutdown some containers invoke hashCode() on the Beans. 
> This cause ugly Exceptions at this time.
> We should generally exclude methods like toString(), hashCode(), etc from the 
> message handling.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (DELTASPIKE-397) MessageBundleInvocationHandler should ignore methods like hashCode() etc from Object.class

2013-07-22 Thread Mark Struberg (JIRA)
Mark Struberg created DELTASPIKE-397:


 Summary: MessageBundleInvocationHandler should ignore methods like 
hashCode() etc from Object.class
 Key: DELTASPIKE-397
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-397
 Project: DeltaSpike
  Issue Type: Bug
  Components: Core
Affects Versions: 0.4
Reporter: Mark Struberg
Assignee: Mark Struberg
 Fix For: 0.5


During application shutdown some containers invoke hashCode() on the Beans. 
This cause ugly Exceptions at this time.

We should generally exclude methods like toString(), hashCode(), etc from the 
message handling.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira