It's all about the answers!

Ask a question

Need help to debug server console errors


vinay reddy (1711205) | asked Apr 20 '09, 12:46 p.m.
22:08:22,977 ERROR t.internal.registry.AbstractActivationManagerOwner - CRJAZ1093I Service failed to activate.
com.ibm.team.repository.common.transport.TeamServiceRegistryException: CRJAZ1092I The service class "com.ibm.team.repository.service.internal.dataaccess.delete.ItemCleanupService" failed during activation.
at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.bindRequiredServices(AbstractActivationManagerOwner.java:209)
at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.doActivate(AbstractActivationManagerOwner.java:495)
at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.activate(AbstractActivationManagerOwner.java:135)
at org.eclipse.soda.sat.core.internal.framework.bundle.BundleActivationManager.activate(BundleActivationManager.java:280)
at org.eclipse.soda.sat.core.internal.framework.bundle.BundleActivationManager.performActivation(BundleActivationManager.java:1545)
at org.eclipse.soda.sat.core.internal.framework.bundle.BundleActivationManager.access$2(BundleActivationManager.java:1532)
at org.eclipse.soda.sat.core.internal.framework.bundle.BundleActivationManager$3.acquired(BundleActivationManager.java:552)
at org.eclipse.soda.sat.core.internal.record.container.ImportServiceRecordContainer.serviceAcquired(ImportServiceRecordContainer.java:558)
at org.eclipse.soda.sat.core.internal.record.container.ImportServiceRecordContainer.access$0(ImportServiceRecordContainer.java:545)
at org.eclipse.soda.sat.core.internal.record.container.ImportServiceRecordContainer$5.serviceAcquired(ImportServiceRecordContainer.java:343)
at org.eclipse.soda.sat.core.internal.record.ImportServiceRecord.acquire(ImportServiceRecord.java:110)
at org.eclipse.soda.sat.core.internal.record.ImportServiceRecord.handleRegisteredService(ImportServiceRecord.java:290)
at org.eclipse.soda.sat.core.internal.record.ServiceRecord.serviceChanged(ServiceRecord.java:435)
at org.eclipse.soda.sat.core.internal.record.ServiceRecord.access$0(ServiceRecord.java:418)
at org.eclipse.soda.sat.core.internal.record.ServiceRecord$1.serviceChanged(ServiceRecord.java:131)
at org.eclipse.osgi.framework.internal.core.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:94)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:1224)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:141)
at org.eclipse.osgi.framework.internal.core.Framework.publishServiceEventPrivileged(Framework.java:1603)
at org.eclipse.osgi.framework.internal.core.Framework.publishServiceEvent(Framework.java:1578)
at org.eclipse.osgi.framework.internal.core.ServiceRegistrationImpl.<init>(ServiceRegistrationImpl.java:103)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.createServiceRegistration(BundleContextImpl.java:657)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:609)
at org.eclipse.soda.sat.core.internal.record.ExportServiceRecord.registerServiceWithFramework(ExportServiceRecord.java:368)
at org.eclipse.soda.sat.core.internal.record.ExportServiceRecord.register(ExportServiceRecord.java:355)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.register(ExportProxyServiceRecord.java:550)
at org.eclipse.soda.sat.core.internal.framework.bundle.BundleActivationManager.registerExportServiceRecords(BundleActivationManager.java:1599)
at org.eclipse.soda.sat.core.internal.framework.bundle.BundleActivationManager.addExportServiceRecords(BundleActivationManager.java:350)
at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.registerPendingExportedServices(AbstractActivationManagerOwner.java:885)
at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.registerServices(AbstractActivationManagerOwner.java:919)
at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.registerServices(AbstractActivationManagerOwner.java:908)
at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.doActivate(AbstractActivationManagerOwner.java:502)
at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.activate(AbstractActivationManagerOwner.java:135)
at org.eclipse.soda.sat.core.internal.framework.bundle.BundleActivationManager.activate(BundleActivationManager.java:280)
at org.eclipse.soda.sat.core.internal.framework.bundle.BundleActivationManager.performActivation(BundleActivationManager.java:1545)
at org.eclipse.soda.sat.core.internal.framework.bundle.BundleActivationManager.access$2(BundleActivationManager.java:1532)
at org.eclipse.soda.sat.core.internal.framework.bundle.BundleActivationManager$3.acquired(BundleActivationManager.java:552)
at org.eclipse.soda.sat.core.internal.record.container.ImportServiceRecordContainer.serviceAcquired(ImportServiceRecordContainer.java:558)
at org.eclipse.soda.sat.core.internal.record.container.ImportServiceRecordContainer.access$0(ImportServiceRecordContainer.java:545)
at org.eclipse.soda.sat.core.internal.record.container.ImportServiceRecordContainer$5.serviceAcquired(ImportServiceRecordContainer.java:343)
at org.eclipse.soda.sat.core.internal.record.ImportServiceRecord.acquire(ImportServiceRecord.java:110)
at org.eclipse.soda.sat.core.internal.record.ImportServiceRecord.handleRegisteredService(ImportServiceRecord.java:290)
at org.eclipse.soda.sat.core.internal.record.ServiceRecord.serviceChanged(ServiceRecord.java:435)
at org.eclipse.soda.sat.core.internal.record.ServiceRecord.access$0(ServiceRecord.java:418)
at org.eclipse.soda.sat.core.internal.record.ServiceRecord$1.serviceChanged(ServiceRecord.java:131)
at org.eclipse.osgi.framework.internal.core.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:94)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:1224)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:141)
at org.eclipse.osgi.framework.internal.core.Framework.publishServiceEventPrivileged(Framework.java:1603)
at org.eclipse.osgi.framework.internal.core.Framework.publishServiceEvent(Framework.java:1578)
at org.eclipse.osgi.framework.internal.core.ServiceRegistrationImpl.<init>(ServiceRegistrationImpl.java:103)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.createServiceRegistration(BundleContextImpl.java:657)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:609)
at org.eclipse.soda.sat.core.internal.record.ExportServiceRecord.registerServiceWithFramework(ExportServiceRecord.java:368)
at org.eclipse.soda.sat.core.internal.record.ExportServiceRecord.register(ExportServiceRecord.java:355)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.register(ExportProxyServiceRecord.java:550)
at org.eclipse.soda.sat.core.internal.framework.bundle.BundleActivationManager.registerExportServiceRecords(BundleActivationManager.java:1599)
at org.eclipse.soda.sat.core.internal.framework.bundle.BundleActivationManager.addExportServiceRecords(BundleActivationManager.java:350)
at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.registerPendingExportedServices(AbstractActivationManagerOwner.java:885)
at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.registerServices(AbstractActivationManagerOwner.java:919)
at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.registerServices(AbstractActivationManagerOwner.java:908)
at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.doActivate(AbstractActivationManagerOwner.java:502)
at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.activate(AbstractActivationManagerOwner.java:135)
at org.eclipse.soda.sat.core.internal.framework.bundle.BundleActivationManager.activate(BundleActivationManager.java:280)
at org.eclipse.soda.sat.core.internal.framework.bundle.BundleActivationManager.performActivation(BundleActivationManager.java:1545)
at org.eclipse.soda.sat.core.internal.framework.bundle.BundleActivationManager.access$2(BundleActivationManager.java:1532)
at org.eclipse.soda.sat.core.internal.framework.bundle.BundleActivationManager$3.acquired(BundleActivationManager.java:552)
at org.eclipse.soda.sat.core.internal.record.container.ImportServiceRecordContainer.serviceAcquired(ImportServiceRecordContainer.java:558)
at org.eclipse.soda.sat.core.internal.record.container.ImportServiceRecordContainer.access$0(ImportServiceRecordContainer.java:545)
at org.eclipse.soda.sat.core.internal.record.container.ImportServiceRecordContainer$5.serviceAcquired(ImportServiceRecordContainer.java:343)
at org.eclipse.soda.sat.core.internal.record.ImportServiceRecord.acquire(ImportServiceRecord.java:110)
at org.eclipse.soda.sat.core.internal.record.container.ImportServiceRecordContainer$1.execute(ImportServiceRecordContainer.java:64)
at org.eclipse.soda.sat.core.internal.record.container.ServiceRecordContainer.doForService(ServiceRecordContainer.java:351)
at org.eclipse.soda.sat.core.internal.record.container.ServiceRecordContainer.doForEach(ServiceRecordContainer.java:319)
at org.eclipse.soda.sat.core.internal.record.container.ImportServiceRecordContainer.acquire(ImportServiceRecordContainer.java:300)
at org.eclipse.soda.sat.core.internal.framework.bundle.BundleActivationManager.acquireImportedServices(BundleActivationManager.java:225)
at org.eclipse.soda.sat.core.internal.framework.bundle.BundleActivationManager.acquireImportServiceRecords(BundleActivationManager.java:240)
at org.eclipse.soda.sat.core.internal.framework.bundle.BundleActivationManager.startSync(BundleActivationManager.java:1993)
at org.eclipse.soda.sat.core.internal.framework.bundle.BundleActivationManager.start(BundleActivationManager.java:1962)
at com.ibm.team.repository.common.transport.internal.registry.OsgiServicesManager.register(OsgiServicesManager.java:415)
at com.ibm.team.repository.common.transport.services.TeamServiceRegistry.registerServices(TeamServiceRegistry.java:309)
at com.ibm.team.repository.common.transport.services.TeamServiceRegistry.initialize(TeamServiceRegistry.java:279)
at com.ibm.team.repository.common.transport.services.TeamServiceRegistry.<init>(TeamServiceRegistry.java:59)
at com.ibm.team.repository.common.transport.services.TeamServiceRegistry.<clinit>(TeamServiceRegistry.java:48)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:194)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.init(AbstractTeamServerServlet.java:1148)
at com.ibm.team.repository.servlet.TeamServerServlet.init(TeamServerServlet.java:188)
at javax.servlet.GenericServlet.init(GenericServlet.java:168)
at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.initializeDelegate(ServletManager.java:195)
at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:179)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:59)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Caused by:
java.lang.IllegalArgumentException: Failed to find IComponentElementDescriptor for URI com.ibm.team.af.research.userextension
at com.ibm.team.repository.common.internal.util.ComponentRegistry.getComponentDescriptorForModelUri(ComponentRegistry.java:295)
at com.ibm.team.repository.common.internal.util.ComponentRegistry.getModelVersion(ComponentRegistry.java:592)
at com.ibm.team.repository.service.internal.ComponentMetadataProviderManagerService.getModelVersion(ComponentMetadataProviderManagerService.java:264)
at com.ibm.team.repository.service.internal.ComponentMetadataProviderManagerService.createPackageDescriptor(ComponentMetadataProviderManagerService.java:467)
at com.ibm.team.repository.service.internal.ComponentMetadataProviderManagerService.initPackageDescriptions(ComponentMetadataProviderManagerService.java:439)
at com.ibm.team.repository.service.internal.ComponentMetadataProviderManagerService.initComponentPackages(ComponentMetadataProviderManagerService.java:386)
at com.ibm.team.repository.service.internal.ComponentMetadataProviderManagerService.ensureComponentsInitialized(ComponentMetadataProviderManagerService.java:215)
at com.ibm.team.repository.service.internal.ComponentMetadataProviderManagerService.getSchema(ComponentMetadataProviderManagerService.java:185)
at com.ibm.team.repository.service.internal.ComponentMetadataProviderManagerService.getQueryRewriter(ComponentMetadataProviderManagerService.java:111)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:375)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:55)
at $Proxy25.getQueryRewriter(Unknown Source)
at com.ibm.team.repository.service.internal.dataaccess.ItemTypesToDBIDs.getTypesMap(ItemTypesToDBIDs.java:114)
at com.ibm.team.repository.service.internal.dataaccess.delete.ItemCleanupService.activate(ItemCleanupService.java:45)
at com.ibm.team.repository.service.AbstractService.bindRequiredServices(AbstractService.java:180)
at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.bindRequiredServices(AbstractActivationManagerOwner.java:203)
... 109 more
22:08:23,321 WARN com.ibm.team.repository.servlet.TeamServerServlet - CRJAZ1181I Security notice during initialization: Allowing ADMIN user access. It is recommended that you disable the ADMIN user and create a real user with administrative rights.
22:08:23,321 WARN com.ibm.team.repository.servlet.TeamServerServlet - CRJAZ1182I Security notice during initialization: Allowing identity assertion. This should only be enabled at development time.
22:08:25,899 ERROR ository.service.internal.RdbRepositoryDataMediator - Failing ast query
-----------
ContributorQueryModel r = ContributorQueryModel.ROOT;
AstQuery q = (AstQuery) IDataQuery.FACTORY.newInstance(r);
q.select(r.itemId());
q.select(r.archived());
q.filter(r.userId()._eq(q.newStringArg()));
-----------
IDynamicQueryModel d = ItemUtil.itemTypeFor("Contributor", "com.ibm.team.repository").getQueryModel();
IDataQuery q = IDataQuery.FACTORY.newInstance(d);
q.select(((IUUIDField) d.getReference("itemId")));
q.select(((IBooleanField) d.getReference("archived")));
q.filter(((IStringField) d.getReference("userId"))._eq(q.newStringArg()));
-----------
parm 1: ADMINfailed to generate sql!
22:08:26.009 ERROR! org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:593) >11> /jazz/service/com.ibm.team.repository.service.internal.webuiInitializer.IWebUIInitializerRestService/initializationData:
java.lang.NullPointerException
at com.ibm.team.repository.service.internal.ComponentMetadataProviderManagerService.ensureInitialized(ComponentMetadataProviderManagerService.java:341)
at com.ibm.team.repository.service.internal.ComponentMetadataProviderManagerService.getTableMapForEClass(ComponentMetadataProviderManagerService.java:321)
at com.ibm.team.repository.service.internal.ComponentMetadataProviderManagerService.getTableMapFor(ComponentMetadataProviderManagerService.java:317)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:375)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:55)
at $Proxy27.getTableMapFor(Unknown Source)
at com.ibm.team.repository.service.internal.query.sqlgen.TableJoins.rootTableMap(TableJoins.java:125)
at com.ibm.team.repository.service.internal.query.sqlgen.TableJoins.initialize(TableJoins.java:57)
at com.ibm.team.repository.service.internal.query.sqlgen.TableJoins.<init>(TableJoins.java:53)
at com.ibm.team.repository.service.internal.query.sqlgen.QueryGenerator.toSqlOn(QueryGenerator.java:54)
at com.ibm.team.repository.service.internal.query.sqlgen.QueryGenerator.toSqlQuery(QueryGenerator.java:44)
at com.ibm.team.repository.service.internal.query.sqlgen.SqlQueryGenerator.generate(SqlQueryGenerator.java:42)
at com.ibm.team.repository.service.internal.RdbRepositoryDataMediator.queryData(RdbRepositoryDataMediator.java:789)
at com.ibm.team.repository.service.internal.QueryService.performQuery(QueryService.java:533)
at com.ibm.team.repository.service.internal.QueryService.doExecuteDataQuery(QueryService.java:359)
at com.ibm.team.repository.service.internal.QueryService.access$2(QueryService.java:356)
at com.ibm.team.repository.service.internal.QueryService$3.run(QueryService.java:911)
at com.ibm.team.repository.service.internal.QueryService$3.run(QueryService.java:1)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$Transaction.run(RepositoryDatabase.java:455)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runTransaction(RepositoryDatabase.java:286)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runInTransaction(RepositoryDatabase.java:241)
at com.ibm.team.repository.service.internal.TransactionService.runInTransaction(TransactionService.java:74)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:375)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:55)
at $Proxy34.runInTransaction(Unknown Source)
at com.ibm.team.repository.service.internal.QueryService.queryData(QueryService.java:904)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:375)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:55)
at $Proxy51.queryData(Unknown Source)
at com.ibm.team.repository.service.internal.ContributorCache.executeQuery(ContributorCache.java:164)
at com.ibm.team.repository.service.internal.ContributorCache$ContributorCacheHelper.computeValue(ContributorCache.java:195)
at com.ibm.team.repository.service.internal.ContributorCache$ContributorCacheHelper.computeValue(ContributorCache.java:1)
at com.ibm.team.repository.service.internal.rdb.TransactionalCache$Compute1AndCache.compute(TransactionalCache.java:1831)
at com.ibm.team.repository.service.internal.rdb.TransactionalCache.internalGet(TransactionalCache.java:456)
at com.ibm.team.repository.service.internal.rdb.TransactionalCache.getWithTask(TransactionalCache.java:362)
at com.ibm.team.repository.service.internal.rdb.TransactionalCache.get(TransactionalCache.java:346)
at com.ibm.team.repository.service.internal.rdb.TransactionalCache.get(TransactionalCache.java:1)
at com.ibm.team.repository.service.internal.ContributorCache.get(ContributorCache.java:66)
at com.ibm.team.repository.service.internal.ContributorService.getInfoFromCache(ContributorService.java:338)
at com.ibm.team.repository.service.internal.ContributorService.fetchContributorItemIdByUserId(ContributorService.java:329)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:375)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:55)
at $Proxy52.fetchContributorItemIdByUserId(Unknown Source)
at com.ibm.team.repository.servlet.TeamServerServlet.getContributor(TeamServerServlet.java:86)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1410)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
at org.mortbay.util.ThreadedServer.handle(Thr22:08:25,915 ERROR ository.service.internal.RdbRepositoryDataMediator - CRJAZ1038I RuntimeException processing query

ContributorQueryModel r = ContributorQueryModel.ROOT;
AstQuery q = (AstQuery) IDataQuery.FACTORY.newInstance(r);
q.select(r.itemId());
q.select(r.archived());
q.filter(r.userId()._eq(q.newStringArg()));
java.lang.NullPointerException
at com.ibm.team.repository.service.internal.ComponentMetadataProviderManagerService.ensureInitialized(ComponentMetadataProviderManagerService.java:341)
at com.ibm.team.repository.service.internal.ComponentMetadataProviderManagerService.getTableMapForEClass(ComponentMetadataProviderManagerService.java:321)
at com.ibm.team.repository.service.internal.ComponentMetadataProviderManagerService.getTableMapFor(ComponentMetadataProviderManagerService.java:317)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:375)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:55)
at $Proxy27.getTableMapFor(Unknown Source)
at com.ibm.team.repository.service.internal.query.sqlgen.TableJoins.rootTableMap(TableJoins.java:125)
at com.ibm.team.repository.service.internal.query.sqlgen.TableJoins.initialize(TableJoins.java:57)
at com.ibm.team.repository.service.internal.query.sqlgen.TableJoins.<init>(TableJoins.java:53)
at com.ibm.team.repository.service.internal.query.sqlgen.QueryGenerator.toSqlOn(QueryGenerator.java:54)
at com.ibm.team.repository.service.internal.query.sqlgen.QueryGenerator.toSqlQuery(QueryGenerator.java:44)
at com.ibm.team.repository.service.internal.query.sqlgen.SqlQueryGenerator.generate(SqlQueryGenerator.java:42)
at com.ibm.team.repository.service.internal.RdbRepositoryDataMediator.queryData(RdbRepositoryDataMediator.java:789)
at com.ibm.team.repository.service.internal.QueryService.performQuery(QueryService.java:533)
at com.ibm.team.repository.service.internal.QueryService.doExecuteDataQuery(QueryService.java:359)
at com.ibm.team.repository.service.internal.QueryService.access$2(QueryService.java:356)
at com.ibm.team.repository.service.internal.QueryService$3.run(QueryService.java:911)
at com.ibm.team.repository.service.internal.QueryService$3.run(QueryService.java:1)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$Transaction.run(RepositoryDatabase.java:455)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runTransaction(RepositoryDatabase.java:286)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runInTransaction(RepositoryDatabase.java:241)
at com.ibm.team.repository.service.internal.TransactionService.runInTransaction(TransactionService.java:74)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:375)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:55)
at $Proxy34.runInTransaction(Unknown Source)
at com.ibm.team.repository.service.internal.QueryService.queryData(QueryService.java:904)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:375)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:55)
at $Proxy51.queryData(Unknown Source)
at com.ibm.team.repository.service.internal.ContributorCache.executeQuery(ContributorCache.java:164)
at com.ibm.team.repository.service.internal.ContributorCache$ContributorCacheHelper.computeValue(ContributorCache.java:195)
at com.ibm.team.repository.service.internal.ContributorCache$ContributorCacheHelper.computeValue(ContributorCache.java:1)
at com.ibm.team.repository.service.internal.rdb.TransactionalCache$Compute1AndCache.compute(TransactionalCache.java:1831)
at com.ibm.team.repository.service.internal.rdb.TransactionalCache.internalGet(TransactionalCache.java:456)
at com.ibm.team.repository.service.internal.rdb.TransactionalCache.getWithTask(TransactionalCache.java:362)
at com.ibm.team.repository.service.internal.rdb.TransactionalCache.get(TransactionalCache.java:346)
at com.ibm.team.repository.service.internal.rdb.TransactionalCache.get(TransactionalCache.java:1)
at com.ibm.team.repository.service.internal.ContributorCache.get(ContributorCache.java:66)
at com.ibm.team.repository.service.internal.ContributorService.getInfoFromCache(ContributorService.java:338)
at com.ibm.team.repository.service.internal.ContributorService.fetchContributorItemIdByUserId(ContributorService.java:329)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:375)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:55)
at $Proxy52.fetchContributorItemIdByUserId(Unknown Source)
at com.ibm.team.repository.servlet.TeamServerServlet.getContributor(TeamServerServlet.java:86)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1410)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
eadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)

