[teiid-issues] [JBoss JIRA] Resolved: (TEIID-1274) NPE during the execution of query when a wrong JNDI name supplied

Ramesh Reddy (JIRA) jira-events at lists.jboss.org
Thu Sep 23 17:11:28 EDT 2010


     [ https://jira.jboss.org/browse/TEIID-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ramesh Reddy resolved TEIID-1274.
---------------------------------

    Resolution: Done


Fixed the code to throw exception when the connection factory defined is not found in the JNDI context. This will report error correctly to user instead of the NPE.

> NPE during the execution of query when a wrong JNDI name supplied
> -----------------------------------------------------------------
>
>                 Key: TEIID-1274
>                 URL: https://jira.jboss.org/browse/TEIID-1274
>             Project: Teiid
>          Issue Type: Bug
>          Components: Query Engine
>    Affects Versions: 7.1
>            Reporter: Ramesh Reddy
>            Assignee: Ramesh Reddy
>             Fix For: 7.1.1
>
>
> java.lang.NullPointerException
>         at org.teiid.translator.ws.WSProcedureExecution.execute(WSProcedureExecution.java:99)
>         at org.teiid.dqp.internal.datamgr.ConnectorWorkItem.execute(ConnectorWorkItem.java:263)
>         at org.teiid.dqp.internal.process.DataTierTupleSource.getResults(DataTierTupleSource.java:281)
>         at org.teiid.dqp.internal.process.DataTierTupleSource.access$000(DataTierTupleSource.java:72)
>         at org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:124)
>         at org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:121)
>         at org.teiid.dqp.internal.process.DQPCore$FutureWork.run(DQPCore.java:108)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the teiid-issues mailing list