You can subscribe to this list here.
| 2004 | Jan | Feb | Mar | Apr (1) | May (37) | Jun (141) | Jul (111) | Aug (91) | Sep (79) | Oct (151) | Nov (161) | Dec (93) | 
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2005 | Jan (40) | Feb (60) | Mar (43) | Apr (90) | May (31) | Jun (114) | Jul (35) | Aug (112) | Sep (305) | Oct (151) | Nov (122) | Dec (103) | 
| 2006 | Jan (65) | Feb (57) | Mar (475) | Apr (276) | May (482) | Jun (134) | Jul (127) | Aug (188) | Sep (271) | Oct (220) | Nov (74) | Dec (41) | 
| 2007 | Jan (121) | Feb (50) | Mar (36) | Apr (11) | May (31) | Jun (12) | Jul (73) | Aug (41) | Sep (59) | Oct (33) | Nov (60) | Dec (111) | 
| 2008 | Jan (139) | Feb (49) | Mar (87) | Apr (43) | May (10) | Jun (25) | Jul (114) | Aug (17) | Sep (25) | Oct (199) | Nov (94) | Dec (45) | 
| 2009 | Jan (36) | Feb (14) | Mar (29) | Apr (32) | May (49) | Jun (18) | Jul (68) | Aug (34) | Sep (34) | Oct (11) | Nov (10) | Dec (14) | 
| 2010 | Jan (35) | Feb (12) | Mar (23) | Apr (17) | May (4) | Jun (1) | Jul (4) | Aug | Sep (2) | Oct | Nov (10) | Dec | 
| 2011 | Jan (3) | Feb | Mar | Apr | May (3) | Jun | Jul (3) | Aug (1) | Sep | Oct | Nov (1) | Dec (1) | 
| 2012 | Jan (2) | Feb (1) | Mar (8) | Apr (3) | May | Jun | Jul (4) | Aug (3) | Sep (2) | Oct | Nov | Dec | 
| 2013 | Jan (1) | Feb (1) | Mar (1) | Apr (3) | May (4) | Jun (3) | Jul (8) | Aug | Sep (1) | Oct (1) | Nov (3) | Dec (4) | 
| 2014 | Jan (2) | Feb (2) | Mar (3) | Apr (1) | May (5) | Jun (1) | Jul (13) | Aug (2) | Sep (2) | Oct | Nov | Dec | 
| 2015 | Jan (1) | Feb | Mar | Apr (1) | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec | 
| 2017 | Jan | Feb (1) | Mar | Apr (1) | May (1) | Jun | Jul (1) | Aug (4) | Sep (1) | Oct | Nov | Dec | 
| 2018 | Jan | Feb | Mar (15) | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov (1) | Dec | 
| 2019 | Jan | Feb | Mar (3) | Apr | May | Jun | Jul (1) | Aug | Sep | Oct (1) | Nov | Dec | 
| 2020 | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep (6) | Oct | Nov | Dec | 
| 2021 | Jan | Feb | Mar | Apr (1) | May (1) | Jun | Jul | Aug | Sep | Oct | Nov | Dec | 
| 2022 | Jan | Feb (1) | Mar | Apr | May (1) | Jun | Jul | Aug | Sep | Oct | Nov | Dec | 
| 2024 | Jan | Feb (1) | Mar (2) | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec | 
| 2025 | Jan (1) | Feb | Mar (1) | Apr | May | Jun | Jul | Aug (1) | Sep (1) | Oct | Nov | Dec | 
| 
      
      
      From: Thomas F. (JIRA) <no...@sp...> - 2009-09-24 11:42:25
      
     | 
| changing FocusTraversalOrder has no effect if a if TableLayoutBuilder creates cells without components
------------------------------------------------------------------------------------------------------
                 Key: RCP-613
                 URL: https://jira.springsource.org/browse/RCP-613
             Project: Spring Rich Client Project
          Issue Type: Bug
    Affects Versions: 1.1.0
         Environment: Windows XP, Java 1.6.0_16, Mac Os, Java 1.6.0_13
            Reporter: Thomas Fahrmeyer
            Assignee: Lieven Doclo
            Priority: Minor
