Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Null Pointer error with IWDPageService

Experts,

I am encountering a development scenario where it makes sense to use IWDPageService. However, while the Web Dynpro project builds just fine on my local machine, when I run it in EP, I get a NullPointerException.

Here is some sample code that generates the exception:

IWDPageService pageService = (IWDPageService) WDPortalUtils.getService(WDPortalServiceType.PAGE_SERVICE);
String[] iViews = pageService.getVisibleIViews();

Is there some sort of library reference that I need to specify before deploying?

Thank you for any help you can provide.

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question