Troubleshooting CUAE Application Development

From DocWiki

Revision as of 11:17, 2 March 2010 by Akalwant (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents


Overview

This article provides a systematic approach to identifying and remedying common problems that may arise as you develop and run applications in the Cisco Unified Application Environment.


General


Non-final action must have at least one outbound link in [Function Name]: [Action Name] (Action ID)

The following message appears in the Cisco Unified Application Designer console: Non-final action must have at least one outbound link in [Function Name]: [Action Name] (Action ID)

Resolution

Every branch must ultimately explicitly declare how it completes by using a final action, but at least one branch in your script does not do this. Add an EndFunction or EndScript action to the end of the branch, after the offending action. For more information about these actions, see the API reference for the version of the Cisco Unified Application Environment you are using.


E300: Missing required parameter [Parameter Name] in [Function Name]: [Action Name](Action ID)

The following message appears in the Cisco Unified Application Designer console: E300: Missing required parameter [Parameter Name] in [Function Name]: [Action Name] (Action ID)

Resolution

At least one action does not specify one or more of its required parameters. Add a value for the empty, required action parameter in the offending action.


E600: Compile error: Error compiling inline C# code (more data follows—cut out for brevity)

The following message appears in the Cisco Unified Application Designer console: E600: Compile error: Error compiling inline C# code more data follows—cut out for brevity)

Resolution

Either a C# Action Parameter or a CustomCode action has invalid C# code. Double-check every C# action parameter or CustomCode C# code block.


Duplicate branch conditions in [Function Name]: [Action Name] (Action ID)

The following message appears in the Cisco Unified Application Designer console: Duplicate branch conditions in [Function Name]: [Action Name] (Action ID)

Resolution

An action has two or more branch conditions originating from it with the same label/condition. Find the offending action, and correct the duplicate branch labels.


No start node in [Function Name]: Start (Start Action ID)

The following message appears in the Cisco Unified Application Designer console: No start node in [Function Name]: Start (Start Action ID)

Resolution

A start node in a function has no action located after it. Find the offending start action, and add the relevant actions after the start node to complete the flow of logic in that function of the script.


Application Server log displays error message of application sessions overflow

Application Server log displays error message indicating that there is an application sessions overflow. Application cannot start a new session from that point on.

Resolution

The session lingers, which causes system to run out of application session licenses.

Restart Application Server and fix application by adding "removeCuaeSession" at all the error conditions and application logic exit spots.


Unable to find APIs

You are unable to find the API methods that you want to use when working in your IDE.

Resolution

Cannot find methods inside IDE while using IntelliSense. Ensure the desired Etch IDL has been added into mixin list in project.yaml.


Applicable to 2.5 releases


Ignore unknown Etch message: _exception

The following message appears in the Application Server log Ignore unknown Etch message: _exception

Resolution

Missing event handling functions, which causes exceptions during runtime. Implement event handlers for events delivered from Unified Application Server to Etch-based application.


Application receives EtchBridge exception when invalid arguments is used in registerApplication method

Application receives EtchBridge exception if invalid arguments are used in the registerApplication method. If an application profile has not been installed before calling registerApplication, the application receives a timeout or runtime exception.

Resolution

Unified Application Server cannot accept the registration. Ensure application profile has been installed on Cisco Unified Application Environment using the CUAE command-line tool. Ensure the application, partition name, and administrator credential are correct in registrationApplication. Turn Etch Bridge log level to verbose level and inspect the Application Server log for error information.

Rating: 0.0/5 (0 votes cast)

Personal tools