4 answers



permanent link
Matt Lavin (2.7k2) | answered Apr 20 '09, 12:57 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
Is it possible that you have contributed a org.eclipse.emf.ecore.generated_package extension, but did not include the model that you contributed as a child of a com.ibm.team.repository.common.components extension?

permanent link
Simon Archer (2661) | answered Apr 20 '09, 1:17 p.m.
Regarding this exception:

java.lang.IllegalArgumentException: Failed to find
IComponentElementDescriptor for URI com.ibm.team.af.research.userextension
at
com.ibm.team.repository.common.internal.util.ComponentRegistry.getComponentDescriptorForModelUri(ComponentRegistry.java:295)

at
com.ibm.team.repository.common.internal.util.ComponentRegistry.getModelVersion(ComponentRegistry.java:592)


This indicates that you do not have a <model> element inside your
<component> element in a com.ibm.team.repository.common.components
extension:

<extension>
<component>
<model>
...
</component>
</extension>

Please check your plugin.xml.

permanent link
vinay reddy (1711205) | answered Apr 20 '09, 1:42 p.m.
I think I have a model element in plugin.xml. My mistake was that while trying to change the plug-in names, I missed to change the URI of the ecore model (in the model editor).


However I have the following problem now after doing the change.

I get a series of not-installed messages for the components

