I've opened a jira for it
https://issues.apache.org/jira/browse/TUSCANY-595 so how it gets
resolved should be tracked there.
Venkata Krishnan wrote:
Rick,
Well, that's the problem that I started with and am yet to figure out
something. I ended up creating wires in the 'build' and it crossed this.
But then that might not be the right thing to do.
I went ahead a bit but in vain, I am finally stuck with 'target
invokers'
not being set and am clueless about how to set it the right way. Please
post to ML if you get over this.
Thanks
- Venkat
On 8/4/06, Rick <[EMAIL PROTECTED]> wrote:
Hello,
When loading Web Service binding I'm see the following NPE. It seems
inbound wire is null at this point. Should it have been already set? My
first inclination is no. But on a wsdl binding what interface needs to
be registered for autowire? Do I need to from wsdl synthesize the
interface ? Not sure what to do for this.
Thanks
=-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-=
public Class<T> getInterface() {
assert inboundWire != null : "Inbound wire not set";
return inboundWire.getBusinessInterface(); //
Axis2Service<T>(ServiceExtension<T>).getInterface() line: 62
}
=-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-=
protected void registerAutowire(CompositeComponent<?> component) {
List<Service> services = component.getServices();
for (Service service : services) {
registerAutowireInternal(service.getInterface(), service);
//
CompositeComponentImpl<T>(AbstractCompositeComponent<T>).registerAutowire(CompositeComponent<?>)
line: 224
}
}
=-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-=
} else if (child instanceof CompositeComponent) {
CompositeComponent component = (CompositeComponent) child;
if (lifecycleState == RUNNING &&
component.getLifecycleState() == UNINITIALIZED) {
component.start();
}
registerAutowire(component); //
CompositeComponentImpl<T>(AbstractCompositeComponent<T>).register(SCAObject)
line: 142
addListener(component);
}
Thread [main] (Suspended (exception NullPointerException))
Axis2Service<T>(ServiceExtension<T>).getInterface() line: 62
CompositeComponentImpl<T>(AbstractCompositeComponent<T>).registerAutowire(CompositeComponent<?>)
line: 224
CompositeComponentImpl<T>(AbstractCompositeComponent<T>).register(SCAObject)
line: 142
DeployerImpl.deploy(CompositeComponent<?>, ComponentDefinition<I>)
line: 97
Launcher.bootApplication(URL) line: 163
ServletLauncherListener.contextInitialized(ServletContextEvent)
line: 112
StandardContext.listenerStart() line: 3729
StandardContext.start() line: 4187
StandardHost(ContainerBase).addChildInternal(Container) line: 759
StandardHost(ContainerBase).addChild(Container) line: 739
StandardHost.addChild(Container) line: 524
HostConfig.deployWAR(String, File, String) line: 809
HostConfig.deployWARs(File, String[]) line: 698
HostConfig.deployApps() line: 472
HostConfig.start() line: 1122
HostConfig.lifecycleEvent(LifecycleEvent) line: 310
LifecycleSupport.fireLifecycleEvent(String, Object) line: 119
StandardHost(ContainerBase).start() line: 1021
StandardHost.start() line: 718
StandardEngine(ContainerBase).start() line: 1013
StandardEngine.start() line: 442
StandardService.start() line: 450
StandardServer.start() line: 709
Catalina.start() line: 551
NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not
available [native method]
NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39
DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
Method.invoke(Object, Object...) line: 585
Bootstrap.start() line: 294
Bootstrap.main(String[]) line: 432
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]