I am having problems while running a component from NWDS. I got a par file from one of our portals PORTAL1 and added the following jar files - htmlb, htmlb_api and servlet from plugins. I deployed this par file on PORTAL2. Deployment was successful without any errors but when I run the component (from portalapp.xml) I am getting the following error:
java.lang.NullPointerException at doInitialization()
I think line - "request.getComponentContext" in doInitialization() method is throwing this exception.
Also, I am getting this error only when I run the component after deploying the par file on PORTAL2. When I deploy it on PORTAL1 ( portal with original par file), and run the component, I am not getting any errors.
Am I missing something here? Do I need to include any Jar files in my project?
Thanks in advance.