It's all about the answers!

Ask a question

Problem with creating jazz component


Vibha Sinha (1643610) | asked Apr 16 '09, 8:40 p.m.
Hello,

I have defined an ecore to extend the jazz repository. The jazz component gets created fine. However, when I try to do repotools -createTables after provisioning this component, I get the following exception -



Caused by:

java.lang.StackOverflowError

at org.eclipse.emf.ecore.util.EcoreEList.resolveProxy(EcoreEList.java:206)

at org.eclipse.emf.ecore.util.EcoreEList.resolve(EcoreEList.java:161)

at org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList$Resolving.resolve(EObjectContainmentWithInverseEList.java:111)

at org.eclipse.emf.common.util.BasicEList.get(BasicEList.java:537)

at org.eclipse.emf.ecore.impl.EPackageImpl.freeze(EPackageImpl.java:179)

at org.eclipse.emf.ecore.impl.EModelElementImpl.freeze(EModelElementImpl.java:92)

at org.eclipse.emf.ecore.impl.EPackageImpl.freeze(EPackageImpl.java:186)

at org.eclipse.emf.ecore.impl.EModelElementImpl.freeze(EModelElementImpl.java:92)

at org.eclipse.emf.ecore.impl.EPackageImpl.freeze(EPackageImpl.java:186)

.....

at org.eclipse.emf.ecore.impl.EPackageImpl.freeze(EPackageImpl.java:186)

at com.ibm.research.sedna2.sap.common.model.impl.SapPackageImpl.init(SapPackageImpl.java:834)

at com.ibm.research.sedna2.sap.common.model.SapPackage.<clinit>(SapPackage.java:68)


Another exception



java.lang.NullPointerException

at com.ibm.team.repository.service.internal.dataaccess.RepositoryQueryRewriter.getTableMatchingPattern(RepositoryQueryRewriter.java:63)

at com.ibm.team.repository.service.internal.dataaccess.RepositoryQueryRewriter.<init>(RepositoryQueryRewriter.java:49)

at com.ibm.team.repository.service.internal.ComponentMetadataProviderManagerService.getQueryRewriter(ComponentMetadataProviderManagerService.java:112)

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.rdb.AbstractDatabaseService.getQueryRewriter(AbstractDatabaseService.java:120)

at com.ibm.team.repository.service.internal.rdb.AbstractDatabaseService$2.run(AbstractDatabaseService.java:517)

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.rdb.AbstractDatabaseService.storeAllTypes(AbstractDatabaseService.java:511)

at com.ibm.team.repository.service.internal.rdb.AbstractDatabaseService.createCoreBootstrapItems(AbstractDatabaseService.java:502)

at com.ibm.team.repository.service.internal.rdb.DatabaseCreationService.doRebuildSchemas(DatabaseCreationService.java:104)

at com.ibm.team.repository.service.internal.rdb.DatabaseCreationService.rebuildAllSchemas(DatabaseCreationService.java:87)

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 $Proxy57.rebuildAllSchemas(Unknown Source)

at com.ibm.team.repotools.rcp.internal.command.CreateTablesCommand.createTables(CreateTablesCommand.java:62)

at com.ibm.team.repotools.rcp.internal.command.CreateTablesCommand.execute(CreateTablesCommand.java:109)

at com.ibm.team.repotools.rcp.AbstractCommand.execute(AbstractCommand.java:180)

at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.run(RepositoryToolsApplication.java:610)

at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.start(RepositoryToolsApplication.java:667)

at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)

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.equinox.launcher.Main.invokeFramework(Main.java:508)

at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)

at org.eclipse.equinox.launcher.Main.run(Main.java:1173)

at org.eclipse.equinox.launcher.Main.main(Main.java:1148)


Is there a limit on the no. of attributes or no. of classes in an ecore ?

Thanks
- Vibha

Be the first one to answer this question!


Register or to post your answer.