Skip to Content
0
Former Member
Jul 15, 2007 at 11:31 PM

Null Exception Getting JNDI InitialContext for PCD

21 Views

I am accessing the PCD from wdDoInit() in WD application, and I get:

NullPointerException in line 32 PcdInitialContextFactory.getInitialContext()

I have provided it with the WDCurrentUser.getSAPUser() for the security principal.

The WD App is not yet in portal but the portal is running, and I not see a reason for

a null pointer exception. Is this a permission error? If so how do I assign the right level of permissions to access the PCD. I have checked that IUser is not

null. The IUser is guest. This happens on ctx = new InitialContext(env); before any

lookups are called.

Thanks In Advance