cancel
Showing results for 
Search instead for 
Did you mean: 

I cant import "com.sapportals.portal.prt.component library!"

Former Member
0 Kudos

Hi Masters!

I have a problem with a NullPointerException.

Someone got the exception nullpointerexception with the following sentece?

IUserMappingService mappingService = (IUserMappingService)PortalRuntime.getRuntimeResources().getService(IUserMappingService.KEY);

Then the previous sentence, i have a null value into the variable "mappingService".

I need configure anything? I not have problem with the libraries.

Thanks!

Giancarlo

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Sorry. I Fixed the subject.

-


Hi Masters!

I have a problem with a NullPointerException.

Someone got the exception nullpointerexception with the following sentece?

IUserMappingService mappingService = (IUserMappingService)PortalRuntime.getRuntimeResources().getService(IUserMappingService.KEY);

Then the previous sentence, i have a null value into the variable "mappingService". How i can obtain the UserMappingService? Could they send my another way?

I need configure anything? I not have problem with the libraries. The compilation its OK.

Thanks!

PD: I dont speak english, sorry.

Giancarlo

Former Member
0 Kudos

Hi,

Question is not clear. Can you please elaborate it.

Thanks,

Gopi