[jira] Updated: (TUSCANY-862) NPE when doing CurrentCompositeContext.locateService on a reference which uses interface.wsdl
[ http://issues.apache.org/jira/browse/TUSCANY-862?page=all ] Jeremy Boynes updated TUSCANY-862: -- Fix Version/s: Java-Mx (was: Java-M2) Big enough change that it's probably too much for M2 > NPE when doing CurrentCompositeContext.locateService on a reference which > uses interface.wsdl > - > > Key: TUSCANY-862 > URL: http://issues.apache.org/jira/browse/TUSCANY-862 > Project: Tuscany > Issue Type: Bug > Components: Java SCA Core >Affects Versions: Java-M2 >Reporter: ant elder > Assigned To: Jeremy Boynes > Fix For: Java-Mx > > > If you do CurrentCompositeContext.locateService on a reference which uses > interface.wsdl you get a NPE: > java.lang.NullPointerException > at > org.apache.tuscany.core.wire.jdk.JDKWireService.createProxy(JDKWireService.java:92) > at > org.apache.tuscany.spi.extension.ReferenceExtension.getServiceInstance(ReferenceExtension.java:81) > at > org.apache.tuscany.spi.extension.CompositeComponentExtension.locateService(CompositeComponentExtension.java:275) > at > org.apache.tuscany.core.launcher.CompositeContextImpl.locateService(CompositeContextImpl.java:65) > at helloworld.HelloWorldWSClient.setUp(HelloWorldWSClient.java:46) > Thats becuase the wire.getServiceContract().getInterfaceClass() returns null. > To demonstrate change the helloworldwsclient to use the reference > 'HelloWorldService' > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Updated: (TUSCANY-862) NPE when doing CurrentCompositeContext.locateService on a reference which uses interface.wsdl
[ https://issues.apache.org/jira/browse/TUSCANY-862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rick Rineholt updated TUSCANY-862: -- Fix Version/s: (was: Java-Mx) Java-M3 Affects Version/s: (was: Java-M2) Java-M3 > NPE when doing CurrentCompositeContext.locateService on a reference which > uses interface.wsdl > - > > Key: TUSCANY-862 > URL: https://issues.apache.org/jira/browse/TUSCANY-862 > Project: Tuscany > Issue Type: Bug > Components: Java SCA Core >Affects Versions: Java-M3 >Reporter: ant elder > Assigned To: Jim Marino > Fix For: Java-M3 > > > If you do CurrentCompositeContext.locateService on a reference which uses > interface.wsdl you get a NPE: > java.lang.NullPointerException > at > org.apache.tuscany.core.wire.jdk.JDKWireService.createProxy(JDKWireService.java:92) > at > org.apache.tuscany.spi.extension.ReferenceExtension.getServiceInstance(ReferenceExtension.java:81) > at > org.apache.tuscany.spi.extension.CompositeComponentExtension.locateService(CompositeComponentExtension.java:275) > at > org.apache.tuscany.core.launcher.CompositeContextImpl.locateService(CompositeContextImpl.java:65) > at helloworld.HelloWorldWSClient.setUp(HelloWorldWSClient.java:46) > Thats becuase the wire.getServiceContract().getInterfaceClass() returns null. > To demonstrate change the helloworldwsclient to use the reference > 'HelloWorldService' > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]