Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Remove bundle with servlet filter extension leads to Invalid Registry Object Exception
Remove bundle with servlet filter extension leads to Invalid Registry Object Exception [message #1701861] Thu, 16 July 2015 09:45 Go to next message
Arnaud MERGEY is currently offline Arnaud MERGEYFriend
Messages: 221
Registered: March 2010
Location: France
Senior Member
Hello this issue occurs with org.eclipse.equinox.http.registry 1.1.300.v20130402-1529
(available in mars)

Uninstalling a bundle that previously registered Servlet filter using extension point org.eclipse.equinox.http.registry.filters leads to exception above.

The application needs to be restarted then, to have it working again.

Is it something that is supposed to work ? or do I need to register/remove servlet filter programmatically instead of using extension points ?

Quote:
org.eclipse.jetty.servlet.ServletHandler -
javax.servlet.ServletException: org.eclipse.core.runtime.CoreException: Invalid registry object
at org.eclipse.equinox.http.registry.internal.FilterManager$FilterWrapper.initializeDelegate(FilterManager.java:187)
at org.eclipse.equinox.http.registry.internal.FilterManager$FilterWrapper.doFilter(FilterManager.java:172)
at org.eclipse.equinox.http.servlet.internal.HttpServiceRuntimeImpl$LegacyFilterFactory$LegacyFilter.doFilter(HttpServiceRuntimeImpl.java:1230)
at org.eclipse.equinox.http.servlet.internal.registration.FilterRegistration.doFilter(FilterRegistration.java:118)
at org.eclipse.equinox.http.servlet.internal.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:45)
Caused by: org.eclipse.core.runtime.CoreException: Invalid registry object
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:60)
at org.eclipse.equinox.http.registry.internal.FilterManager$FilterWrapper.initializeDelegate(FilterManager.java:183)
... 35 more
Caused by: org.eclipse.core.runtime.InvalidRegistryObjectException: Invalid registry object
at org.eclipse.core.internal.registry.TemporaryObjectManager.getObject(TemporaryObjectManager.java:98)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.getConfigurationElement(ConfigurationElementHandle.java:26)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
... 36 more

[Updated on: Thu, 16 July 2015 09:46]

Report message to a moderator

Re: Remove bundle with servlet filter extension leads to Invalid Registry Object Exception [message #1701878 is a reply to message #1701861] Thu, 16 July 2015 11:37 Go to previous messageGo to next message
Thomas Watson is currently offline Thomas WatsonFriend
Messages: 490
Registered: July 2009
Senior Member
What version of Equinox are you using? It seems like a bug to me. I would open a bug against Equinox->components with steps to reproduce.
Re: Remove bundle with servlet filter extension leads to Invalid Registry Object Exception [message #1701899 is a reply to message #1701878] Thu, 16 July 2015 14:38 Go to previous message
Arnaud MERGEY is currently offline Arnaud MERGEYFriend
Messages: 221
Registered: March 2010
Location: France
Senior Member
I use Equinox provided by Mars

bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=472844 created with a really simple way to reproduce the issue,
Previous Topic:Multiple product install with shared configuration
Next Topic:Uninstall feature does not work as expected
Goto Forum:
  


Current Time: Wed Nov 14 00:05:28 GMT 2018

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

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

Back to the top