It's all about the answers!

Ask a question

Getting 'Invalid registry object' error when trying to change any advanced property in RTC


Brandon Urban (1134) | asked Oct 23 '14, 5:00 p.m.
 Hello,

I have run into a very weird issue that I have not seen before. I have restarted the server and tried again with the same result. Anytime I try to change an advanced property, any advanced property in RTC, I get the following error:

Invalid registry object
org.eclipse.core.runtime.InvalidRegistryObjectException
org.eclipse.core.internal.registry.RegistryObjectManager.basicGetObject(RegistryObjectManager.java:272)
org.eclipse.core.internal.registry.RegistryObjectManager.getObject(RegistryObjectManager.java:262)
org.eclipse.core.internal.registry.ConfigurationElementHandle.getConfigurationElement(ConfigurationElementHandle.java:26)
org.eclipse.core.internal.registry.ConfigurationElementHandle.getName(ConfigurationElementHandle.java:99)
com.ibm.team.repository.common.transport.AbstractElementDescriptor.safeGetName(AbstractElementDescriptor.java:304)
com.ibm.team.repository.common.transport.AbstractElementDescriptor.getAncestor(AbstractElementDescriptor.java:288)
com.ibm.team.repository.common.transport.AbstractElementDescriptor.getAncestor(AbstractElementDescriptor.java:323)
com.ibm.team.repository.common.transport.internal.registry.ConfigurationPropertyElementDescriptor.getServiceProviderElement(ConfigurationPropertyElementDescriptor.java:172)
com.ibm.team.repository.common.transport.internal.registry.ConfigurationPropertyElementDescriptor.getComponentId(ConfigurationPropertyElementDescriptor.java:113)
com.ibm.team.repository.common.transport.internal.registry.ConfigurationPropertyElementDescriptor.getQualifiedName(ConfigurationPropertyElementDescriptor.java:160)
com.ibm.team.repository.common.transport.internal.registry.ConfigurationManager$ConfigurationPropsRegistry. (ConfigurationManager.java:615)
com.ibm.team.repository.common.transport.internal.registry.ConfigurationManager$1.prePersistHook(ConfigurationManager.java:239)
com.ibm.team.jfs.app.config.internal.ChangeCollection.applyPrePersistHooks(ChangeCollection.java:66)
com.ibm.team.jfs.app.config.internal.OverridablePropertyFileServerConfiguration.persistChanges(OverridablePropertyFileServerConfiguration.java:347)
com.ibm.team.jfs.app.config.internal.ConfigurationPropertyService.persistChangesLocally(ConfigurationPropertyService.java:410)
com.ibm.team.jfs.app.config.internal.ConfigurationPropertyService.applyLocally(ConfigurationPropertyService.java:387)
com.ibm.team.jfs.app.config.internal.ConfigurationPropertyService.applyLocally(ConfigurationPropertyService.java:394)
com.ibm.team.jfs.app.config.internal.ServiceConfigurationUpdate.applyLocally(ServiceConfigurationUpdate.java:47)
com.ibm.team.jfs.app.config.internal.ServiceConfigurationUpdate.apply(ServiceConfigurationUpdate.java:58)
com.ibm.team.repository.common.transport.internal.registry.ServiceConfigurationUpdate.apply(ServiceConfigurationUpdate.java:55)
com.ibm.team.repository.service.internal.ServerConfigurationRestService.postConfigurationUpdates(ServerConfigurationRestService.java:289)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
java.lang.reflect.Method.invoke(Method.java:611)
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
com.sun.proxy.$Proxy121.postConfigurationUpdates(Unknown Source)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
java.lang.reflect.Method.invoke(Method.java:611)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.doModelledRestService(AbstractTeamServerServlet.java:530)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest2(AbstractTeamServerServlet.java:2359)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest(AbstractTeamServerServlet.java:2153)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1963)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:126)
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:76)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120)
com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:74)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
com.ibm.team.repository.server.servletbridge.BridgeFilter.processDelegate(BridgeFilter.java:165)
com.ibm.team.repository.server.servletbridge.BridgeFilter.doFilter(BridgeFilter.java:198)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:336)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:906)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:929)
java.lang.Thread.run(Thread.java:761)


I have tried increasing and reducing the size of attachments, as well as how many results are returned from a query and I get the same error message.

Running RTC version 4.0.6

Any help is greatly appreciated.

Thanks,

Brandon

One answer



permanent link
Donald Nong (14.5k414) | answered Oct 24 '14, 12:48 a.m.
You will get a few hits if you search the forum. See if there is anything similar to your case.
https://jazz.net/forum/questions/165029/what-causes-invalid-registry-object-error-when-updating-ccm-advanced-properties
https://jazz.net/forum/questions/157677/invalid-registry-object-updating-ccm-properties

Comments
Brandon Urban commented Oct 27 '14, 2:32 p.m.

Thanks Donald.  Is there a reference for the actual property names that can be entered in the teamserver.properties files?


ie. com.ibm.team.workitem.process.scripts.enabled=true

I am currently interested in the property name for the workitem attachment size limit and the query return results limit properties, but I could easily see myself needing more in the future if this problem persists.  I don't think my project will be upgrading the server to 5.0.1 anytime soon, which will mean there is a good chance that this problem could keep arising.

Any help is greatly appreciated.

-Brandon 


Donald Nong commented Oct 27 '14, 9:00 p.m.

If I'm not mistaken, the properties in the teamserver.properties file are the same as the ones in the "Advanced Properties" in the Server Administration page. So if you change the value of a property from default to something else, a new line will be added to the teamserver.properties file. This way, you can find out the exact property name. Of course if you have the said problem in this post you can do this on another server that's working.
I don't see any document giving a full list of these properties, and it will not be productive since using the Advanced Properties page should serve the same purpose.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.