cancel
Showing results for 
Search instead for 
Did you mean: 

Ask: Nakisa Talent error message

Former Member
0 Kudos

Hi all,

I've a problem for TalentHub Employee, when I do testing with one user ID, I get the error message below the screen:

An error occurred: Object CPxxxxxxxx attribute RISKS | No document exists for talent xxxxxxxx

And when I check for the log manager:

1. 08 Sep 2016 09:07:37 ERROR com.nakisa.Logger - com.nakisa.integration.sap.manager.RfcWizardIntegrationClass: method getPreviewDataSet : java.lang.NullPointerException: while trying to read the field 'type' of a null object returned from com.nakisa.framework.data.DataRow.getColumn(java.lang.String)

2. 08 Sep 2016 09:07:37 ERROR com.nakisa.Logger - java.lang.NullPointerException: while trying to read the field 'type' of a null object returned from com.nakisa.framework.data.DataRow.getColumn(java.lang.String)

And for the RFC trace:

for function: /Nakisa/OC_Employee_info the output "no personnel number found for the user"

I've tried to debug the RFC, it seems like the import parameter from the RFC was unable the get the logon data, so when the RFC tried to read import parameter it resulted "blank"

Any idea what I miss on the configuration area in nakisa admin_console?

Thanks beforehand.

Accepted Solutions (0)

Answers (1)

Answers (1)

StephenMillard
Active Contributor
0 Kudos

Robert.

It's not clear to me on exactly what you mean by "the RFC was unable to get the logon data", but it makes me wonder if it could be a permissions issue.  Any chance that's the case?

Also please ensure that you have read   There are some potentially key details missing like what version you're using.

Regards,

Stephen.

Former Member
0 Kudos

Hi Stephen,

The Nakisa STVN is on v.4.1 on EHP7.

What I mean by this "the RFC was unable to get the logon data" is when I login to nakisa talentHub Employee, isnt the user ID I used supposed to write back to input parameter in the function /Nakisa/OC_employee_info:

so that the function can check the user ID dan retrieve the information from SAP backend?

Here's the RFC trace capture screen:

I have no idea is this related to which permissions issue?

Thanks before.

StephenMillard
Active Contributor
0 Kudos

I see what you mean by logon data but that isn't what immediately came to mind for me.  The logon data to me was the account you are using to login but your clarification points to the employee record associated with the login account.

Take a look at Debugging User and Session Information - ERP Human Capital Management - SCN Wiki.  Check that your login account is associated with an in-date personnel record.

Also does this happen for other logon accounts or is it limited to just this one?

Regards,

Stephen.

Former Member
0 Kudos

Hi Stephen,

Thank u.

I tried another user ID & it also happen the same.

Here's the debug output:

Thanks.

StephenMillard
Active Contributor
0 Kudos

What authentication method are you using and how is it configured?  The User Authentication Row is showing as Null which I think will be the underlying reason that the user population row has no real employee data.  If you look back at the wiki page referenced above for example you can see how that row is populated for a single sign on with logon tickets.

It may also be worth a double check in ECC to ensure that you have employee records associated with those user accounts.

Regards,

Stephen.

Former Member
0 Kudos

Hi Stephen,

At ECC the employee records data is available there.

Here's something I confused about:

in security settings - authentication settings :

employee source - userPopulationInfo - UNAME

then in the role mapping:

I try to select role using The TalentHubEmployee Role (default role) the submit and publish.

But when I check back it always "blank" again like the one at the picture.

Thanks before.

StephenMillard
Active Contributor
0 Kudos

The select role allows you to map multiple rows.  You only select it to configure a particular role ... it doesn't show them all at once and it isn't expected to show a previously selected role - it's used for selection at the point of configuration.

Have you identified the authentication type and resolved the issue?

Regards,

Stephen.

Former Member
0 Kudos

Hi Stephen,

I haven't found what when wrong with my authentication.

Currently I'm using:

Logon Screen, then the authentication source I've set like in the connection strings...

