-
1. Re: Dynamic VDB deployment fails when using importer.importIndexes in the case of a index returned from SQL metadata containing a null entry
shawkins Jan 31, 2013 9:18 AM (in response to yjma2001)Do you have a full message and/or stack trace for this? If the name lookup is failing you would expect to see the same message as https://community.jboss.org/message/795305
The fix for https://issues.jboss.org/browse/TEIID-2368 will be in shortly if you want to retest against latest or Beta2 should be out ~ Feb 11.
Steve
-
2. Re: Dynamic VDB deployment fails when using importer.importIndexes in the case of a index returned from SQL metadata containing a null entry
yjma2001 Jan 31, 2013 11:13 AM (in response to shawkins)Hi Steve:
There is no other exception or error message in the server.log except the one I posted:
01:04:53,093 WARN [org.teiid.RUNTIME] (teiid-async-threads - 1) TEIID50036 VDB testvdb.1 model "testds" metadata failed to load. Reason:null
Since in this case, column name is null, the "getColumnByName(columnName)" just throws some exception I did not think teiid handles it.
Thanks
Jack
-
3. Re: Dynamic VDB deployment fails when using importer.importIndexes in the case of a index returned from SQL metadata containing a null entry
shawkins Jan 31, 2013 2:30 PM (in response to yjma2001)Yes, the TreeMap will throw an NPE and we end up swallowing the stacktrace. https://issues.jboss.org/browse/TEIID-2368 corrects both the missing/null column and ensures that the stacktrace should be displayed for any similar errors.
Thanks,
Steve