Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Unhandled event loop exception when trying to use a singleton
Unhandled event loop exception when trying to use a singleton [message #460017] Mon, 11 December 2006 12:39 Go to next message
Eclipse UserFriend
Originally posted by: eclipse.patcom.demon.co.uk

Hello

I am getting a strange problem, I have a singleton which I am trying to
use within an Action subclass.

I have run this through the debug and as soon as it reaches the line
that attempts to get an instance of the singleton, it reports

Unhandled event loop exception
Reason:
com/wcg/catalyst/common/repository/RepositoryClientFactory

(RepositoryClientFactory is the singleto), it does not even enter the
getInstance method of the singleton. I have tested this class outside
the action and it works fine

Any ideas?

Thanks

Mike
Re: Unhandled event loop exception when trying to use a singleton [message #460018 is a reply to message #460017] Mon, 11 December 2006 12:49 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse.patcom.demon.co.uk

Found the problem - The Eclipse project is using classes from another
project in the workspace and the class loaded cannot find the
RepositoryClientFactory class.

Cheers

Mike

mgb wrote:
> Hello
>
> I am getting a strange problem, I have a singleton which I am trying to
> use within an Action subclass.
>
> I have run this through the debug and as soon as it reaches the line
> that attempts to get an instance of the singleton, it reports
>
> Unhandled event loop exception
> Reason:
> com/wcg/catalyst/common/repository/RepositoryClientFactory
>
> (RepositoryClientFactory is the singleto), it does not even enter the
> getInstance method of the singleton. I have tested this class outside
> the action and it works fine
>
> Any ideas?
>
> Thanks
>
> Mike
Previous Topic:PlatformUI.getPreferenceStore() versus DefaultScope?
Next Topic:How does one disable default key bindings?
Goto Forum:
  


Current Time: Wed Mar 26 18:45:54 EDT 2025

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

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

Back to the top