Then other is normal (I don't change anything)

I don't know what when wrong again... Please help.

Thanks before.

StephenMillard
Active Contributor
0 Kudos

Hmmm .. I can't recall what the logon screen authentication entry in the debug screen looks like off the top of my head.

Assuming for a moment that is correct (after all I guess you have logged in so it must be at least partially correct), it still isn't finding the employee record you say is associated with the account.  The next thing I would check on that basis is your source for authentication.  Are you in fact connecting to the ECC system you are checking to ensure the employee record association with the user account?

Regards,

Stephen.

Former Member
0 Kudos

Hi Stephen,

Yes I have map/connecting the role at the backend SAP with the Nakisa role.

Yup thats right it still isn't finding the employee record..

So what should I do to make sure that the "user authentication row" is not "null" would it be something I miss in configuration or i need basis help for this?

Thanks before.

StephenMillard
Active Contributor
0 Kudos

As I mentioned earlier I can't recall what exactly should appear in the authentication row for logon screen so it may be that null is correct; but null doesn't sound like something we'd want in there.

I wouldn't expect you to need basis help to correct anything (unless you find something that specifically points to something missing in your installation), but I'm at a bit of a loss as to why it isn't working if everything is configured to the points you set out abve.

At the point of system logon are you seeing any errors in the cds.log that might provide some additional information as to what is going on?

Regards,

Stephen.

Former Member
0 Kudos

Hi Stephen,

I haven't found anything to point for the basis yet...

Meanwhile here's someof the cds log that I d/l from:

08 Sep 2016 11:05:27 ERROR com.nakisa.Logger  - com.nakisa.integration.sap.manager.RfcWizardIntegrationClass: method getPreviewDataSet : java.lang.NullPointerException: while trying to read the field 'type' of a null object returned from com.nakisa.framework.data.DataRow.getColumn(java.lang.String)

08 Sep 2016 11:05:27 ERROR com.nakisa.Logger  - java.lang.NullPointerException: while trying to read the field 'type' of a null object returned from com.nakisa.framework.data.DataRow.getColumn(java.lang.String)

.....

08 Sep 2016 17:40:22 ERROR com.nakisa.Logger  - Nakisa.SAP.EP4Processor.UtilityEP4Processor.getDataSet() : SAP Message : An error occurred: Object CP60002624 attribute RISKS || No document exists for talent 60002624 ||

08 Sep 2016 17:40:23 ERROR com.nakisa.Logger  - Nakisa.SAP.IntegrationProcessor21.Rhpk_CP_Job_Match.getDataSetBase() : Function params (IT_COMPETENCIES_IN) is null or empty.

Thanks before.

StephenMillard
Active Contributor
0 Kudos

Those are all from when you are trying to access the data.

I'm specifically asking about when you login.

I believe your problems occur right at the start and your lack of data is a symptom of your employee data not being read in.  We can see quite clearly you have no personnel record being identified by the system.

The question is why is that data not being read in?  It should be read in during (for want of a better term) login.  Hence why I'm asking about the log entries at login.

Regards,

Stephen.

Former Member
0 Kudos

Hi Stephen,

Sorry for late reply. Here's the cds.log that I found related to the login:

com.nakisa.framework.login.UserPopulation_Default.fetchUserInformation(UserPopulation_Default.java:92)

  at com.nakisa.framework.login.UserPopulation_Default.getDataRow(UserPopulation_Default.java:63)

  at com.nakisa.framework.login.UserPopulation_Default.LoadUserObject(UserPopulation_Default.java:38)

  at com.nakisa.framework.login.Main.LogIn(Main.java:144)

  at com.nakisa.troll.web.SecurityFilter.isAuthenticated(SecurityFilter.java:760)

  at com.nakisa.troll.web.SecurityFilter.processRequest(SecurityFilter.java:396)

  at com.nakisa.troll.web.SecurityFilter.doFilter(SecurityFilter.java:256)

Is this help? I dont find anything related to login again at the cds.log

Thanks.

StephenMillard
Active Contributor
0 Kudos

Do you see anything similar to this in your log?


20 May 2015 14:56:39 INFO  com.nakisa.Logger  - Tenant ID: 000

20 May 2015 14:56:39 INFO  com.nakisa.Logger  - LoginSettingsObject Load: 27

20 May 2015 14:56:39 INFO  com.nakisa.Logger  - com.nakisa.framework.login.Main : LogIn : Credential provider ActiveDirectory

20 May 2015 14:56:39 INFO  com.nakisa.Logger  - com.nakisa.framework.login.Main : LogIn : User to authenticate testnakisa

20 May 2015 14:56:39 INFO  com.nakisa.Logger  - com.nakisa.framework.login.Main : LogIn : Authentication provider SapStandard

20 May 2015 14:56:39 INFO  com.nakisa.Logger  - com.nakisa.framework.login.Main : LogIn : User authenticated testnakisa

20 May 2015 14:56:39 INFO  com.nakisa.Logger  - com.nakisa.framework.login.Main : LogIn : Authentication row is null

20 May 2015 14:56:39 INFO  com.nakisa.Logger  - com.nakisa.framework.login.Main : LogIn : User population provider is Database

Regards,

Stephen.

Former Member
0 Kudos

Hi Stephen,

I don't see anything like that on my log.

Here I the log that i find on my site:

Sep 2016 20:43:19 ERROR com.nakisa.Logger - com.nakisa.integration.sap.manager.RfcWizardIntegrationClass: method getPreviewDataSet : java.lang.NullPointerException: while trying to read the field 'type' of a null object returned from com.nakisa.framework.data.DataRow.getColumn(java.lang.String)

2. 20 Sep 2016 20:43:19 ERROR com.nakisa.Logger - java.lang.NullPointerException: while trying to read the field 'type' of a null object returned from com.nakisa.framework.data.DataRow.getColumn(java.lang.String)

3. at com.nakisa.framework.data.DataRow.getColumnType(DataRow.java:155)

4. at com.nakisa.framework.data.DataRow.isString(DataRow.java:243)

5. at com.nakisa.framework.data.DataTableFilter.c(DataTableFilter.java:214)

6. at com.nakisa.framework.data.DataTableFilter.a(DataTableFilter.java:48)

7. at com.nakisa.framework.data.DataTableFilter.evaluate(DataTableFilter.java:40)

8. at com.nakisa.framework.data.DataTable.select(DataTable.java:147)

9. at com.nakisa.framework.data.DataTable.select(DataTable.java:127)

10. at com.nakisa.framework.data.DataTable.retain(DataTable.java:215)

11. at com.nakisa.framework.data.DataTable.retain(DataTable.java:197)

12. at com.nakisa.framework.data.commandProcessor.impl.sap.BaseFunctionProcessor.performPostFetchOperations(BaseFunctionProcessor.java:239)

13. at com.nakisa.integration.sap.manager.RfcWizardIntegrationClass.getDataSet(RfcWizardIntegrationClass.java:119)

14. at com.nakisa.framework.data.commandProcessor.impl.sap.BaseFunctionProcessor.getDataSetFinal(BaseFunctionProcessor.java:120)

15. at com.nakisa.framework.data.commandProcessor.impl.sap.SAPCommandProcessor.getDataSet(SAPCommandProcessor.java:33)

16. at com.nakisa.framework.data.commandProcessor.CommandProcessor.getDataSet(CommandProcessor.java:393)

17. at com.nakisa.framework.data.DataAccess.getDataSet(DataAccess.java:19)

18. at com.nakisa.framework.login.UserPopulation_Default.fetchUserInformation(UserPopulation_Default.java:92)

19. at com.nakisa.framework.login.UserPopulation_Default.getDataRow(UserPopulation_Default.java:63)

20. at com.nakisa.framework.login.UserPopulation_Default.LoadUserObject(UserPopulation_Default.java:38)

21. at com.nakisa.framework.login.Main.LogIn(Main.java:144)

22. at com.nakisa.troll.web.SecurityFilter.isAuthenticated(SecurityFilter.java:760)

23. at com.nakisa.troll.web.SecurityFilter.processRequest(SecurityFilter.java:396)

24. at com.nakisa.troll.web.SecurityFilter.doFilter(SecurityFilter.java:256)

25. at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)

