Created attachment 1182954 [details] NPE stack trace Description of problem: NPE is thrown while creating local temporary table if "set showplan on"/debug was previously set. Version-Release number of selected component (if applicable): driver jboss-dv-6.3.0.ER5-teiid-jdbc.jar How reproducible: Steps to Reproduce: 1. Connect to dynamic vdb temptab (no data roles defined) - content of method m3() in class Teiid4324: ... [71] ConnectionImpl ci = TeiidDriver.getInstance().connect("jdbc:teiid:temptab@mm://localhost:31000",props); [72] ci.createStatement().execute("SET SHOWPLAN ON"); [73] ci.createStatement().execute("create local temporary table #abc ( a varchar )"); ... 2. if line 72 executes query SET SHOWPLAN ON or SET SHOWPLAN DEBUG, on line 73 is thrown NPE 3. if line 72 is removed, no exception occurs Actual results: Expected results: Additional info: server log is unchanged during execution, application log is attached
Created jira TEIID-4349
The exception seems related only to my IDE eclipse, it didn't appear if I re-run code from command line. I guess there is no bug then.
Lucie Fabrikova <lfabriko> updated the status of jira TEIID-4349 to Closed
Steven Hawkins <shawkins> updated the status of jira TEIID-4349 to Reopened
Steven Hawkins <shawkins> updated the status of jira TEIID-4349 to Closed