How can I debug core error ?

0
I tried ShiftSwap application in Marketplace version 1.0 released Apr 27 .It is as is base. Exception errors stops execution. Would someone tell me how to find the cause of error ? Does Mendix has methods to find from core message ? Mendix 10.1.1 , NativeMobileResources Version 5.0.1 ,NanoflowCommons,Version 4.0.0, CommunityCommons_10.0.1 All latest modules. Message below In production mode: Log node ”core” Message “An exception occurred while running the after-startup-action.”   Stack trace here----------------------------------------------------------------------------------------- An exception occurred while running the after-startup-action. -------- com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: Object id: 16044073672610045, validation errors: (member: Password, message: Password does not meet password policy criteria:  - Password should be at least 6 characters.  - Password should contain a digit.  - Password should contain an uppercase character.  - Password should contain a lowercase character.)     at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.scala:108) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: Object id: 16044073672610045, validation errors: (member: Password, message: Password does not meet password policy criteria:  - Password should be at least 6 characters.  - Password should contain a digit.  - Password should contain an uppercase character.  - Password should contain a lowercase character.)     at com.mendix.util.classloading.Runner$.withContextClassLoader(Runner.scala:23) Caused by: com.mendix.systemwideinterfaces.core.UserException: Object id: 16044073672610045, validation errors: (member: Password, message: Password does not meet password policy criteria:  - Password should be at least 6 characters.  - Password should contain a digit.  - Password should contain an uppercase character.  - Password should contain a lowercase character.) ------------------------------------------------------------------------------------------ In security off Stack trace here------------------------------------------------------------------------- An exception occurred while running the after-startup-action. -------- com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: Object id: 16044073672622790, validation errors: (member: Password, message: The password cannot be empty.)     at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.scala:108) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: Object id: 16044073672622790, validation errors: (member: Password, message: The password cannot be empty.)     at com.mendix.util.classloading.Runner$.withContextClassLoader(Runner.scala:23) Caused by: com.mendix.systemwideinterfaces.core.UserException: Object id: 16044073672622790, validation errors: (member: Password, message: The password cannot be empty.) It maybe around somewhere login related before application start up. Do we have anyway to find the reason ? I tried debug mode to trace but nothing new found. Final info before this core error is Log node “Test Data” Message “Create admin: admin” Thanks in advance
asked
2 answers
0

Heey Takayuki,

 

So the error you are encountering is happening in the AfterStartUp flow of your app. From the error you posted i assume you are trying to create an admin account. For this account a password is needed but the password you are setting in the flow does not match the password policy. Try and find where you set the password for this admin account and make sure it is compliant with this policy:

 - Password should be at least 6 characters.
 - Password should contain a digit.
 - Password should contain an uppercase character.
 - Password should contain a lowercase character.

 

Hope this helps,

 

Kind regards,

Edo

answered
0

I reached the bug anyway.The app has default password and when I filled it exception was gone.
But still tracing source when it is called by who.
I spent 4 days to find.

answered