Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Timeout when loading bundles(How to avoid timeout errors )
Timeout when loading bundles [message #642199] Tue, 30 November 2010 11:44
eclipseb1  is currently offline eclipseb1 Friend
Messages: 1
Registered: November 2010
Junior Member
This post is to seek help/advice on an issue we are experiencing when loading plugins we have developed particularly under CDT and derived platforms. We have a team provider that is split into Core and UI bundles. When loading under CDT with the C/C++ projects view active our Core bundle is being loaded triggered by PDOMManager running in Thread Worker-X . This is loading our RepositoryProvider class and prior to this is starting the Core bundle so it is executing the start() method of the Core bundle. At the same time the LightWeightDecorationManager running on thread Worker-Y is attempting to load our Decorator class. This class is in the UI bundle which has a declared dependency on the Core Bundle. This causes the runtime to try and load the Core bundle but as it is processing its start() method we recieve an error in the log similar to that shown below.

!MESSAGE While loading class "", thread "Thread[Worker-10,5,main]" timed o
ut waiting (5000ms) for thread "Thread[Worker-0,5,main]" to finish starting bundle "". To avoid deadlock, thread "Thread[Worker-10,5,main]" is proceeding but "
ui.XXDecorator" may not be fully initialized.

We have attempted to lazy initialize as many of the classes used in the Core start() method and have moved some potentially long running processing to a separate Job. However we are still experiencing this error.

Are there any techniques that we could use to avoid this error occuring.
Previous Topic:Contributing the extension point programatically
Next Topic:Contributing the extension point programatically
Goto Forum:

Current Time: Mon Jan 18 02:35:31 GMT 2021

Powered by FUDForum. Page generated in 0.02067 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top