cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

java.lang.NullPointerException

Former Member
0 Likes
489

Goodday all,

I have an enquiry here. We are evaluating to switch our existing ITS based services (ESS/MSS) to the new version of java webdynpro. Reason being is that we are upgrading from 4.7 to ECC6.0. We have created a sandbox to do the evaluation of the services. We have also migrated all the ITS services to Internal ITS. We are now able to view our existing (old) ITS based services in teh portal. However, when i wanted to check the same for the webdynpro based, i'm getting an error. This error is coming up for all the ESS Webdynpro screen.

Example: Bank Information

java.lang.NullPointerException

at com.sap.xss.per.fc.persinfo.FcPersInfo.initPernr(FcPersInfo.java:478)

at com.sap.xss.per.fc.persinfo.wdp.InternalFcPersInfo.initPernr(InternalFcPersInfo.java:888)

at com.sap.xss.per.fc.persinfo.FcPersInfoInterface.initPernr(FcPersInfoInterface.java:166)

at com.sap.xss.per.fc.persinfo.wdp.InternalFcPersInfoInterface.initPernr(InternalFcPersInfoInterface.java:273)

at com.sap.xss.per.fc.persinfo.wdp.InternalFcPersInfoInterface$External.initPernr(InternalFcPersInfoInterface.java:509)

Personal Data

java.lang.NullPointerException

at com.sap.xss.per.fc.persinfo.FcPersInfo.initPernr(FcPersInfo.java:478)

at com.sap.xss.per.fc.persinfo.wdp.InternalFcPersInfo.initPernr(InternalFcPersInfo.java:888)

at com.sap.xss.per.fc.persinfo.FcPersInfoInterface.initPernr(FcPersInfoInterface.java:166)

at com.sap.xss.per.fc.persinfo.wdp.InternalFcPersInfoInterface.initPernr(InternalFcPersInfoInterface.java:273)

at com.sap.xss.per.fc.persinfo.wdp.InternalFcPersInfoInterface$External.initPernr(InternalFcPersInfoInterface.java:509)

Did i missed out on any configuration activities?

View Entire Topic
Former Member
0 Likes

Hi,

Yes there are some configuarration that you need to check

GO TO "SM30" and give "V_T7XSSPERSUBTYP" ..

In this view you need to Specify Use Case and Active Subtypes.

for Bank inforation you can give following

County : 08 ( here you give your specific County )

Infotype : 0009 ( Bank infotype )

Subtype : 0

Use Case : A1

For Personal Data you can give following

County : 08 ( here you give your specific County )

Infotype : 0002 ( Bank infotype )

Subtype : 0

Use Case : A1

Cheers,

Vivek D Jadhav

Former Member
0 Likes

Hi,

Thanks for the reply. I have updated V_T7XSSPERSUBTYP with all teh respective entries. However, i'm still getting the same error. When checked st22, i get to see the following dump;-

The exception 'CX_HRPA_MISSING_INFTY_DATA' was raised, but it was not caught

anywhere along

the call hierarchy.

IF data_exists IS INITIAL.

CLEAR molga.

RAISE EXCEPTION TYPE cx_hrpa_missing_infty_data

EXPORTING

tclas = tclas

pernr = pernr

infty = '0001'.

It seems like it is not getting the pernr of the employee. Any ideas?

Former Member
0 Likes

Hi,

you need to create DATA in SAP for pernr which you are using on Portal.

1st check where DATA for the PERNR is exits in infotypes. you can check this by using PA30

give the pernr no then give the "infotype no" like "0001" and click up on "display" if data is not exits

then you need to create and data for the PERNR ( you can take the HR fucntion people to do this process)

If you want to find the PERNR no which you are using on Portal.

then goto trasaction "hruser" once its show the screen click upon "Assignment of employees to existing users" give the "user name " ( portal employee ID for which you are getting dump )

Select "Users with employees " and execute .. you can able to find the details .......

Then select the Row and click upon "HR master Data" once its call PA30 screen check the DATA in

in infotype 0001 , 0002 , 0009

Cheers

Vivek D Jadhav

Former Member
0 Likes

What country are you doing the upgrade for?

Former Member
0 Likes

Im doing the upgrade for a couple of countries but my testing is now based on 'malaysia'.

Former Member
0 Likes

hi

can you please confirm the molga value in the dump you get.

I suspect that it is trying to access an application that is not for malasia.

Can you please confirm if who is who works fine.

thanks