[
https://issues.jboss.org/browse/TEIID-1836?page=com.atlassian.jira.plugin...
]
Steven Hawkins commented on TEIID-1836:
---------------------------------------
An endpoint is not required in either the datasource (so the vdb cannot be considered
inactive) or the query. We can add a null check on our side if they are both null, but I
would have expected cxf to complain when we created the port. I guess it eventually did,
just not in an obvious way :)
More than likely modern versions of cxf would have caught this on their own. My
assessment would be to fix for 7.6.
NPE running query of Web service (WSDL imported into Relational
Model)
----------------------------------------------------------------------
Key: TEIID-1836
URL:
https://issues.jboss.org/browse/TEIID-1836
Project: Teiid
Issue Type: Bug
Components: Query Engine
Affects Versions: 7.4.1
Reporter: Paul Nittel
Assignee: Steven Hawkins
Attachments: PartsWeb-ds.xml, server.log, WsdlToRel_MPS.zip
Using the attached project, I executed (from DTP): exec MaybeThisOne.NewProcedure()
On the server, I received this exception:
2011-11-18 09:02:53,137 ERROR [org.teiid.CONNECTOR] (Worker18_QueryProcessorQueue105)
Connector worker process failed for atomic-request=vMl7hPK9M4Fm.0.10.8
java.lang.NullPointerException
at
org.apache.cxf.transport.DestinationFactoryManagerImpl.getDestinationFactoryForUri(DestinationFactoryManagerImpl.java:127)
at org.apache.cxf.jaxws.ServiceImpl.createEndpointInfo(ServiceImpl.java:510)
at org.apache.cxf.jaxws.ServiceImpl.getJaxwsEndpoint(ServiceImpl.java:248)
at org.apache.cxf.jaxws.ServiceImpl.createDispatch(ServiceImpl.java:617)
at org.apache.cxf.jaxws.ServiceImpl.createDispatch(ServiceImpl.java:598)
at javax.xml.ws.Service.createDispatch(Service.java:325)
at
org.teiid.resource.adapter.ws.WSConnectionImpl.createDispatch(WSConnectionImpl.java:234)
at org.teiid.translator.ws.WSProcedureExecution.execute(WSProcedureExecution.java:99)
at org.teiid.dqp.internal.datamgr.ConnectorWorkItem.execute(ConnectorWorkItem.java:264)
at
org.teiid.dqp.internal.process.DataTierTupleSource.getResults(DataTierTupleSource.java:338)
at
org.teiid.dqp.internal.process.DataTierTupleSource.access$000(DataTierTupleSource.java:80)
at
org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:138)
at
org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:135)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at org.teiid.dqp.internal.process.DQPCore$FutureWork.run(DQPCore.java:121)
at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:230)
at
org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:118)
at
org.teiid.dqp.internal.process.ThreadReuseExecutor$3.run(ThreadReuseExecutor.java:288)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
2011-11-18 09:02:53,138 ERROR [org.teiid.PROCESSOR] (Worker17_QueryProcessorQueue106)
Unexpected exception for request vMl7hPK9M4Fm.0
java.lang.NullPointerException
at
org.apache.cxf.transport.DestinationFactoryManagerImpl.getDestinationFactoryForUri(DestinationFactoryManagerImpl.java:127)
at org.apache.cxf.jaxws.ServiceImpl.createEndpointInfo(ServiceImpl.java:510)
at org.apache.cxf.jaxws.ServiceImpl.getJaxwsEndpoint(ServiceImpl.java:248)
at org.apache.cxf.jaxws.ServiceImpl.createDispatch(ServiceImpl.java:617)
at org.apache.cxf.jaxws.ServiceImpl.createDispatch(ServiceImpl.java:598)
at javax.xml.ws.Service.createDispatch(Service.java:325)
at
org.teiid.resource.adapter.ws.WSConnectionImpl.createDispatch(WSConnectionImpl.java:234)
at org.teiid.translator.ws.WSProcedureExecution.execute(WSProcedureExecution.java:99)
at org.teiid.dqp.internal.datamgr.ConnectorWorkItem.execute(ConnectorWorkItem.java:264)
at
org.teiid.dqp.internal.process.DataTierTupleSource.getResults(DataTierTupleSource.java:338)
at
org.teiid.dqp.internal.process.DataTierTupleSource.access$000(DataTierTupleSource.java:80)
at
org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:138)
at
org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:135)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at org.teiid.dqp.internal.process.DQPCore$FutureWork.run(DQPCore.java:121)
at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:230)
at
org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:118)
at
org.teiid.dqp.internal.process.ThreadReuseExecutor$3.run(ThreadReuseExecutor.java:288)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira