[JBoss JIRA] (TEIIDDES-2839) NPE Indexing Model
by Van Halbert (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2839?page=com.atlassian.jira.plu... ]
Van Halbert closed TEIIDDES-2839.
---------------------------------
Resolution: Rejected
Not an issue. JBDS got confused.
> NPE Indexing Model
> ------------------
>
> Key: TEIIDDES-2839
> URL: https://issues.jboss.org/browse/TEIIDDES-2839
> Project: Teiid Designer
> Issue Type: Bug
> Components: Modeling
> Affects Versions: 9.0.6
> Reporter: Van Halbert
> Priority: Blocker
> Attachments: modeshape_vdb_project.zip
>
>
> Trying to save the models and an NPE is created.
> java.lang.NullPointerException
> at org.teiid.designer.core.index.BlocksIndexInput.getNumFiles(BlocksIndexInput.java:160)
> at org.teiid.designer.core.index.IndexInput.hasMoreFiles(IndexInput.java:118)
> at org.teiid.designer.core.index.MergeFactory.mergeFiles(MergeFactory.java:107)
> at org.teiid.designer.core.index.MergeFactory.merge(MergeFactory.java:88)
> at org.teiid.designer.core.index.Index.merge(Index.java:282)
> at org.teiid.designer.core.index.Index.save(Index.java:442)
> at org.teiid.designer.core.index.ModelIndexer.indexResource(ModelIndexer.java:244)
> at org.teiid.designer.core.builder.ModelBuildUtil.indexResource(ModelBuildUtil.java:312)
> at org.teiid.designer.core.builder.ModelBuildUtil.indexResources(ModelBuildUtil.java:375)
> at org.teiid.designer.core.builder.ModelBuildUtil.createModelIndexes(ModelBuildUtil.java:234)
> at org.teiid.designer.core.index.ModelResourceIndexSelector$1.run(ModelResourceIndexSelector.java:150)
> at org.teiid.designer.core.ModelEditorImpl.executeAsTransaction(ModelEditorImpl.java:567)
> at org.teiid.designer.core.ModelEditorImpl.executeAsTransaction(ModelEditorImpl.java:530)
> at org.teiid.designer.core.index.ModelResourceIndexSelector.updateIndexes(ModelResourceIndexSelector.java:156)
> at org.teiid.designer.core.index.ModelResourceIndexSelector.getIndexes(ModelResourceIndexSelector.java:62)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.getIndexes(TransformationMetadata.java:1239)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.queryIndex(TransformationMetadata.java:1604)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.findMetadataRecords(TransformationMetadata.java:1576)
> at org.teiid.designer.transformation.metadata.ModelerMetadata.findMetadataRecords(ModelerMetadata.java:239)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.getRecordByType(TransformationMetadata.java:1391)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.getGroupID(TransformationMetadata.java:141)
> at org.teiid.designer.query.metadata.DelegatingQueryMetadataInterface.getGroupID(DelegatingQueryMetadataInterface.java:46)
> at org.teiid.query.resolver.util.ResolverUtil.resolveGroup(ResolverUtil.java:919)
> at org.teiid.query.resolver.QueryResolver.resolveCommand(QueryResolver.java:228)
> at org.teiid.query.resolver.QueryResolver.resolveCommand(QueryResolver.java:247)
> at org.teiid.query.resolver.QueryResolver.resolveCommand(QueryResolver.java:1)
> at org.teiid.designer.transformation.validation.TransformationValidator.resolveCommand(TransformationValidator.java:462)
> at org.teiid.designer.transformation.validation.TransformationValidator.validateSql(TransformationValidator.java:357)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.createStatus(SqlMappingRootCache.java:752)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.getStatus(SqlMappingRootCache.java:833)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.getStatus(SqlMappingRootCache.java:794)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.getSqlString(SqlMappingRootCache.java:688)
> at org.teiid.designer.transformation.util.TransformationHelper.getSqlString(TransformationHelper.java:405)
> at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.setEditorContent(TransformationObjectEditorPage.java:969)
> at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.handleTransformationStatusChangeEvent(TransformationObjectEditorPage.java:1639)
> at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.processEvent(TransformationObjectEditorPage.java:2659)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.notifyEventListeners(SqlMappingRootCache.java:976)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.invalidateStatus(SqlMappingRootCache.java:519)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.invalidateSelectStatus(SqlMappingRootCache.java:115)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.invalidateSelectStatus(SqlMappingRootCache.java:107)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.invalidateCacheForProject(SqlMappingRootCache.java:250)
> at org.teiid.designer.transformation.ui.util.TransformationNotificationListener$WorkspaceNotificationListener$3.run(TransformationNotificationListener.java:2487)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3774)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3412)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 8 months
[JBoss JIRA] (TEIIDDES-2839) NPE Indexing Model
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2839?page=com.atlassian.jira.plu... ]
RH Bugzilla Integration updated TEIIDDES-2839:
----------------------------------------------
Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1314437, https://bugzilla.redhat.com/show_bug.cgi?id=1334945 (was: https://bugzilla.redhat.com/show_bug.cgi?id=1334945)
> NPE Indexing Model
> ------------------
>
> Key: TEIIDDES-2839
> URL: https://issues.jboss.org/browse/TEIIDDES-2839
> Project: Teiid Designer
> Issue Type: Bug
> Components: Modeling
> Affects Versions: 9.0.6
> Reporter: Van Halbert
> Priority: Blocker
> Attachments: modeshape_vdb_project.zip
>
>
> Trying to save the models and an NPE is created.
> java.lang.NullPointerException
> at org.teiid.designer.core.index.BlocksIndexInput.getNumFiles(BlocksIndexInput.java:160)
> at org.teiid.designer.core.index.IndexInput.hasMoreFiles(IndexInput.java:118)
> at org.teiid.designer.core.index.MergeFactory.mergeFiles(MergeFactory.java:107)
> at org.teiid.designer.core.index.MergeFactory.merge(MergeFactory.java:88)
> at org.teiid.designer.core.index.Index.merge(Index.java:282)
> at org.teiid.designer.core.index.Index.save(Index.java:442)
> at org.teiid.designer.core.index.ModelIndexer.indexResource(ModelIndexer.java:244)
> at org.teiid.designer.core.builder.ModelBuildUtil.indexResource(ModelBuildUtil.java:312)
> at org.teiid.designer.core.builder.ModelBuildUtil.indexResources(ModelBuildUtil.java:375)
> at org.teiid.designer.core.builder.ModelBuildUtil.createModelIndexes(ModelBuildUtil.java:234)
> at org.teiid.designer.core.index.ModelResourceIndexSelector$1.run(ModelResourceIndexSelector.java:150)
> at org.teiid.designer.core.ModelEditorImpl.executeAsTransaction(ModelEditorImpl.java:567)
> at org.teiid.designer.core.ModelEditorImpl.executeAsTransaction(ModelEditorImpl.java:530)
> at org.teiid.designer.core.index.ModelResourceIndexSelector.updateIndexes(ModelResourceIndexSelector.java:156)
> at org.teiid.designer.core.index.ModelResourceIndexSelector.getIndexes(ModelResourceIndexSelector.java:62)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.getIndexes(TransformationMetadata.java:1239)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.queryIndex(TransformationMetadata.java:1604)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.findMetadataRecords(TransformationMetadata.java:1576)
> at org.teiid.designer.transformation.metadata.ModelerMetadata.findMetadataRecords(ModelerMetadata.java:239)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.getRecordByType(TransformationMetadata.java:1391)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.getGroupID(TransformationMetadata.java:141)
> at org.teiid.designer.query.metadata.DelegatingQueryMetadataInterface.getGroupID(DelegatingQueryMetadataInterface.java:46)
> at org.teiid.query.resolver.util.ResolverUtil.resolveGroup(ResolverUtil.java:919)
> at org.teiid.query.resolver.QueryResolver.resolveCommand(QueryResolver.java:228)
> at org.teiid.query.resolver.QueryResolver.resolveCommand(QueryResolver.java:247)
> at org.teiid.query.resolver.QueryResolver.resolveCommand(QueryResolver.java:1)
> at org.teiid.designer.transformation.validation.TransformationValidator.resolveCommand(TransformationValidator.java:462)
> at org.teiid.designer.transformation.validation.TransformationValidator.validateSql(TransformationValidator.java:357)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.createStatus(SqlMappingRootCache.java:752)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.getStatus(SqlMappingRootCache.java:833)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.getStatus(SqlMappingRootCache.java:794)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.getSqlString(SqlMappingRootCache.java:688)
> at org.teiid.designer.transformation.util.TransformationHelper.getSqlString(TransformationHelper.java:405)
> at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.setEditorContent(TransformationObjectEditorPage.java:969)
> at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.handleTransformationStatusChangeEvent(TransformationObjectEditorPage.java:1639)
> at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.processEvent(TransformationObjectEditorPage.java:2659)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.notifyEventListeners(SqlMappingRootCache.java:976)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.invalidateStatus(SqlMappingRootCache.java:519)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.invalidateSelectStatus(SqlMappingRootCache.java:115)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.invalidateSelectStatus(SqlMappingRootCache.java:107)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.invalidateCacheForProject(SqlMappingRootCache.java:250)
> at org.teiid.designer.transformation.ui.util.TransformationNotificationListener$WorkspaceNotificationListener$3.run(TransformationNotificationListener.java:2487)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3774)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3412)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 8 months
[JBoss JIRA] (TEIIDDES-2839) NPE Indexing Model
by Matus Makovy (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2839?page=com.atlassian.jira.plu... ]
Matus Makovy edited comment on TEIIDDES-2839 at 5/11/16 6:36 AM:
-----------------------------------------------------------------
[~van.halbert]
I cannot reproduce this. I imported the attached project and tried to change something in transformation and save again. I did not get NPE. And I also tried to move objects in Source models and save again, still no NullPointer.
was (Author: mmakovy):
[~van.halbert]
I can not reproduce this. I imported the attached project and tried to change something in transformation and save again. I did not get NPE. And I also tried to move objects in Source models and save again, still no NullPointer.
> NPE Indexing Model
> ------------------
>
> Key: TEIIDDES-2839
> URL: https://issues.jboss.org/browse/TEIIDDES-2839
> Project: Teiid Designer
> Issue Type: Bug
> Components: Modeling
> Affects Versions: 9.0.6
> Reporter: Van Halbert
> Priority: Blocker
> Attachments: modeshape_vdb_project.zip
>
>
> Trying to save the models and an NPE is created.
> java.lang.NullPointerException
> at org.teiid.designer.core.index.BlocksIndexInput.getNumFiles(BlocksIndexInput.java:160)
> at org.teiid.designer.core.index.IndexInput.hasMoreFiles(IndexInput.java:118)
> at org.teiid.designer.core.index.MergeFactory.mergeFiles(MergeFactory.java:107)
> at org.teiid.designer.core.index.MergeFactory.merge(MergeFactory.java:88)
> at org.teiid.designer.core.index.Index.merge(Index.java:282)
> at org.teiid.designer.core.index.Index.save(Index.java:442)
> at org.teiid.designer.core.index.ModelIndexer.indexResource(ModelIndexer.java:244)
> at org.teiid.designer.core.builder.ModelBuildUtil.indexResource(ModelBuildUtil.java:312)
> at org.teiid.designer.core.builder.ModelBuildUtil.indexResources(ModelBuildUtil.java:375)
> at org.teiid.designer.core.builder.ModelBuildUtil.createModelIndexes(ModelBuildUtil.java:234)
> at org.teiid.designer.core.index.ModelResourceIndexSelector$1.run(ModelResourceIndexSelector.java:150)
> at org.teiid.designer.core.ModelEditorImpl.executeAsTransaction(ModelEditorImpl.java:567)
> at org.teiid.designer.core.ModelEditorImpl.executeAsTransaction(ModelEditorImpl.java:530)
> at org.teiid.designer.core.index.ModelResourceIndexSelector.updateIndexes(ModelResourceIndexSelector.java:156)
> at org.teiid.designer.core.index.ModelResourceIndexSelector.getIndexes(ModelResourceIndexSelector.java:62)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.getIndexes(TransformationMetadata.java:1239)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.queryIndex(TransformationMetadata.java:1604)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.findMetadataRecords(TransformationMetadata.java:1576)
> at org.teiid.designer.transformation.metadata.ModelerMetadata.findMetadataRecords(ModelerMetadata.java:239)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.getRecordByType(TransformationMetadata.java:1391)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.getGroupID(TransformationMetadata.java:141)
> at org.teiid.designer.query.metadata.DelegatingQueryMetadataInterface.getGroupID(DelegatingQueryMetadataInterface.java:46)
> at org.teiid.query.resolver.util.ResolverUtil.resolveGroup(ResolverUtil.java:919)
> at org.teiid.query.resolver.QueryResolver.resolveCommand(QueryResolver.java:228)
> at org.teiid.query.resolver.QueryResolver.resolveCommand(QueryResolver.java:247)
> at org.teiid.query.resolver.QueryResolver.resolveCommand(QueryResolver.java:1)
> at org.teiid.designer.transformation.validation.TransformationValidator.resolveCommand(TransformationValidator.java:462)
> at org.teiid.designer.transformation.validation.TransformationValidator.validateSql(TransformationValidator.java:357)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.createStatus(SqlMappingRootCache.java:752)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.getStatus(SqlMappingRootCache.java:833)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.getStatus(SqlMappingRootCache.java:794)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.getSqlString(SqlMappingRootCache.java:688)
> at org.teiid.designer.transformation.util.TransformationHelper.getSqlString(TransformationHelper.java:405)
> at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.setEditorContent(TransformationObjectEditorPage.java:969)
> at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.handleTransformationStatusChangeEvent(TransformationObjectEditorPage.java:1639)
> at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.processEvent(TransformationObjectEditorPage.java:2659)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.notifyEventListeners(SqlMappingRootCache.java:976)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.invalidateStatus(SqlMappingRootCache.java:519)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.invalidateSelectStatus(SqlMappingRootCache.java:115)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.invalidateSelectStatus(SqlMappingRootCache.java:107)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.invalidateCacheForProject(SqlMappingRootCache.java:250)
> at org.teiid.designer.transformation.ui.util.TransformationNotificationListener$WorkspaceNotificationListener$3.run(TransformationNotificationListener.java:2487)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3774)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3412)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 8 months
[JBoss JIRA] (TEIIDDES-2839) NPE Indexing Model
by Matus Makovy (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2839?page=com.atlassian.jira.plu... ]
Matus Makovy edited comment on TEIIDDES-2839 at 5/11/16 4:56 AM:
-----------------------------------------------------------------
[~van.halbert]
I can not reproduce this. I imported the attached project and tried to change something in transformation and save again. I did not get NPE. And I also tried to move objects in Source models and save again, still no NullPointer.
was (Author: mmakovy):
[~van.halbert]
I can not reproduce this. I imported the attached project and tried to change something in transformation and save again. I did not get NPE.
> NPE Indexing Model
> ------------------
>
> Key: TEIIDDES-2839
> URL: https://issues.jboss.org/browse/TEIIDDES-2839
> Project: Teiid Designer
> Issue Type: Bug
> Components: Modeling
> Affects Versions: 9.0.6
> Reporter: Van Halbert
> Priority: Blocker
> Attachments: modeshape_vdb_project.zip
>
>
> Trying to save the models and an NPE is created.
> java.lang.NullPointerException
> at org.teiid.designer.core.index.BlocksIndexInput.getNumFiles(BlocksIndexInput.java:160)
> at org.teiid.designer.core.index.IndexInput.hasMoreFiles(IndexInput.java:118)
> at org.teiid.designer.core.index.MergeFactory.mergeFiles(MergeFactory.java:107)
> at org.teiid.designer.core.index.MergeFactory.merge(MergeFactory.java:88)
> at org.teiid.designer.core.index.Index.merge(Index.java:282)
> at org.teiid.designer.core.index.Index.save(Index.java:442)
> at org.teiid.designer.core.index.ModelIndexer.indexResource(ModelIndexer.java:244)
> at org.teiid.designer.core.builder.ModelBuildUtil.indexResource(ModelBuildUtil.java:312)
> at org.teiid.designer.core.builder.ModelBuildUtil.indexResources(ModelBuildUtil.java:375)
> at org.teiid.designer.core.builder.ModelBuildUtil.createModelIndexes(ModelBuildUtil.java:234)
> at org.teiid.designer.core.index.ModelResourceIndexSelector$1.run(ModelResourceIndexSelector.java:150)
> at org.teiid.designer.core.ModelEditorImpl.executeAsTransaction(ModelEditorImpl.java:567)
> at org.teiid.designer.core.ModelEditorImpl.executeAsTransaction(ModelEditorImpl.java:530)
> at org.teiid.designer.core.index.ModelResourceIndexSelector.updateIndexes(ModelResourceIndexSelector.java:156)
> at org.teiid.designer.core.index.ModelResourceIndexSelector.getIndexes(ModelResourceIndexSelector.java:62)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.getIndexes(TransformationMetadata.java:1239)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.queryIndex(TransformationMetadata.java:1604)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.findMetadataRecords(TransformationMetadata.java:1576)
> at org.teiid.designer.transformation.metadata.ModelerMetadata.findMetadataRecords(ModelerMetadata.java:239)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.getRecordByType(TransformationMetadata.java:1391)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.getGroupID(TransformationMetadata.java:141)
> at org.teiid.designer.query.metadata.DelegatingQueryMetadataInterface.getGroupID(DelegatingQueryMetadataInterface.java:46)
> at org.teiid.query.resolver.util.ResolverUtil.resolveGroup(ResolverUtil.java:919)
> at org.teiid.query.resolver.QueryResolver.resolveCommand(QueryResolver.java:228)
> at org.teiid.query.resolver.QueryResolver.resolveCommand(QueryResolver.java:247)
> at org.teiid.query.resolver.QueryResolver.resolveCommand(QueryResolver.java:1)
> at org.teiid.designer.transformation.validation.TransformationValidator.resolveCommand(TransformationValidator.java:462)
> at org.teiid.designer.transformation.validation.TransformationValidator.validateSql(TransformationValidator.java:357)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.createStatus(SqlMappingRootCache.java:752)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.getStatus(SqlMappingRootCache.java:833)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.getStatus(SqlMappingRootCache.java:794)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.getSqlString(SqlMappingRootCache.java:688)
> at org.teiid.designer.transformation.util.TransformationHelper.getSqlString(TransformationHelper.java:405)
> at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.setEditorContent(TransformationObjectEditorPage.java:969)
> at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.handleTransformationStatusChangeEvent(TransformationObjectEditorPage.java:1639)
> at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.processEvent(TransformationObjectEditorPage.java:2659)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.notifyEventListeners(SqlMappingRootCache.java:976)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.invalidateStatus(SqlMappingRootCache.java:519)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.invalidateSelectStatus(SqlMappingRootCache.java:115)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.invalidateSelectStatus(SqlMappingRootCache.java:107)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.invalidateCacheForProject(SqlMappingRootCache.java:250)
> at org.teiid.designer.transformation.ui.util.TransformationNotificationListener$WorkspaceNotificationListener$3.run(TransformationNotificationListener.java:2487)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3774)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3412)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 8 months
[JBoss JIRA] (TEIIDDES-2839) NPE Indexing Model
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2839?page=com.atlassian.jira.plu... ]
RH Bugzilla Integration commented on TEIIDDES-2839:
---------------------------------------------------
Matus Makovy <mmakovy(a)redhat.com> changed the Status of [bug 1334945|https://bugzilla.redhat.com/show_bug.cgi?id=1334945] from NEW to CLOSED
> NPE Indexing Model
> ------------------
>
> Key: TEIIDDES-2839
> URL: https://issues.jboss.org/browse/TEIIDDES-2839
> Project: Teiid Designer
> Issue Type: Bug
> Components: Modeling
> Affects Versions: 9.0.6
> Reporter: Van Halbert
> Priority: Blocker
> Attachments: modeshape_vdb_project.zip
>
>
> Trying to save the models and an NPE is created.
> java.lang.NullPointerException
> at org.teiid.designer.core.index.BlocksIndexInput.getNumFiles(BlocksIndexInput.java:160)
> at org.teiid.designer.core.index.IndexInput.hasMoreFiles(IndexInput.java:118)
> at org.teiid.designer.core.index.MergeFactory.mergeFiles(MergeFactory.java:107)
> at org.teiid.designer.core.index.MergeFactory.merge(MergeFactory.java:88)
> at org.teiid.designer.core.index.Index.merge(Index.java:282)
> at org.teiid.designer.core.index.Index.save(Index.java:442)
> at org.teiid.designer.core.index.ModelIndexer.indexResource(ModelIndexer.java:244)
> at org.teiid.designer.core.builder.ModelBuildUtil.indexResource(ModelBuildUtil.java:312)
> at org.teiid.designer.core.builder.ModelBuildUtil.indexResources(ModelBuildUtil.java:375)
> at org.teiid.designer.core.builder.ModelBuildUtil.createModelIndexes(ModelBuildUtil.java:234)
> at org.teiid.designer.core.index.ModelResourceIndexSelector$1.run(ModelResourceIndexSelector.java:150)
> at org.teiid.designer.core.ModelEditorImpl.executeAsTransaction(ModelEditorImpl.java:567)
> at org.teiid.designer.core.ModelEditorImpl.executeAsTransaction(ModelEditorImpl.java:530)
> at org.teiid.designer.core.index.ModelResourceIndexSelector.updateIndexes(ModelResourceIndexSelector.java:156)
> at org.teiid.designer.core.index.ModelResourceIndexSelector.getIndexes(ModelResourceIndexSelector.java:62)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.getIndexes(TransformationMetadata.java:1239)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.queryIndex(TransformationMetadata.java:1604)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.findMetadataRecords(TransformationMetadata.java:1576)
> at org.teiid.designer.transformation.metadata.ModelerMetadata.findMetadataRecords(ModelerMetadata.java:239)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.getRecordByType(TransformationMetadata.java:1391)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.getGroupID(TransformationMetadata.java:141)
> at org.teiid.designer.query.metadata.DelegatingQueryMetadataInterface.getGroupID(DelegatingQueryMetadataInterface.java:46)
> at org.teiid.query.resolver.util.ResolverUtil.resolveGroup(ResolverUtil.java:919)
> at org.teiid.query.resolver.QueryResolver.resolveCommand(QueryResolver.java:228)
> at org.teiid.query.resolver.QueryResolver.resolveCommand(QueryResolver.java:247)
> at org.teiid.query.resolver.QueryResolver.resolveCommand(QueryResolver.java:1)
> at org.teiid.designer.transformation.validation.TransformationValidator.resolveCommand(TransformationValidator.java:462)
> at org.teiid.designer.transformation.validation.TransformationValidator.validateSql(TransformationValidator.java:357)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.createStatus(SqlMappingRootCache.java:752)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.getStatus(SqlMappingRootCache.java:833)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.getStatus(SqlMappingRootCache.java:794)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.getSqlString(SqlMappingRootCache.java:688)
> at org.teiid.designer.transformation.util.TransformationHelper.getSqlString(TransformationHelper.java:405)
> at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.setEditorContent(TransformationObjectEditorPage.java:969)
> at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.handleTransformationStatusChangeEvent(TransformationObjectEditorPage.java:1639)
> at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.processEvent(TransformationObjectEditorPage.java:2659)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.notifyEventListeners(SqlMappingRootCache.java:976)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.invalidateStatus(SqlMappingRootCache.java:519)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.invalidateSelectStatus(SqlMappingRootCache.java:115)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.invalidateSelectStatus(SqlMappingRootCache.java:107)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.invalidateCacheForProject(SqlMappingRootCache.java:250)
> at org.teiid.designer.transformation.ui.util.TransformationNotificationListener$WorkspaceNotificationListener$3.run(TransformationNotificationListener.java:2487)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3774)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3412)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 8 months
[JBoss JIRA] (TEIIDDES-2839) NPE Indexing Model
by Matus Makovy (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2839?page=com.atlassian.jira.plu... ]
Matus Makovy commented on TEIIDDES-2839:
----------------------------------------
[~van.halbert]
I can not reproduce this. I imported the attached project and tried to change something in transformation and save again. I did not get NPE.
> NPE Indexing Model
> ------------------
>
> Key: TEIIDDES-2839
> URL: https://issues.jboss.org/browse/TEIIDDES-2839
> Project: Teiid Designer
> Issue Type: Bug
> Components: Modeling
> Affects Versions: 9.0.6
> Reporter: Van Halbert
> Priority: Blocker
> Attachments: modeshape_vdb_project.zip
>
>
> Trying to save the models and an NPE is created.
> java.lang.NullPointerException
> at org.teiid.designer.core.index.BlocksIndexInput.getNumFiles(BlocksIndexInput.java:160)
> at org.teiid.designer.core.index.IndexInput.hasMoreFiles(IndexInput.java:118)
> at org.teiid.designer.core.index.MergeFactory.mergeFiles(MergeFactory.java:107)
> at org.teiid.designer.core.index.MergeFactory.merge(MergeFactory.java:88)
> at org.teiid.designer.core.index.Index.merge(Index.java:282)
> at org.teiid.designer.core.index.Index.save(Index.java:442)
> at org.teiid.designer.core.index.ModelIndexer.indexResource(ModelIndexer.java:244)
> at org.teiid.designer.core.builder.ModelBuildUtil.indexResource(ModelBuildUtil.java:312)
> at org.teiid.designer.core.builder.ModelBuildUtil.indexResources(ModelBuildUtil.java:375)
> at org.teiid.designer.core.builder.ModelBuildUtil.createModelIndexes(ModelBuildUtil.java:234)
> at org.teiid.designer.core.index.ModelResourceIndexSelector$1.run(ModelResourceIndexSelector.java:150)
> at org.teiid.designer.core.ModelEditorImpl.executeAsTransaction(ModelEditorImpl.java:567)
> at org.teiid.designer.core.ModelEditorImpl.executeAsTransaction(ModelEditorImpl.java:530)
> at org.teiid.designer.core.index.ModelResourceIndexSelector.updateIndexes(ModelResourceIndexSelector.java:156)
> at org.teiid.designer.core.index.ModelResourceIndexSelector.getIndexes(ModelResourceIndexSelector.java:62)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.getIndexes(TransformationMetadata.java:1239)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.queryIndex(TransformationMetadata.java:1604)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.findMetadataRecords(TransformationMetadata.java:1576)
> at org.teiid.designer.transformation.metadata.ModelerMetadata.findMetadataRecords(ModelerMetadata.java:239)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.getRecordByType(TransformationMetadata.java:1391)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.getGroupID(TransformationMetadata.java:141)
> at org.teiid.designer.query.metadata.DelegatingQueryMetadataInterface.getGroupID(DelegatingQueryMetadataInterface.java:46)
> at org.teiid.query.resolver.util.ResolverUtil.resolveGroup(ResolverUtil.java:919)
> at org.teiid.query.resolver.QueryResolver.resolveCommand(QueryResolver.java:228)
> at org.teiid.query.resolver.QueryResolver.resolveCommand(QueryResolver.java:247)
> at org.teiid.query.resolver.QueryResolver.resolveCommand(QueryResolver.java:1)
> at org.teiid.designer.transformation.validation.TransformationValidator.resolveCommand(TransformationValidator.java:462)
> at org.teiid.designer.transformation.validation.TransformationValidator.validateSql(TransformationValidator.java:357)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.createStatus(SqlMappingRootCache.java:752)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.getStatus(SqlMappingRootCache.java:833)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.getStatus(SqlMappingRootCache.java:794)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.getSqlString(SqlMappingRootCache.java:688)
> at org.teiid.designer.transformation.util.TransformationHelper.getSqlString(TransformationHelper.java:405)
> at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.setEditorContent(TransformationObjectEditorPage.java:969)
> at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.handleTransformationStatusChangeEvent(TransformationObjectEditorPage.java:1639)
> at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.processEvent(TransformationObjectEditorPage.java:2659)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.notifyEventListeners(SqlMappingRootCache.java:976)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.invalidateStatus(SqlMappingRootCache.java:519)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.invalidateSelectStatus(SqlMappingRootCache.java:115)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.invalidateSelectStatus(SqlMappingRootCache.java:107)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.invalidateCacheForProject(SqlMappingRootCache.java:250)
> at org.teiid.designer.transformation.ui.util.TransformationNotificationListener$WorkspaceNotificationListener$3.run(TransformationNotificationListener.java:2487)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3774)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3412)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 8 months
[JBoss JIRA] (TEIIDDES-2839) NPE Indexing Model
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2839?page=com.atlassian.jira.plu... ]
RH Bugzilla Integration updated TEIIDDES-2839:
----------------------------------------------
Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1334945
Bugzilla Update: Perform
> NPE Indexing Model
> ------------------
>
> Key: TEIIDDES-2839
> URL: https://issues.jboss.org/browse/TEIIDDES-2839
> Project: Teiid Designer
> Issue Type: Bug
> Components: Modeling
> Affects Versions: 9.0.6
> Reporter: Van Halbert
> Priority: Blocker
> Attachments: modeshape_vdb_project.zip
>
>
> Trying to save the models and an NPE is created.
> java.lang.NullPointerException
> at org.teiid.designer.core.index.BlocksIndexInput.getNumFiles(BlocksIndexInput.java:160)
> at org.teiid.designer.core.index.IndexInput.hasMoreFiles(IndexInput.java:118)
> at org.teiid.designer.core.index.MergeFactory.mergeFiles(MergeFactory.java:107)
> at org.teiid.designer.core.index.MergeFactory.merge(MergeFactory.java:88)
> at org.teiid.designer.core.index.Index.merge(Index.java:282)
> at org.teiid.designer.core.index.Index.save(Index.java:442)
> at org.teiid.designer.core.index.ModelIndexer.indexResource(ModelIndexer.java:244)
> at org.teiid.designer.core.builder.ModelBuildUtil.indexResource(ModelBuildUtil.java:312)
> at org.teiid.designer.core.builder.ModelBuildUtil.indexResources(ModelBuildUtil.java:375)
> at org.teiid.designer.core.builder.ModelBuildUtil.createModelIndexes(ModelBuildUtil.java:234)
> at org.teiid.designer.core.index.ModelResourceIndexSelector$1.run(ModelResourceIndexSelector.java:150)
> at org.teiid.designer.core.ModelEditorImpl.executeAsTransaction(ModelEditorImpl.java:567)
> at org.teiid.designer.core.ModelEditorImpl.executeAsTransaction(ModelEditorImpl.java:530)
> at org.teiid.designer.core.index.ModelResourceIndexSelector.updateIndexes(ModelResourceIndexSelector.java:156)
> at org.teiid.designer.core.index.ModelResourceIndexSelector.getIndexes(ModelResourceIndexSelector.java:62)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.getIndexes(TransformationMetadata.java:1239)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.queryIndex(TransformationMetadata.java:1604)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.findMetadataRecords(TransformationMetadata.java:1576)
> at org.teiid.designer.transformation.metadata.ModelerMetadata.findMetadataRecords(ModelerMetadata.java:239)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.getRecordByType(TransformationMetadata.java:1391)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.getGroupID(TransformationMetadata.java:141)
> at org.teiid.designer.query.metadata.DelegatingQueryMetadataInterface.getGroupID(DelegatingQueryMetadataInterface.java:46)
> at org.teiid.query.resolver.util.ResolverUtil.resolveGroup(ResolverUtil.java:919)
> at org.teiid.query.resolver.QueryResolver.resolveCommand(QueryResolver.java:228)
> at org.teiid.query.resolver.QueryResolver.resolveCommand(QueryResolver.java:247)
> at org.teiid.query.resolver.QueryResolver.resolveCommand(QueryResolver.java:1)
> at org.teiid.designer.transformation.validation.TransformationValidator.resolveCommand(TransformationValidator.java:462)
> at org.teiid.designer.transformation.validation.TransformationValidator.validateSql(TransformationValidator.java:357)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.createStatus(SqlMappingRootCache.java:752)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.getStatus(SqlMappingRootCache.java:833)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.getStatus(SqlMappingRootCache.java:794)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.getSqlString(SqlMappingRootCache.java:688)
> at org.teiid.designer.transformation.util.TransformationHelper.getSqlString(TransformationHelper.java:405)
> at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.setEditorContent(TransformationObjectEditorPage.java:969)
> at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.handleTransformationStatusChangeEvent(TransformationObjectEditorPage.java:1639)
> at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.processEvent(TransformationObjectEditorPage.java:2659)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.notifyEventListeners(SqlMappingRootCache.java:976)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.invalidateStatus(SqlMappingRootCache.java:519)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.invalidateSelectStatus(SqlMappingRootCache.java:115)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.invalidateSelectStatus(SqlMappingRootCache.java:107)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.invalidateCacheForProject(SqlMappingRootCache.java:250)
> at org.teiid.designer.transformation.ui.util.TransformationNotificationListener$WorkspaceNotificationListener$3.run(TransformationNotificationListener.java:2487)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3774)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3412)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 8 months
[JBoss JIRA] (TEIIDDES-2839) NPE Indexing Model
by Van Halbert (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2839?page=com.atlassian.jira.plu... ]
Van Halbert updated TEIIDDES-2839:
----------------------------------
Attachment: modeshape_vdb_project.zip
attached Modeshape model project set.
> NPE Indexing Model
> ------------------
>
> Key: TEIIDDES-2839
> URL: https://issues.jboss.org/browse/TEIIDDES-2839
> Project: Teiid Designer
> Issue Type: Bug
> Components: Modeling
> Affects Versions: 9.0.6
> Reporter: Van Halbert
> Priority: Blocker
> Attachments: modeshape_vdb_project.zip
>
>
> Trying to save the models and an NPE is created.
> java.lang.NullPointerException
> at org.teiid.designer.core.index.BlocksIndexInput.getNumFiles(BlocksIndexInput.java:160)
> at org.teiid.designer.core.index.IndexInput.hasMoreFiles(IndexInput.java:118)
> at org.teiid.designer.core.index.MergeFactory.mergeFiles(MergeFactory.java:107)
> at org.teiid.designer.core.index.MergeFactory.merge(MergeFactory.java:88)
> at org.teiid.designer.core.index.Index.merge(Index.java:282)
> at org.teiid.designer.core.index.Index.save(Index.java:442)
> at org.teiid.designer.core.index.ModelIndexer.indexResource(ModelIndexer.java:244)
> at org.teiid.designer.core.builder.ModelBuildUtil.indexResource(ModelBuildUtil.java:312)
> at org.teiid.designer.core.builder.ModelBuildUtil.indexResources(ModelBuildUtil.java:375)
> at org.teiid.designer.core.builder.ModelBuildUtil.createModelIndexes(ModelBuildUtil.java:234)
> at org.teiid.designer.core.index.ModelResourceIndexSelector$1.run(ModelResourceIndexSelector.java:150)
> at org.teiid.designer.core.ModelEditorImpl.executeAsTransaction(ModelEditorImpl.java:567)
> at org.teiid.designer.core.ModelEditorImpl.executeAsTransaction(ModelEditorImpl.java:530)
> at org.teiid.designer.core.index.ModelResourceIndexSelector.updateIndexes(ModelResourceIndexSelector.java:156)
> at org.teiid.designer.core.index.ModelResourceIndexSelector.getIndexes(ModelResourceIndexSelector.java:62)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.getIndexes(TransformationMetadata.java:1239)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.queryIndex(TransformationMetadata.java:1604)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.findMetadataRecords(TransformationMetadata.java:1576)
> at org.teiid.designer.transformation.metadata.ModelerMetadata.findMetadataRecords(ModelerMetadata.java:239)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.getRecordByType(TransformationMetadata.java:1391)
> at org.teiid.designer.transformation.metadata.TransformationMetadata.getGroupID(TransformationMetadata.java:141)
> at org.teiid.designer.query.metadata.DelegatingQueryMetadataInterface.getGroupID(DelegatingQueryMetadataInterface.java:46)
> at org.teiid.query.resolver.util.ResolverUtil.resolveGroup(ResolverUtil.java:919)
> at org.teiid.query.resolver.QueryResolver.resolveCommand(QueryResolver.java:228)
> at org.teiid.query.resolver.QueryResolver.resolveCommand(QueryResolver.java:247)
> at org.teiid.query.resolver.QueryResolver.resolveCommand(QueryResolver.java:1)
> at org.teiid.designer.transformation.validation.TransformationValidator.resolveCommand(TransformationValidator.java:462)
> at org.teiid.designer.transformation.validation.TransformationValidator.validateSql(TransformationValidator.java:357)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.createStatus(SqlMappingRootCache.java:752)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.getStatus(SqlMappingRootCache.java:833)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.getStatus(SqlMappingRootCache.java:794)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.getSqlString(SqlMappingRootCache.java:688)
> at org.teiid.designer.transformation.util.TransformationHelper.getSqlString(TransformationHelper.java:405)
> at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.setEditorContent(TransformationObjectEditorPage.java:969)
> at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.handleTransformationStatusChangeEvent(TransformationObjectEditorPage.java:1639)
> at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.processEvent(TransformationObjectEditorPage.java:2659)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.notifyEventListeners(SqlMappingRootCache.java:976)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.invalidateStatus(SqlMappingRootCache.java:519)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.invalidateSelectStatus(SqlMappingRootCache.java:115)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.invalidateSelectStatus(SqlMappingRootCache.java:107)
> at org.teiid.designer.transformation.util.SqlMappingRootCache.invalidateCacheForProject(SqlMappingRootCache.java:250)
> at org.teiid.designer.transformation.ui.util.TransformationNotificationListener$WorkspaceNotificationListener$3.run(TransformationNotificationListener.java:2487)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3774)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3412)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 8 months
[JBoss JIRA] (TEIIDDES-2839) NPE Indexing Model
by Van Halbert (JIRA)
Van Halbert created TEIIDDES-2839:
-------------------------------------
Summary: NPE Indexing Model
Key: TEIIDDES-2839
URL: https://issues.jboss.org/browse/TEIIDDES-2839
Project: Teiid Designer
Issue Type: Bug
Components: Modeling
Affects Versions: 9.0.6
Reporter: Van Halbert
Priority: Blocker
Attachments: modeshape_vdb_project.zip
Trying to save the models and an NPE is created.
java.lang.NullPointerException
at org.teiid.designer.core.index.BlocksIndexInput.getNumFiles(BlocksIndexInput.java:160)
at org.teiid.designer.core.index.IndexInput.hasMoreFiles(IndexInput.java:118)
at org.teiid.designer.core.index.MergeFactory.mergeFiles(MergeFactory.java:107)
at org.teiid.designer.core.index.MergeFactory.merge(MergeFactory.java:88)
at org.teiid.designer.core.index.Index.merge(Index.java:282)
at org.teiid.designer.core.index.Index.save(Index.java:442)
at org.teiid.designer.core.index.ModelIndexer.indexResource(ModelIndexer.java:244)
at org.teiid.designer.core.builder.ModelBuildUtil.indexResource(ModelBuildUtil.java:312)
at org.teiid.designer.core.builder.ModelBuildUtil.indexResources(ModelBuildUtil.java:375)
at org.teiid.designer.core.builder.ModelBuildUtil.createModelIndexes(ModelBuildUtil.java:234)
at org.teiid.designer.core.index.ModelResourceIndexSelector$1.run(ModelResourceIndexSelector.java:150)
at org.teiid.designer.core.ModelEditorImpl.executeAsTransaction(ModelEditorImpl.java:567)
at org.teiid.designer.core.ModelEditorImpl.executeAsTransaction(ModelEditorImpl.java:530)
at org.teiid.designer.core.index.ModelResourceIndexSelector.updateIndexes(ModelResourceIndexSelector.java:156)
at org.teiid.designer.core.index.ModelResourceIndexSelector.getIndexes(ModelResourceIndexSelector.java:62)
at org.teiid.designer.transformation.metadata.TransformationMetadata.getIndexes(TransformationMetadata.java:1239)
at org.teiid.designer.transformation.metadata.TransformationMetadata.queryIndex(TransformationMetadata.java:1604)
at org.teiid.designer.transformation.metadata.TransformationMetadata.findMetadataRecords(TransformationMetadata.java:1576)
at org.teiid.designer.transformation.metadata.ModelerMetadata.findMetadataRecords(ModelerMetadata.java:239)
at org.teiid.designer.transformation.metadata.TransformationMetadata.getRecordByType(TransformationMetadata.java:1391)
at org.teiid.designer.transformation.metadata.TransformationMetadata.getGroupID(TransformationMetadata.java:141)
at org.teiid.designer.query.metadata.DelegatingQueryMetadataInterface.getGroupID(DelegatingQueryMetadataInterface.java:46)
at org.teiid.query.resolver.util.ResolverUtil.resolveGroup(ResolverUtil.java:919)
at org.teiid.query.resolver.QueryResolver.resolveCommand(QueryResolver.java:228)
at org.teiid.query.resolver.QueryResolver.resolveCommand(QueryResolver.java:247)
at org.teiid.query.resolver.QueryResolver.resolveCommand(QueryResolver.java:1)
at org.teiid.designer.transformation.validation.TransformationValidator.resolveCommand(TransformationValidator.java:462)
at org.teiid.designer.transformation.validation.TransformationValidator.validateSql(TransformationValidator.java:357)
at org.teiid.designer.transformation.util.SqlMappingRootCache.createStatus(SqlMappingRootCache.java:752)
at org.teiid.designer.transformation.util.SqlMappingRootCache.getStatus(SqlMappingRootCache.java:833)
at org.teiid.designer.transformation.util.SqlMappingRootCache.getStatus(SqlMappingRootCache.java:794)
at org.teiid.designer.transformation.util.SqlMappingRootCache.getSqlString(SqlMappingRootCache.java:688)
at org.teiid.designer.transformation.util.TransformationHelper.getSqlString(TransformationHelper.java:405)
at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.setEditorContent(TransformationObjectEditorPage.java:969)
at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.handleTransformationStatusChangeEvent(TransformationObjectEditorPage.java:1639)
at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.processEvent(TransformationObjectEditorPage.java:2659)
at org.teiid.designer.transformation.util.SqlMappingRootCache.notifyEventListeners(SqlMappingRootCache.java:976)
at org.teiid.designer.transformation.util.SqlMappingRootCache.invalidateStatus(SqlMappingRootCache.java:519)
at org.teiid.designer.transformation.util.SqlMappingRootCache.invalidateSelectStatus(SqlMappingRootCache.java:115)
at org.teiid.designer.transformation.util.SqlMappingRootCache.invalidateSelectStatus(SqlMappingRootCache.java:107)
at org.teiid.designer.transformation.util.SqlMappingRootCache.invalidateCacheForProject(SqlMappingRootCache.java:250)
at org.teiid.designer.transformation.ui.util.TransformationNotificationListener$WorkspaceNotificationListener$3.run(TransformationNotificationListener.java:2487)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3774)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3412)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 8 months