|
From: Jan H. (JIRA) <no...@sp...> - 2008-01-24 07:47:44
|
[ http://jira.springframework.org/browse/RCP-526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_31196 ]
Jan Hoskens commented on RCP-526:
---------------------------------
I just replaced our simpleApplicationPage with the TabbedApplicationPage and it seems to work fine. When looking at your trace, I do notice the usage of glazedlists that is trying to grab a lock. Maybe the issue is situated there? Did you try a simple setup as well (no glazedlist)? If it still persists, can you attach an example which leads to this lockup?
> Application locking up during startup
> -------------------------------------
>
> Key: RCP-526
> URL: http://jira.springframework.org/browse/RCP-526
> Project: Spring Framework Rich Client Project
> Issue Type: Bug
> Components: Application Framework
> Affects Versions: 0.2.1
> Environment: Command line using Java 1.6_03
> Eclipse 3.3 running Java 1.6_03
> Java Web Start using Java 1.6_03
> Reporter: Ron Johnson
>
> I'm seeing my application lock up randomly during startup. I'm using the TabbedApplicationPage, and after getting a stack trace I can see that its locking during the call to DefaultApplicationWindow.setActivePage. I see this occur from the command line, in the Eclipse IDE and as a Java Web Start download. I'm using Java 1.6_03 and I see this occur in all three environments (command line, Eclipse 3.3, and Java Web Start). Any idea what may be causing this?
> "main" prio=6 tid=0x00a30400 nid=0xe18 waiting on condition [0x00c5f000..0x00c5fe54]
> java.lang.Thread.State: WAITING (parking)
> at sun.misc.Unsafe.park(Native Method)
> - parking to wait for <0x02e59e48> (a java.util.concurrent.locks.ReentrantReadWriteLock$NonfairSync)
> at java.util.concurrent.locks.LockSupport.park(Unknown Source)
> at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(Unknown Source)
> at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireShared(Unknown Source)
> at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireShared(Unknown Source)
> at java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.lock(Unknown Source)
> at ca.odell.glazedlists.impl.java15.LockAdapter.lock(J2SE50LockFactory.java:74)
> at ca.odell.glazedlists.swing.EventTableModel.getRowCount(EventTableModel.java:162)
> at javax.swing.JTable.getRowCount(Unknown Source)
> at javax.swing.plaf.basic.BasicTableUI.createTableSize(Unknown Source)
> at javax.swing.plaf.basic.BasicTableUI.getPreferredSize(Unknown Source)
> at javax.swing.JComponent.getPreferredSize(Unknown Source)
> at javax.swing.ScrollPaneLayout.layoutContainer(Unknown Source)
> at java.awt.Container.layout(Unknown Source)
> at java.awt.Container.doLayout(Unknown Source)
> at java.awt.Container.validateTree(Unknown Source)
> at java.awt.Container.validateTree(Unknown Source)
> at java.awt.Container.validateTree(Unknown Source)
> at java.awt.Container.validateTree(Unknown Source)
> at java.awt.Container.validateTree(Unknown Source)
> at java.awt.Container.validate(Unknown Source)
> - locked <0x034978c0> (a java.awt.Component$AWTTreeLock)
> at org.springframework.richclient.application.support.DefaultApplicationWindow.setActivePage(DefaultApplicationWindow.java:48)
> at org.springframework.richclient.application.support.AbstractApplicationWindow.showPage(AbstractApplicationWindow.java:194)
> at org.springframework.richclient.application.support.AbstractApplicationWindow.showPage(AbstractApplicationWindow.java:161)
> at org.springframework.richclient.application.Application.openWindow(Application.java:148)
> at org.springframework.richclient.application.Application.start(Application.java:210)
> at org.springframework.richclient.application.ApplicationLauncher.launchMyRichClient(ApplicationLauncher.java:223)
> at org.springframework.richclient.application.ApplicationLauncher.<init>(ApplicationLauncher.java:103)
> at com.vzbi.cpemgr.dc.app.CPEManagerClient.main(CPEManagerClient.java:63)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.springframework.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|