Errors when importing procedures from relational (Oracle) source
----------------------------------------------------------------
Key: TEIIDDES-227
URL:
https://jira.jboss.org/jira/browse/TEIIDDES-227
Project: Teiid Designer
Issue Type: Bug
Components: Import/Export
Affects Versions: 6.2.0
Environment: fedora 10, Designer 6.2 RC1
Reporter: Paul Nittel
I tried to import the procedures from the Oracle 10g BQT source and ran into a set of
problems.
1 - At the end of the import, a dialog is shown that proclaims the import failed (Unabled
to import model into workspace. See log for details). Yes, it does say,
"Unabled." In the log file there was this NPE:
!ENTRY org.teiid.designer.jdbc.relational 4 3003 2009-09-22 07:52:50.914
!MESSAGE Import resulted in 1 errors
!SUBENTRY 1 org.teiid.designer.jdbc.relational 4 0 2009-09-22 07:52:50.914
!MESSAGE Unexpected exception while creating relational model from BQT O11
!STACK 0
java.lang.NullPointerException
at
com.metamatrix.modeler.jdbc.relational.impl.custom.OracleModelProcessor.computeNameInSource(OracleModelProcessor.java:274)
at
com.metamatrix.modeler.jdbc.relational.impl.RelationalModelProcessorImpl.setNameAndNameInSource(RelationalModelProcessorImpl.java:2441)
at
com.metamatrix.modeler.jdbc.relational.impl.RelationalModelProcessorImpl.createParameters(RelationalModelProcessorImpl.java:2192)
at
com.metamatrix.modeler.jdbc.relational.impl.RelationalModelProcessorImpl.createNewObject(RelationalModelProcessorImpl.java:1129)
at
com.metamatrix.modeler.jdbc.relational.impl.RelationalModelProcessorImpl.performExecute(RelationalModelProcessorImpl.java:816)
at
com.metamatrix.modeler.jdbc.relational.impl.RelationalModelProcessorImpl$1.run(RelationalModelProcessorImpl.java:336)
at
com.metamatrix.modeler.internal.core.ModelEditorImpl.executeAsTransaction(ModelEditorImpl.java:541)
at
com.metamatrix.modeler.internal.core.ModelEditorImpl.executeAsTransaction(ModelEditorImpl.java:584)
at
com.metamatrix.modeler.jdbc.relational.impl.RelationalModelProcessorImpl.executeWithinTransaction(RelationalModelProcessorImpl.java:343)
at
com.metamatrix.modeler.jdbc.relational.impl.RelationalModelProcessorImpl.executeWithinTransaction(RelationalModelProcessorImpl.java:319)
at
com.metamatrix.modeler.jdbc.relational.impl.RelationalModelProcessorImpl.execute(RelationalModelProcessorImpl.java:309)
at
com.metamatrix.modeler.internal.jdbc.ui.wizards.JdbcImportWizard.runFinish(JdbcImportWizard.java:677)
at
com.metamatrix.modeler.internal.jdbc.ui.wizards.JdbcImportWizard$1.run(JdbcImportWizard.java:262)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
!SUBENTRY 1 org.teiid.designer.compare 0 60002 2009-09-22 07:52:50.914
!MESSAGE Merging completed
2 - I tried a different approach where I imported tables and then imported (update) to get
the procedures. I deselected all procedures and added these: SP_ALL_SMALLA_ROWS,
SP_COUNTSMALLA, SP_COUNT_ALL_SMALLA_ROWS, SP_COUNT_ROWS_BETWEEN, and SP_ROWS_BETWEEN. The
result was no tables and only the name of the SP_ALL_SMALLA_ROWS procedure (no actual
procedure). The Review Updates panel of the wizard shows only one new entry:
SP_ALL_SMALLA_ROWS. Clicking Finish produces the error.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira