Skip to main content
Question

IFS MWO stuck initializing


Forum|alt.badge.img+4

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?

11 replies

Rukmal Fernando
Superhero (Employee)
Forum|alt.badge.img+16

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


Forum|alt.badge.img
  • Do Gooder (Employee)
  • 4 replies
  • August 5, 2024

Hi,

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

Regards

/Sajee


Forum|alt.badge.img+4
  • Author
  • Sidekick (Partner)
  • 10 replies
  • August 5, 2024
Rukmal Fernando wrote:

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


Forum|alt.badge.img+4
  • Author
  • Sidekick (Partner)
  • 10 replies
  • August 5, 2024
SaJee wrote:

Hi,

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

Regards

/Sajee

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


Alexander Heinze
Superhero (Employee)
Forum|alt.badge.img+23

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)?


Forum|alt.badge.img+4
  • Author
  • Sidekick (Partner)
  • 10 replies
  • August 5, 2024
Alexander Heinze wrote:

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


Alexander Heinze
Superhero (Employee)
Forum|alt.badge.img+23
rafael.cardinal wrote:
Alexander Heinze wrote:

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?


Forum|alt.badge.img+4
  • Author
  • Sidekick (Partner)
  • 10 replies
  • August 5, 2024
Alexander Heinze wrote:
rafael.cardinal wrote:
Alexander Heinze wrote:

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?

 


Forum|alt.badge.img
  • Do Gooder (Employee)
  • 4 replies
  • August 5, 2024

Hi..

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

Thanx


Alexander Heinze
Superhero (Employee)
Forum|alt.badge.img+23

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.

paul harland
Superhero (Employee)
Forum|alt.badge.img+24

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings