Skip to main content

Hey all,

 

Recently we created a new entity that needs to appear in ifs mwo mobile (ServiceEngApp).

But after following the steps in the file IFS Cloud - MWO demystified (24R1), the mobile app is stuck initializing, with the following error in the logs: Initialize entity data failed: java.lang.NullPointerException.

We did the following things:

  1. Created entity
  2. Added to ServiceEngApp projection

     

  3. Added Sync Rule

Yet, Mobile is stuck initializing:

 

 

Any ideas what could cause this?

try this:

  1. Go to Sync Rules, find the sync rule for your custom entity and do Sync Now
  2. go to Background Jobs and see if any errors get posted, and if so, share the error message you see.

Best regards,

Rukmal


Hi,

what type of custom attributes have you added to the custom entity?

Regards

/Sajee


try this:

  1. Go to Sync Rules, find the sync rule for your custom entity and do Sync Now
  2. go to Background Jobs and see if any errors get posted, and if so, share the error message you see.

Best regards,

Rukmal

No errors were posted


Hi,

what type of custom attributes have you added to the custom entity?

Regards

/Sajee

We have added Date/Datime, String, Number and Enumerations


Can you share a screenshot of the entity association in the projection configuration? And did you enable the custom fields for mobile (though that should not generate errors)?


Can you share a screenshot of the entity association in the projection configuration? And did you enable the custom fields for mobile (though that should not generate errors)?

Here is the screenshot:

 

And yes I did enable the custom fields in mobile


Can you share a screenshot of the entity association in the projection configuration? And did you enable the custom fields for mobile (though that should not generate errors)?

Here is the screenshot:

 

And yes I did enable the custom fields in mobile

Can you expand the MWO_Task_Results line at the bottom?


Can you share a screenshot of the entity association in the projection configuration? And did you enable the custom fields for mobile (though that should not generate errors)?

Here is the screenshot:

 

And yes I did enable the custom fields in mobile

Can you expand the MWO_Task_Results line at the bottom?

 


Hi..

could you please remove the Enumeration type for now and retry?

Thanx


Looks okay to me. Unless R&D has better suggestions, here are some things you could try to narrow down the root cause:

  • Check the detailed error log in MWO to see if it has more details.
  • Run MWO in English to exclude language issues.
  • Inactivate/remove some of the changes (e.g., the entity association or the projection configuration) and sync again to see which particular item causes the error.

I encountered the same issue, and it was caused by having a projection configuration that added a method to ServiceEng projection.  Once unpublished, initialization worked fine again.


Reply