AnsweredAssumed Answered

Not able to access serviceRegistry in webscript bean class

Question asked by romschn on Dec 23, 2010
Latest reply on Dec 24, 2010 by romschn

I have done the required configurations related to webscript.

See below code snippets for each of the required files :
context file :
<bean id="" class="com.test.Deployment" parent="webscript">
    <property name="serviceRegistry" ref="ServiceRegistry"/>

Java class for the Bean - extends AbstractWebScript

When it tries to do this.serviceRegistry.getNodeService(), in the execute method, it gives NPE.

I am not sure why it is giving it.Any help would be highly appreciated.