Using a FocusTraversalOrder set on the TableLayoutBuilder does not behave correctly if the form contains cells with no components. These cells
can be created by just using layoutBuilder.cell() and used as, for instance, placeholders.
In the Method TableLayoutBuilder.setFocusTraversalOrder(int traversalOrder) null-Elements are added in the focusOrder-List by focusOrder.add(currentCell.getComponent()). That causes a catched Nullpointer Exception in CustomizableFocusTraversalPolicy.customizeFocusTraversalOrder() which is called from TableLayoutBuilder.installFocusOrder(list). The client property with the ordered list
of components will not be set and focus traversal will not work as expected. 
Fix: Don't add null-elements into the focusOrder List. A Workaround is to create placeholder cells with TableLayoutBuilder.cell(new JPanel()) instead of builder.cell().
-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.springsource.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
        
 | 
| 
      
      
      From: Inga F. <jor...@gm...> - 2009-09-24 10:46:43
      
     | 
| Today, I am so bored and lonely. Friends, let's get started? Lets flirt or maybe something more? http://vedakathalee.150m.com | 
| 
      
      
      From: <Ala...@en...> - 2009-09-23 20:30:03
      
     | 
| thank you Peter. I will try on this forum. Alain > Hi Alain! > >> Hi all, >> I am a new user of RCP technologie. I have a RCP application and I want >> to >> create a view in wich the EMF editor is integreted. >> Any help? >> Thank you. > > Maybe you can ask on the forum too > http://forum.springsource.org/forumdisplay.php?f=28 > > which is more used than this mailing list. > > I have used the AbstractView only. With that you can overwrite > createControl() which should then return the editor. > > King regards, > Peter. > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register > now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Springframework-rcp-dev mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-rcp-dev > | 
| 
      
      
      From: Peter K. <pe...@ya...> - 2009-09-23 20:20:46
      
     | 
| Hi Alain! > Hi all, > I am a new user of RCP technologie. I have a RCP application and I want to > create a view in wich the EMF editor is integreted. > Any help? > Thank you. Maybe you can ask on the forum too http://forum.springsource.org/forumdisplay.php?f=28 which is more used than this mailing list. I have used the AbstractView only. With that you can overwrite createControl() which should then return the editor. King regards, Peter. | 
| 
      
      
      From: <Ala...@en...> - 2009-09-23 19:57:41
      
     | 
| Hi all, I am a new user of RCP technologie. I have a RCP application and I want to create a view in wich the EMF editor is integreted. Any help? Thank you. | 
| 
      
      
      From: Anna M. <cer...@gm...> - 2009-09-21 15:36:16
      
     | 
| My name is Anna Marley, I am a girl 21 years old. Today I feel inclined to have sex. Im here, someone wants to see me? http://lupelieselot.150m.com | 
| 
      
      
      From: Lieven D. (JIRA) <no...@sp...> - 2009-09-21 13:10:03
      
     | 
| Integrate Spring Security authorities into commands to simplify security configuration
--------------------------------------------------------------------------------------
                 Key: RCP-612
                 URL: https://jira.springsource.org/browse/RCP-612
             Project: Spring Rich Client Project
          Issue Type: New Feature
          Components: Core
    Affects Versions: 1.1.0
            Reporter: Lieven Doclo
            Assignee: Lieven Doclo
The current system uses SecurityManagers per authority or set of authorities. It would be easier if the authority could be set on the commands themselves and only need to define 1 securitymanagercontroller that handles all security.
This is also needed for enabling security features on the dataeditor.
-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.springsource.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
        
 | 
| 
      
      
      From: Lieven D. (JIRA) <no...@sp...> - 2009-09-21 12:49:25
      
     | 
