[BTS] What should I do if 10022 errors occur?

Source: Internet
Author: User
I submitted it. The result is incorrect. If it is not saved, it will be closed! You have to rewrite it !!!!

Today, the process continues to be developed, adding more logs and States to the original process. It is convenient to query the message processing result in the future. However, the process is complicated and there are more problems.

Event Type: Error
Event Source: XLANG/s
Event Category: None
Event ID: 10022
Date: 2/28/2008
Time: 5:03:26
User: N/
Computer: LABS
Description:
Uncaught exception (see the 'inner exception' below) has suincluded an instance of service 'eiac. OA. icationicationsystem. Orchestrations. Main (a44769cf-20b3-668b-e434-e1b03b6f84c2 )'.
The service instance will remain susponded until administratively resumed or terminated.
If resumed the instance will continue from its last persisted state and may re-throw the same unexpected exception.
InstanceId: 7f7a5fc9-882c-41d4-abf1-4098dcf66126
Shape name: Construct msgUpdateOCSLog
ShapeId: 869f1e47-bfc2-46bf-b316-a85cbcc46b06
Exception thrown from: segment 6, progress 2
Inner exception: A failure occurred while evaluating the distinguished field sync. after. OCSMessageLog. stateID against the message part data. the message part data does not contain at least one of the nodes specified by the XPath expression (listed below) that corresponds to the distinguished field. the cause for this error may be that the message part data has not been initialized or that the message part data does not conform to the message part schema. ensure that the message part data is initialized correctly. XPath expression:/* [local-name () = 'updateocslogrequest' and namespace-uri () = 'HTTP: // EIAC. OA. icationicationsystem. updateocslog']/* [local-name () = 'sync' and namespace-uri () = 'HTTP: // EIAC. OA. icationicationsystem. updateocslog']/* [local-name () = 'after' and namespace-uri () = 'HTTP: // EIAC. OA. icationicationsystem. updateocslog']/* [local-name () = 'ocsmessagelog 'and namespace-uri () = 'HTTP: // EIAC. OA. icationicationsystem. updateocslog']/@ * [local-name () = 'stateid' and namespace-uri () = '']

Exception type: XPathUpdateException
Source: Microsoft. XLANGs. Engine
Target Site: Void SetDistinguishedField (System. String, System. Object)
The following is a stack trace that identifies the location where the exception occured

At Microsoft. XLANGs. Core. XSDPart. SetDistinguishedField (String dottedPath, Object val)
At EIAC. OA. icationicationsystem. Orchestrations. Main. segment6 (StopConditions stopOn)
At Microsoft. XLANGs. Core. segmentschedment. RunASegment (Segment s, StopConditions stopCond, Exception & exp)

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Check the message mentioned in the error carefully. Its Initialization is as follows:

There is a value assignment operation next to it.

MsgUpdateOCSLogRequest. parameters. sync. after. OCSMessageLog. StateID = m_strStateID;

Through ErrorLog, the error occurs here.

The reason is that the StateID field is not assigned a value in Mapping, so it does not exist in xml. Therefore, in the subsequent value assignment operation, an error will be reported when you use the attribute to access. Just as the member variable of a class has not been assigned a value, the method for calling this member variable is the same.

Find the simplest method:

Later, when constructing a message with attributes, these attributes are assigned with an initial value, which is also convenient for future calls.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.