22:53:03,087 ERROR ComponentNotInstalled - Component has not been installed in the database: com.ibm.team.repository.tests.nestedhelperlists
22:53:03,087 ERROR ComponentNotInstalled - Component has not been installed in the database: com.ibm.team.repository.internal.tests.primitiveattributes
22:53:03,102 ERROR ComponentNotInstalled - Component has not been installed in the database: com.ibm.team.repository.tests.twohelperinstances
22:53:03,102 ERROR ComponentNotInstalled - Component has not been installed in the database: com.ibm.team.repository.tests.refpatterns
22:53:03,102 ERROR ComponentNotInstalled - Component has not been installed in the database: com.ibm.team.repository.tests.emptysubclass
22:53:03,102 ERROR ComponentNotInstalled - Component has not been installed in the database: com.ibm.af.capacity.userextension
22:53:03,118 ERROR ComponentNotInstalled - Component has not been installed in the database: com.ibm.team.migration.tests
22:53:03,118 ERROR ComponentNotInstalled - Component has not been installed in the database: com.ibm.team.migration.handler.tests
22:53:03,165 ERROR ComponentNotInstalled - Component has not been installed in the database: com.ibm.team.repository.tests
22:53:03,165 ERROR ComponentNotInstalled - Component has not been installed in the database: com.ibm.team.repository.tests2



