-
Bug
-
Resolution: Done
-
Blocker
-
11.1.3
-
None
Generate models and VDB from dynamic VDB (XML file) which contains UDF function doesn't work. After click on generate button, "the problem occurred" windows appears (generate_from_xml.png) with
An exception occurred while performing a VDB operation * null
An exception stack trace is not available in the Error log.
Also, generate view model from the DDL file which contains UDF function doesn't work. The last step in the wizard shows NullPointerException (generate_from_ddl.png) and in the log is this stack trace:
java.lang.Exception: java.lang.NullPointerException at org.teiid.core.designer.util.OperationUtil.perform(OperationUtil.java:54) at org.teiid.designer.ddl.importer.DdlImporter.importDdl(DdlImporter.java:116) at org.teiid.designer.ddl.importer.ui.DdlImportDifferencesPage$1.run(DdlImportDifferencesPage.java:232) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119) Caused by: java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:460) at org.teiid.designer.relational.model.RelationalProcedure.handleInfoChanged(RelationalProcedure.java:578) at org.teiid.designer.relational.model.RelationalProcedure.setJavaMethodName(RelationalProcedure.java:321) at org.teiid.designer.ddl.importer.node.teiid.TeiidDdlImporter.processTeiidProcedureOptions(TeiidDdlImporter.java:1189) at org.teiid.designer.ddl.importer.node.teiid.TeiidDdlImporter.processTeiidStandardOptions(TeiidDdlImporter.java:996) at org.teiid.designer.ddl.importer.node.teiid.TeiidDdlImporter.processOptions(TeiidDdlImporter.java:975) at org.teiid.designer.ddl.importer.node.teiid.TeiidDdlImporter.createVirtualProcedure(TeiidDdlImporter.java:684) at org.teiid.designer.ddl.importer.node.teiid.TeiidDdlImporter.createObject(TeiidDdlImporter.java:894) at org.teiid.designer.ddl.importer.node.teiid.TeiidDdlImporter.importNode(TeiidDdlImporter.java:778) at org.teiid.designer.ddl.importer.DdlImporter.importTeiidDdl(DdlImporter.java:322) at org.teiid.designer.ddl.importer.DdlImporter.importDdl(DdlImporter.java:163) at org.teiid.designer.ddl.importer.DdlImporter.importDdl(DdlImporter.java:151) at org.teiid.designer.ddl.importer.DdlImporter$1.tryToDo(DdlImporter.java:132) at org.teiid.core.designer.util.OperationUtil.perform(OperationUtil.java:41) ... 3 more
I have tried all these cases with TD 11.1.1 and they work.