Btw regarding to TREX, I have a document "TREX_Configuration_and_Troubleshooting_Guide", there are part of "Extending Trex", do I need to do that?

Since my Trex still having an "internal error" and I have followed the step from Luke Marson and I got an error while activate the connector EA-HRGXX, the status was error while preparing.

Do you have any idea?

Thanks.

StephenMillard
Active Contributor
0 Kudos

I'm surprised there's nothing in your log re. the logging in process.  Perhaps the log configuration is such that it switched over based on size a little while after the logon?

Perhaps try rolling the log, then logging in as an end user and then review the log content.

I'm not any sort of expert on TREX.  For me it's just been the service to tap int on the talent modules.  If Luke's post, the guides and generally digging around didn't help I'd consider posting a specific query to the SAP ERP HCM space and failing that an OSS.

Regards,

Stephen.

Former Member
0 Kudos

Hi Stephen,

Something good had happen, now the user ID has already being read in the RFC.

But there's still error messages shown below for "object CP xxxxxxxx no risks" and the employee competency data was not displaying.

And here's the log:

Sep 2016 15:21:35 ERROR com.nakisa.Logger - Nakisa.SAP.EP4Processor.UtilityEP4Processor.getDataSet() : SAP Message : An error occurred: Object CP60002624 attribute RISKS || No document exists for talent 60002624 ||

2. 21 Sep 2016 15:21:37 ERROR com.nakisa.Logger - Nakisa.SAP.IntegrationProcessor21.Rhpk_CP_Job_Match.getDataSetBase() : Function params (IT_COMPETENCIES_IN) is null or empty.

I have check the function in backend se37 for HRTMC_GET_TALENT_ATTR, no result shown:

I have already maintain the competency data in IT0024.

Is there any tips?

Thanks a lot for your help.