I also get an SQL while trying to access the custom model I had.

SQL: select t1.ITEM_ID, t1.STATE_ID from USEREXTENSION.USER_EXTENSION t1 where (t1.USER_ITEM_ID = '_WHY-oCmPEd6Ec4GDMNmTrg')
SQL Exception #1
SQL Message: Schema 'USEREXTENSION' does not exist
SQL State: 42Y07
Error Code: 20000

java.sql.SQLException: Schema 'USEREXTENSION' does not exist
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedPreparedStatement.<init>(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedPreparedStatement20.<init>(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedPreparedStatement30.<init>(Unknown Source)
at org.apache.derby.jdbc.Driver30.newEmbedPreparedStatement(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source)
at com.ibm.team.repository.service.internal.db.jdbcwrappers.stat.ConnectionStatWrapper.prepareStatement(ConnectionStatWrapper.java:272)
at com.ibm.team.repository.service.internal.db.jdbcwrappers.errlog.ConnectionErrLogWrapper.prepareStatement(ConnectionErrLogWrapper.java:334)
at com.ibm.team.repository.service.internal.db.jdbcwrappers.leak.ConnectionLeakWrapper.prepareStatement(ConnectionLeakWrapper.java:223)
at com.ibm.team.repository.service.internal.dataaccess.FetchRows.<init>(FetchRows.java:131)
at com.ibm.team.repository.service.internal.dataaccess.MediatorUtils$1.<init>(MediatorUtils.java:40)
at com.ibm.team.repository.service.internal.dataaccess.MediatorUtils.fetchData(MediatorUtils.java:40)
at com.ibm.team.repository.service.internal.RdbRepositoryDataMediator.queryData(RdbRepositoryDataMediator.java:798)
at com.ibm.team.repository.service.internal.QueryService.performQuery(QueryService.java:533)
at com.ibm.team.repository.service.internal.QueryService.doExecuteItemQuery(QueryService.java:387)
at com.ibm.team.repository.service.internal.QueryService.access$0(QueryService.java:384)
at com.ibm.team.repository.service.internal.QueryService$1.run(QueryService.java:221)
at com.ibm.team.repository.service.internal.QueryService$1.run(QueryService.java:1)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$Transaction.run(RepositoryDatabase.java:455)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runTransaction(RepositoryDatabase.java:286)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runInTransaction(RepositoryDatabase.java:241)
at com.ibm.team.repository.service.internal.TransactionService.runInTransaction(TransactionService.java:74)
at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:375)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:55)
at $Proxy34.runInTransaction(Unknown Source)
at com.ibm.team.repository.service.internal.QueryService.executeItemQuery(QueryService.java:212)
at com.ibm.team.repository.service.internal.QueryService.queryItems(QueryService.java:814)
at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:375)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:55)
at $Proxy51.queryItems(Unknown Source)
at com.ibm.af.capacity.userextension.service.UserExtensionRestService.getUserExtension(UserExtensionRestService.java:1026)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:375)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:55)
at $Proxy151.getUserExtension(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.doModelledRestService(AbstractTeamServerServlet.java:542)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1434)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)



However I have already created tables afresh and ran Generate component of Jazz tools. Could you suggest what is missing?

permanent link
Matt Lavin (2.7k2) | answered Apr 20 '09, 1:51 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
Because the server warns that your component has not been installed into the DB the problem is very most likely that the repotools -createTables did not include your plugins. Have you recreated the tables with your new models and can you run repotools -createTables -clean to ensure that all of the plugins are re-provisioned before repotools runs?

Your answer


Register or to post your answer.