Logging Errors (Disconnected)
You can use the Log button on the application banner to review the log messages and debug information for disconnected applications, provided that logging has been enabled for the application. For more information, see Application Logging for Siebel Mobile.
These tables highlight some common logging errors that users might encounter, including how to debug the errors.
Logging Error 1
Item |
Description |
|---|---|
Problem |
Data created in offline mode is not visible in online mode after triggering a data upload. The log event setting is set to UpSync (to debug issues with uploading data in offline mode). Messages similar to the following examples appear in the log console: SyncThreadHandler - OnCall, UpSync failed.
AppMgr - Ping, Pinging Server.... AppMgr - CheckServerConnection, Checking server
connection.... AppMgr - CheckServerConnection, Network/Server is unavailable.
Continuing in offline mode AppMgr - CheckServerConnection, Checking server
connection....Failed AppMgr - Ping, Pinging Server.... Failed. SyncThreadHandler -
OnCall, UpSync failed. |
Cause |
The cause of this problem can be one or more of the following:
|
Solution |
The steps to debug using the logs are:
|
Logging Error 2
|
Item |
Description |
|---|---|
|
Problem |
After tapping Go Offline on the application banner, data extraction and the transition to offline mode is taking too long to complete. The log event setting is set to Data Extraction. Messages similar to the following examples appear in the log console: ProactiveCacheBuilder - ParseData
Table:PharmaProfessionalStateLicenses, Columns: 15, No. of records: 39
ProactiveCacheBuilder - ParseData, Creating table LSMessagingPlansBC
ProactiveCacheBuilder - Unique Keys, OwnerId,Version,NameThe syntax for these error messages is as follows: ProactiveCacheBuilder -
ParseData Table: <BusComp Name without alpha chars>, Columns: <#columns>,
No. of records: <#records>. |
|
Cause |
The cause of this problem can be one or more of the following:
|
|
Solution |
The steps to debug using the logs are:
|
Logging Error 3
Item |
Description |
|---|---|
Problem |
In offline mode, when trying to save a newly created record, the following error message appears: "Field '<FieldName> ' not found in
BusComp." |
Cause |
The field specified in the error message was not downloaded in offline mode. |
Solution |
The steps to debug are as follows:
|
Logging Error 4
Item |
Description |
|---|---|
Problem |
In offline mode when saving a newly created record, some default fields are populated with incorrect values and some fields are given validation error messages. The log event setting is set to Client System. A message similar to the following example appears in the log console: BusComp -
SetDefaultValues, where expression type is: PreDefault, BC name is: Action,
field: Duration Minutes, value: 15, expression: "IIf ([IsiLog] = 'N', [Work Time
Min],Expr: "LookupValue(""APPOINTMENT_DURATION"", ""15"")")"The syntax for this error message is as follows: BusComp - SetDefaultValues, where
expression type is : <expression type i.e. either PreDefault or PostDefault>,
BC name is <bcname>, field: <field name>, value: <evaluated value>,
expression: <expression>A messages similar to the following example appears in the log console: SyntaxError: Parse error on line 1: ...s
Stock Employee Id - Owned by Id] = 'Y' ----------------------^ Expecting
'TOKEN_IDENTIFIER', ']', 'TOKEN_SPL_CHAR', 'TOKEN_NUMBER', got 'TOKEN_MINUS'
Expression: [Is Product Allocation Type] = 'Y' && [Owned By Id] =
LoginId() && [Stop Sampling Flag] = LookupValue("BOOLEAN_VALUE","N")
&& (([Active Flag] = LookupValue ("BOOLEAN_VALUE","Y") && [Is
Stock Employee Id - Owned by Id] = 'Y' && [Is Lot Product Type] = 'Y'
&& [Is Lot Stock] = 'Y' && [Inventory Audit Report Id] IS NULL )
|| (([Inventory Flag] = 'N' || [Inventory Flag] IS NULL ) && ([Lot Flag]
= 'N' || [Lot Flag] IS NULL )))The syntax for this error message is as follows: SyntaxError: Parse error on line #: <error message>
Expression: <expression> |
Cause |
There are issues in the Siebel Repository with the expressions configured for the PreDefault, PostDefault or ValidationSpec property of the BusComp field. |
Solution |
The steps to debug using the logs are:
|
Logging Error 5
Item |
Description |
|---|---|
Problem |
In offline mode when trying to save a newly created record, the following error message appears: "<FieldName> is a required Field.Enter an appropriate
value.(SBL-UIJ-00126)"The log event setting is set to Client System (to debug error messages displayed in offline mode). A message similar to the following example appears in the log console: BusComp -
SetDefaultValues, where expression type is : PreDefault, BC name is: Action,
field: Duration Minutes, value: 15, expression: "IIf ([IsiLog] = 'N', [Work Time
Min], Expr: "LookupValue(""APPOINTMENT_DURATION"", ""15"")")"The syntax for this error message is as follows: BusComp -
SetDefaultValues, where expression type is <expression type/PreDefault or
PostDefault>, BC name is <bcname>, field is <field name>, value is
<evaluated value>, and expression is <expression>.A message similar to the following example appears in the log console: SyntaxError: Parse error on line 1:...s Stock Employee Id -
Owned by Id] = 'Y' ----------------------^ Expecting 'TOKEN_IDENTIFIER', ']',
'TOKEN_SPL_CHAR', 'TOKEN_NUMBER', got 'TOKEN_MINUS' Expression: [Is Product
Allocation Type] = 'Y' && [Owned By Id] = LoginId() && [Stop
Sampling Flag] = LookupValue("BOOLEAN_VALUE","N") && (([Active Flag] =
LookupValue ("BOOLEAN_VALUE","Y") && [Is Stock Employee Id - Owned by Id]
= 'Y' && [Is Lot Product Type] = 'Y' && [Is Lot Stock] = 'Y'
&& [Inventory Audit Report Id] IS NULL ) || (([Inventory Flag] = 'N' ||
[Inventory Flag] IS NULL ) && ([Lot Flag] = 'N' || [Lot Flag] IS NULL )))
The syntax for this error message is as follows: SyntaxError: Parse error on line #: <error message>
Expression: <expression>. |
Cause |
The suspected causes of this problem are:
|
Solution |
The steps to debug this error using the logs are:
|
Logging Error 6
Item |
Description |
|---|---|
Problem |
In offline mode, the applet shows an incorrect set of records or no records at all. The log event setting is set to Client System (to debug error messages displayed in offline mode). Messages similar to the following example appear in the log console: BusComp - SearchSpec, Name: Pharma Professional
Call - Mobile, SearchSpec: (( ("Category" = "Contact Call") OR ("Category" =
"Attendee Call")) OR ("Category" = "Account Call"))The syntax for
this error message is as follows: |
Cause |
The cause of this problem can be one or more of the following:
|
Solution |
The steps to debug using the logs are:
|