Skip to main content



      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 05:45 Go to next message
Eclipse UserFriend
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 05:46] by 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 07:37 Go to previous messageGo to next message
Eclipse UserFriend
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 10:38 Go to previous message
Eclipse UserFriend
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 Jul 23 16:07:15 EDT 2025

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

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

Back to the top