"Fail to analyze application" and "Fail to analyze Menu Object A in the B application" errors

PowerServer Toolkit stops the analysis or deployment of the application and reports the "Fail to analyze menu object A in B." and "Fail to analyze application" errors in the log file.

Cause: There are some unsupported features in the Menu object.

Solution: You can take the following steps to solve the problem.

Step 1: Full build the application without reporting any errors.

Step 2: Check the menu name with understanding the following naming rules:

  • Can be reserved words in JavaScript, apart from the word "Object".

  • Can have up to 40 characters but no spaces

  • Must start with a letter or an _ (underscore) and can include any combination of the following letters and numbers, and these special characters: Underscore ('_') character, 0-9, a-z, A-Z, Double-byte characters or characters with Unicode > 255

Step 3: Redeploy the application.