felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Ziegeler <cziege...@apache.org>
Subject Re: How to handle "java.lang.IllegalStateException: The EventAdmin is stopped" during shutdown
Date Fri, 07 Jan 2011 11:47:24 GMT
Alexander Broekhuis  wrote
>> From the stacktrace below I have the feeling that the AbcGenerator is
>> using the EventAdmin although the service is already down. How do you
>> handle the unregister event of the event admin service?
> The EventAdmin is tracked using the DependencyManager. If the service
> is actually down, I would expect a NPE at the point where I use the
> EventAdmin, not an exception from within the EventAdmin. Or is this a
> wrong assumption?
I don't know the DependencyManager :) But maybe you can show the code,
you use?

Carsten Ziegeler

To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org

View raw message