| 
    [ https://jira.springsource.org/browse/RCP-611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46850#action_46850 ] 
Lieven Doclo commented on RCP-611:
----------------------------------
Also, recreating the popup every time you right click isn't the best option. Normally your listener will hold an instance of that popup and reuse that popup when called. 
Normally, you're creating something like this:
{code}
public class MyMouseAdapter extends MouseAdapter
{
    private JPopupMenu menu;
    public MyMouseAdapter(CommandGroup group)
    {
        menu = commandGroup.createPopupMenu();
    }
    public void mouseReleased(MouseEvent e) {
        if (e.isPopupTrigger()) {
            menu.show(table, e.getPoint().x, e.getPoint().y);
        }
    }
}
{code}
But in any case I'll take a look at the weakhashmap issue
> "OutOfMemoryError" exception occurs after the popup menu has been shown repeatedly
> ----------------------------------------------------------------------------------
>
>                 Key: RCP-611
>                 URL: https://jira.springsource.org/browse/RCP-611
>             Project: Spring Rich Client Project
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.0
>         Environment: JRE: Sun Microsystems Inc., 1.6.0_07
> Operating System: Windows XP x86 5.1
>            Reporter: yangqinghe
>            Assignee: Lieven Doclo
>         Attachments: jmap.txt, popup.jpg
>
>
> There is a simple implement for showing popup menu.Below is the source codes
>             @Override
>             public void mouseReleased(MouseEvent e) {
>                 if (e.isPopupTrigger()) {
>                     JPopupMenu popupMenu = commandGroup.createPopupMenu();\\ commandGroup is a CommandGroup instance if spring rich client
>                     popupMenu.show(table, e.getPoint().x, e.getPoint().y);
>                 }
>             }
> If that popup menu has been shown repeatedly in our app, the "OutOfMemoryError" exception will occur finally.
> Below is the error tracks:
> 2009-05-13 23:26:13,892 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:18,752 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:23,611 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:28,470 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:33,345 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:38,205 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:43,080 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:47,970 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:52,830 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:57,673 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:02,548 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:07,423 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:13,220 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:18,095 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:22,955 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:27,814 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:32,689 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:37,564 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:42,439 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.springsource.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
        
 | 
| 
      
      
      From: Lieven D. (JIRA) <no...@sp...> - 2009-09-21 12:41:13
      
     | 
| 
    [ https://jira.springsource.org/browse/RCP-611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46849#action_46849 ] 
Lieven Doclo commented on RCP-611:
----------------------------------
Hmm, petclinic isn't supported anymore (Spring doesn't provide the JARs anymore). I'll see if I can whip up a testcase.
> "OutOfMemoryError" exception occurs after the popup menu has been shown repeatedly
> ----------------------------------------------------------------------------------
>
>                 Key: RCP-611
>                 URL: https://jira.springsource.org/browse/RCP-611
>             Project: Spring Rich Client Project
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.0
>         Environment: JRE: Sun Microsystems Inc., 1.6.0_07
> Operating System: Windows XP x86 5.1
>            Reporter: yangqinghe
>            Assignee: Lieven Doclo
>         Attachments: jmap.txt, popup.jpg
>
>
> There is a simple implement for showing popup menu.Below is the source codes
>             @Override
>             public void mouseReleased(MouseEvent e) {
>                 if (e.isPopupTrigger()) {
>                     JPopupMenu popupMenu = commandGroup.createPopupMenu();\\ commandGroup is a CommandGroup instance if spring rich client
>                     popupMenu.show(table, e.getPoint().x, e.getPoint().y);
>                 }
>             }
> If that popup menu has been shown repeatedly in our app, the "OutOfMemoryError" exception will occur finally.
> Below is the error tracks:
> 2009-05-13 23:26:13,892 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:18,752 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:23,611 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:28,470 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:33,345 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:38,205 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:43,080 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:47,970 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:52,830 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:57,673 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:02,548 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:07,423 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:13,220 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:18,095 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:22,955 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:27,814 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:32,689 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:37,564 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:42,439 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.springsource.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
        
 | 
| 
      
      
      From: yangqinghe (JIRA) <no...@sp...> - 2009-09-21 10:39:03
      
     | 
| 
    [ https://jira.springsource.org/browse/RCP-611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46847#action_46847 ] 
yangqinghe commented on RCP-611:
--------------------------------
OK,uses the demo app PetClinic of spring rich client maybe can replicate this bug.
1 Run the petclinic demo in "Standalone" model(launch org.springframework.richclient.samples.petclinic.PetClinicStandalone).
2 After the login dialog appeared,just click "cancel" button.
3 Right click the owner and pet tree to show popup menu(see popup.jpg).
4 Repeat step 3 continuously.
> "OutOfMemoryError" exception occurs after the popup menu has been shown repeatedly
> ----------------------------------------------------------------------------------
>
>                 Key: RCP-611
>                 URL: https://jira.springsource.org/browse/RCP-611
>             Project: Spring Rich Client Project
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.0
>         Environment: JRE: Sun Microsystems Inc., 1.6.0_07
> Operating System: Windows XP x86 5.1
>            Reporter: yangqinghe
>            Assignee: Lieven Doclo
>         Attachments: jmap.txt, popup.jpg
>
>
> There is a simple implement for showing popup menu.Below is the source codes
>             @Override
>             public void mouseReleased(MouseEvent e) {
>                 if (e.isPopupTrigger()) {
>                     JPopupMenu popupMenu = commandGroup.createPopupMenu();\\ commandGroup is a CommandGroup instance if spring rich client
>                     popupMenu.show(table, e.getPoint().x, e.getPoint().y);
>                 }
>             }
> If that popup menu has been shown repeatedly in our app, the "OutOfMemoryError" exception will occur finally.
> Below is the error tracks:
> 2009-05-13 23:26:13,892 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:18,752 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:23,611 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:28,470 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:33,345 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:38,205 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:43,080 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:47,970 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:52,830 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:57,673 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:02,548 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:07,423 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:13,220 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:18,095 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:22,955 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:27,814 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:32,689 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:37,564 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:42,439 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.springsource.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
        
 | 
| 
      
      
      From: yangqinghe (JIRA) <no...@sp...> - 2009-09-21 10:37:02
      
     | 
| 
     [ https://jira.springsource.org/browse/RCP-611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
yangqinghe updated RCP-611:
---------------------------
    Attachment: popup.jpg
> "OutOfMemoryError" exception occurs after the popup menu has been shown repeatedly
> ----------------------------------------------------------------------------------
>
>                 Key: RCP-611
>                 URL: https://jira.springsource.org/browse/RCP-611
>             Project: Spring Rich Client Project
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.0
>         Environment: JRE: Sun Microsystems Inc., 1.6.0_07
> Operating System: Windows XP x86 5.1
>            Reporter: yangqinghe
>            Assignee: Lieven Doclo
>         Attachments: jmap.txt, popup.jpg
>
>
> There is a simple implement for showing popup menu.Below is the source codes
>             @Override
>             public void mouseReleased(MouseEvent e) {
>                 if (e.isPopupTrigger()) {
>                     JPopupMenu popupMenu = commandGroup.createPopupMenu();\\ commandGroup is a CommandGroup instance if spring rich client
>                     popupMenu.show(table, e.getPoint().x, e.getPoint().y);
>                 }
>             }
> If that popup menu has been shown repeatedly in our app, the "OutOfMemoryError" exception will occur finally.
> Below is the error tracks:
> 2009-05-13 23:26:13,892 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:18,752 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:23,611 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:28,470 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:33,345 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:38,205 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:43,080 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:47,970 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:52,830 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:57,673 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:02,548 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:07,423 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:13,220 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:18,095 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:22,955 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:27,814 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:32,689 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:37,564 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:42,439 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.springsource.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
        
 | 
| 
      
      
      From: Lieven D. (JIRA) <no...@sp...> - 2009-09-21 10:05:04
      
     | 
| 
    [ https://jira.springsource.org/browse/RCP-611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46846#action_46846 ] 
Lieven Doclo commented on RCP-611:
----------------------------------
can you create a test case for this problem where you can replicate this?
> "OutOfMemoryError" exception occurs after the popup menu has been shown repeatedly
> ----------------------------------------------------------------------------------
>
>                 Key: RCP-611
>                 URL: https://jira.springsource.org/browse/RCP-611
>             Project: Spring Rich Client Project
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.0
>         Environment: JRE: Sun Microsystems Inc., 1.6.0_07
> Operating System: Windows XP x86 5.1
>            Reporter: yangqinghe
>            Assignee: Lieven Doclo
>         Attachments: jmap.txt
>
>
> There is a simple implement for showing popup menu.Below is the source codes
>             @Override
>             public void mouseReleased(MouseEvent e) {
>                 if (e.isPopupTrigger()) {
>                     JPopupMenu popupMenu = commandGroup.createPopupMenu();\\ commandGroup is a CommandGroup instance if spring rich client
>                     popupMenu.show(table, e.getPoint().x, e.getPoint().y);
>                 }
>             }
> If that popup menu has been shown repeatedly in our app, the "OutOfMemoryError" exception will occur finally.
> Below is the error tracks:
> 2009-05-13 23:26:13,892 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:18,752 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:23,611 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:28,470 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:33,345 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:38,205 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:43,080 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:47,970 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:52,830 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:57,673 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:02,548 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:07,423 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:13,220 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:18,095 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:22,955 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:27,814 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:32,689 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:37,564 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:42,439 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.springsource.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
        
 | 
| 
      
      
      From: Lieven D. (JIRA) <no...@sp...> - 2009-09-21 09:59:58
      
     | 
| 
    [ https://jira.springsource.org/browse/RCP-611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46845#action_46845 ] 
Lieven Doclo commented on RCP-611:
----------------------------------
just got to that conclusion too...
> "OutOfMemoryError" exception occurs after the popup menu has been shown repeatedly
> ----------------------------------------------------------------------------------
>
>                 Key: RCP-611
>                 URL: https://jira.springsource.org/browse/RCP-611
>             Project: Spring Rich Client Project
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.0
>         Environment: JRE: Sun Microsystems Inc., 1.6.0_07
> Operating System: Windows XP x86 5.1
>            Reporter: yangqinghe
>            Assignee: Lieven Doclo
>         Attachments: jmap.txt
>
>
> There is a simple implement for showing popup menu.Below is the source codes
>             @Override
>             public void mouseReleased(MouseEvent e) {
>                 if (e.isPopupTrigger()) {
>                     JPopupMenu popupMenu = commandGroup.createPopupMenu();\\ commandGroup is a CommandGroup instance if spring rich client
>                     popupMenu.show(table, e.getPoint().x, e.getPoint().y);
>                 }
>             }
> If that popup menu has been shown repeatedly in our app, the "OutOfMemoryError" exception will occur finally.
> Below is the error tracks:
> 2009-05-13 23:26:13,892 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:18,752 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:23,611 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:28,470 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:33,345 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:38,205 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:43,080 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:47,970 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:52,830 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:57,673 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:02,548 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:07,423 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:13,220 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:18,095 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:22,955 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:27,814 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:32,689 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:37,564 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:42,439 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.springsource.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
        
 | 
| 
      
      
      From: yangqinghe (JIRA) <no...@sp...> - 2009-09-21 09:55:05
      
     | 
| 
    [ https://jira.springsource.org/browse/RCP-611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46844#action_46844 ] 
yangqinghe commented on RCP-611:
--------------------------------
I have dug into the source code of the newest version of spring rich client.
Please notice the code fragments below:
{code:title=CommandGroup.java|borderStyle=solid}
        public JPopupMenu createPopupMenu() {
		return createPopupMenu(getMenuFactory());
	}
	public JPopupMenu createPopupMenu(MenuFactory factory) {
		JPopupMenu popup = factory.createPopupMenu();
		bindMembers(popup, popup, factory, getMenuItemButtonConfigurer());
		return popup;
	}
	private void bindMembers(Object owner, Container memberContainer, Object controlFactory,
			CommandButtonConfigurer configurer) {
		getMemberList().bindMembers(owner, new SimpleGroupContainerPopulator(memberContainer), controlFactory,
				configurer);
	}
{code}
{code:title=GroupMemberList.java|borderStyle=solid}
    private Map builders = new WeakHashMap(6);
    protected void bindMembers(Object owner, GroupContainerPopulator container, Object factory,
            CommandButtonConfigurer configurer) {
        GroupMemberContainerManager builder = new GroupMemberContainerManager(container, factory, configurer);
        builder.rebuildControlsFor(members);
        builders.put(owner, builder);
    }
{code}
It seems that the new created popup menu will be put into a WeakHashMap and the API doc of WeakHashMap says that:
...Thus care should be taken to ensure that value objects do not strongly refer to their own keys, either directly or indirectly, since that will prevent the keys from being discarded.
We can see that new created popup menu will be put into a WeakHashMap and the map's value is indirectly refer to its own key, therefore the popup menu will be never discarded.
It means that the problem exists in newest version of spring rich client as well.
(I have attached the source code of CommandGroup.java and GroupMemberList.java.
Please see: newest version of CommandGroup and GroupMemberList.rar.)
> "OutOfMemoryError" exception occurs after the popup menu has been shown repeatedly
> ----------------------------------------------------------------------------------
>
>                 Key: RCP-611
>                 URL: https://jira.springsource.org/browse/RCP-611
>             Project: Spring Rich Client Project
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.0
>         Environment: JRE: Sun Microsystems Inc., 1.6.0_07
> Operating System: Windows XP x86 5.1
>            Reporter: yangqinghe
>            Assignee: Lieven Doclo
>         Attachments: jmap.txt
>
>
> There is a simple implement for showing popup menu.Below is the source codes
>             @Override
>             public void mouseReleased(MouseEvent e) {
>                 if (e.isPopupTrigger()) {
>                     JPopupMenu popupMenu = commandGroup.createPopupMenu();\\ commandGroup is a CommandGroup instance if spring rich client
>                     popupMenu.show(table, e.getPoint().x, e.getPoint().y);
>                 }
>             }
> If that popup menu has been shown repeatedly in our app, the "OutOfMemoryError" exception will occur finally.
> Below is the error tracks:
> 2009-05-13 23:26:13,892 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:18,752 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:23,611 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:28,470 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:33,345 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:38,205 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:43,080 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:47,970 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:52,830 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:57,673 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:02,548 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:07,423 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:13,220 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:18,095 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:22,955 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:27,814 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:32,689 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:37,564 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:42,439 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.springsource.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
        
 | 
| 
      
      
      From: yangqinghe (JIRA) <no...@sp...> - 2009-09-21 09:49:04
      
     | 
| 
    [ https://jira.springsource.org/browse/RCP-611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46843#action_46843 ] 
yangqinghe commented on RCP-611:
--------------------------------
I have attached the jmap file(the output file of JDK's jmap command,see jmap.txt).There exist huge instances of JMenuItem.
> "OutOfMemoryError" exception occurs after the popup menu has been shown repeatedly
> ----------------------------------------------------------------------------------
>
>                 Key: RCP-611
>                 URL: https://jira.springsource.org/browse/RCP-611
>             Project: Spring Rich Client Project
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.0
>         Environment: JRE: Sun Microsystems Inc., 1.6.0_07
> Operating System: Windows XP x86 5.1
>            Reporter: yangqinghe
>            Assignee: Lieven Doclo
>         Attachments: jmap.txt
>
>
> There is a simple implement for showing popup menu.Below is the source codes
>             @Override
>             public void mouseReleased(MouseEvent e) {
>                 if (e.isPopupTrigger()) {
>                     JPopupMenu popupMenu = commandGroup.createPopupMenu();\\ commandGroup is a CommandGroup instance if spring rich client
>                     popupMenu.show(table, e.getPoint().x, e.getPoint().y);
>                 }
>             }
> If that popup menu has been shown repeatedly in our app, the "OutOfMemoryError" exception will occur finally.
> Below is the error tracks:
> 2009-05-13 23:26:13,892 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:18,752 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:23,611 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:28,470 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:33,345 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:38,205 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:43,080 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:47,970 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:52,830 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:57,673 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:02,548 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:07,423 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:13,220 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:18,095 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:22,955 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:27,814 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:32,689 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:37,564 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:42,439 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.springsource.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
        
 | 
| 
      
      
      From: yangqinghe (JIRA) <no...@sp...> - 2009-09-21 09:28:07
      
     | 
| 
    [ https://jira.springsource.org/browse/RCP-611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46842#action_46842 ] 
yangqinghe commented on RCP-611:
--------------------------------
Below is the format source codes:
{code:title=Example.java|borderStyle=solid}
            @Override
            public void mouseReleased(MouseEvent e) {
                if (e.isPopupTrigger()) {
                    // commandGroup is a CommandGroup instance of spring rich client
                    JPopupMenu popupMenu = commandGroup.createPopupMenu();
                    popupMenu.show(table, e.getPoint().x, e.getPoint().y);
                }
            }
{code}
> "OutOfMemoryError" exception occurs after the popup menu has been shown repeatedly
> ----------------------------------------------------------------------------------
>
>                 Key: RCP-611
>                 URL: https://jira.springsource.org/browse/RCP-611
>             Project: Spring Rich Client Project
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.0
>         Environment: JRE: Sun Microsystems Inc., 1.6.0_07
> Operating System: Windows XP x86 5.1
>            Reporter: yangqinghe
>            Assignee: Lieven Doclo
>
> There is a simple implement for showing popup menu.Below is the source codes
>             @Override
>             public void mouseReleased(MouseEvent e) {
>                 if (e.isPopupTrigger()) {
>                     JPopupMenu popupMenu = commandGroup.createPopupMenu();\\ commandGroup is a CommandGroup instance if spring rich client
>                     popupMenu.show(table, e.getPoint().x, e.getPoint().y);
>                 }
>             }
> If that popup menu has been shown repeatedly in our app, the "OutOfMemoryError" exception will occur finally.
> Below is the error tracks:
> 2009-05-13 23:26:13,892 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:18,752 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:23,611 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:28,470 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:33,345 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:38,205 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:43,080 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:47,970 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:52,830 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:26:57,673 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:02,548 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:07,423 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:13,220 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:18,095 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:22,955 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:27,814 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:32,689 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:37,564 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
> 2009-05-13 23:27:42,439 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
> java.lang.OutOfMemoryError: Java heap space
-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.springsource.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
        
 | 
| 
      
      
      From: yangqinghe (JIRA) <no...@sp...> - 2009-09-21 09:20:05
      
     | 
| "OutOfMemoryError" exception occurs after the popup menu has been shown repeatedly
----------------------------------------------------------------------------------
                 Key: RCP-611
                 URL: https://jira.springsource.org/browse/RCP-611
             Project: Spring Rich Client Project
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.1.0
         Environment: JRE: Sun Microsystems Inc., 1.6.0_07
Operating System: Windows XP x86 5.1
            Reporter: yangqinghe
            Assignee: Lieven Doclo
There is a simple implement for showing popup menu.Below is the source codes
            @Override
            public void mouseReleased(MouseEvent e) {
                if (e.isPopupTrigger()) {
                    JPopupMenu popupMenu = commandGroup.createPopupMenu();\\ commandGroup is a CommandGroup instance if spring rich client
                    popupMenu.show(table, e.getPoint().x, e.getPoint().y);
                }
            }
If that popup menu has been shown repeatedly in our app, the "OutOfMemoryError" exception will occur finally.
Below is the error tracks:
2009-05-13 23:26:13,892 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
java.lang.OutOfMemoryError: Java heap space
2009-05-13 23:26:18,752 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
java.lang.OutOfMemoryError: Java heap space
2009-05-13 23:26:23,611 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
java.lang.OutOfMemoryError: Java heap space
2009-05-13 23:26:28,470 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
java.lang.OutOfMemoryError: Java heap space
2009-05-13 23:26:33,345 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
java.lang.OutOfMemoryError: Java heap space
2009-05-13 23:26:38,205 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
java.lang.OutOfMemoryError: Java heap space
2009-05-13 23:26:43,080 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
java.lang.OutOfMemoryError: Java heap space
2009-05-13 23:26:47,970 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
java.lang.OutOfMemoryError: Java heap space
2009-05-13 23:26:52,830 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
java.lang.OutOfMemoryError: Java heap space
2009-05-13 23:26:57,673 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
java.lang.OutOfMemoryError: Java heap space
2009-05-13 23:27:02,548 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
java.lang.OutOfMemoryError: Java heap space
2009-05-13 23:27:07,423 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
java.lang.OutOfMemoryError: Java heap space
2009-05-13 23:27:13,220 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
java.lang.OutOfMemoryError: Java heap space
2009-05-13 23:27:18,095 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
java.lang.OutOfMemoryError: Java heap space
2009-05-13 23:27:22,955 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
java.lang.OutOfMemoryError: Java heap space
2009-05-13 23:27:27,814 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
java.lang.OutOfMemoryError: Java heap space
2009-05-13 23:27:32,689 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
java.lang.OutOfMemoryError: Java heap space
2009-05-13 23:27:37,564 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
java.lang.OutOfMemoryError: Java heap space
2009-05-13 23:27:42,439 ERROR [org.springframework.richclient.application.config.ApplicationLifecycleAdvisor] Java heap space
java.lang.OutOfMemoryError: Java heap space
-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.springsource.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
        
 | 
| 
      
      
      From: Ben A. <pre...@gm...> - 2009-09-20 18:52:45
      
     | 
| New level of dating networks: now you can find a friend in YOUR CITY. Really! Just point a map! millions of members in the network! TONNS of photos and videos from other members. Find girls and boys for flirting, for sex or just for communication. Free registration. http://go2-url.com/aerndr | 
| 
      
      
      From: Pedro G. <ber...@gm...> - 2009-09-20 18:15:29
      
     | 
| Seeking a girl for chatting, flirting or something more? Maybe a boy? :) Millions participants waiting for you in the sex chat. Find a friend in Your city! http://abdullahflav.150m.com | 
| 
      
      
      From: Maria M. <pin...@gm...> - 2009-09-20 05:50:47
      
     | 
| Hi to this group, Im first time here. Life is boring and uninteresting, entertain me :) Lets flirt or maybe something more? Im here: http://go2-url.com/aernaa | 
| 
      
      
      From: Anna S. <lip...@gm...> - 2009-09-18 09:57:01
      
     | 
| Hi to group, Im newbie here. I will ask many questions My webcam-profile is here http://xxx-spaces.com/Anna/anna.html Thank you. Kiss. | 
| 
      
      
      From: Peter K. <pe...@ya...> - 2009-09-17 19:20:10
      
     | 
| Hi all,
I would like to know if somebody of you has already tried out to make
Spring RC working with Spring Dynamic Modules [1] ?
I tried yesterday to create a standard swing application with OSGi
successfully (with maven)[2].
And today I could simply replace the
SwingUtilities.invokeLater(new Runnable() {
 public void run() {
   frame = new MainFrame();
   ...
}});
with Spring RC's new ApplicationLauncher(..) call and start Spring RC as
an OSGi bundle.
One of my further goals will be to use Spring DM directly instead of
OSGi for Spring RC to be independend of OSGi and for possible better
integration of context files etc. although it could be more complicated ...
Now I have 3 questions
A) How can change the menu from the plugin? E.g. the following is not
working: Application.instance().getApplicationContext().getBean("algoMenu");
.... will throw a
NoSuchBeanDefinitionException: No bean named 'algoMenu' is defined,
because it is defined in the command-context.xml file and not in the
app-context file. Is there a way to get it? Only for a show case ...
B) And how a plugin could inject the information into the host that a
new menuitem has been added? Should this happen in the plugins
command-context.xml file?
And if yes, how should this context file be merged with the host's
command-context.xml file? Maybe this should be done programmatically ala
JavaConfig?
C) And what could be the correct sequence for all the involved frameworks?
1. initialize spring dm => read all context files + context files of plugins
2. then start spring rc which could now use the merged context files
Or should I start Spring RC first and then init OSGi which allows me to
used plugins?
What would you suggest? Or has somebody a better understanding or better
ideas for Spring DM?
Your comment would be very appreciated ;-)!
Regards,
Peter.
[1]
http://www.springsource.org/osgi
[2]
http://karussell.wordpress.com/2009/09/16/plugable-swing-a-hello-world-osgi-example/
 | 
| 
      
      
      From: Geoffrey De S. (JIRA) <no...@sp...> - 2009-09-14 14:21:03
      
     | 
| 
     [ https://jira.springsource.org/browse/RCP-604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Geoffrey De Smet resolved RCP-604.
----------------------------------
    Resolution: Fixed
Fixed, but there is still an improper initialization issue that was already there before & after the regression was introduced
I might look into that improper initialization issue later
> Once a MessagableTabbedPane has shown an error icon in its tab because there is an error, the error icon does not dissappear when there are no more errors
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: RCP-604
>                 URL: https://jira.springsource.org/browse/RCP-604
>             Project: Spring Rich Client Project
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.0
>            Reporter: Geoffrey De Smet
>            Assignee: Geoffrey De Smet
>             Fix For: 1.1.1
>
>
> bug introduced by jan in revision 2186 and 2187 "Added saving/resetting of old icon/tooltip"
-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.springsource.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
        
 | 
| 
      
      
      From: Geoffrey De S. (JIRA) <no...@sp...> - 2009-09-14 07:35:02
      
     | 
| 
     [ https://jira.springsource.org/browse/RCP-604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Geoffrey De Smet reopened RCP-604:
----------------------------------
This issue still occurs, although only in specific cases.
That class needs to be refactored to readable code first.
> Once a MessagableTabbedPane has shown an error icon in its tab because there is an error, the error icon does not dissappear when there are no more errors
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: RCP-604
>                 URL: https://jira.springsource.org/browse/RCP-604
>             Project: Spring Rich Client Project
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.0
>            Reporter: Geoffrey De Smet
>            Assignee: Geoffrey De Smet
>             Fix For: 1.1.1
>
>
> bug introduced by jan in revision 2186 and 2187 "Added saving/resetting of old icon/tooltip"
-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.springsource.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
        
 | 
| 
      
      
      From: Adam A. (JIRA) <no...@sp...> - 2009-08-31 20:35:31
      
     | 
| 
    [ http://jira.springsource.org/browse/RCP-609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46417#action_46417 ] 
Adam Armistead commented on RCP-609:
------------------------------------
Upgrading to VLDocking 3.0 could also be done, the license was changed from CeCILL (French GPL) and commercial to LGPL and commercial.
> Add DockGroup support to VLDocking.
> -----------------------------------
>
>                 Key: RCP-609
>                 URL: http://jira.springsource.org/browse/RCP-609
>             Project: Spring Rich Client Project
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.1.0
>            Reporter: Adam Armistead
>            Assignee: Lieven Doclo
>
> VLDocking should be able to support DockGroups.  Adding this support is trivial and should only require adding a DockGroup property to VLDockingViewDescriptor with get/set methods and to set the assigned DockGroup to the DockKey the ViewDescriptorDockable constructor.
-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.springsource.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
        
 |