Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Inner exception: Object reference not set to an instance of an object

6 views
Skip to first unread message

Ginny

unread,
Sep 7, 2006, 11:57:46 PM9/7/06
to
HI,

I have created a very simple orchestration with a construct message shape
inside a decide shape. when i run the orchestrationa and drop my file. i get
the following error mentioned below. In my decide shape i have written a
single line of code for the boolean excpression checking the value of a
distinguished field. i am actually using the biztalk 2006 tutorial 1: EAI.
Please assist.

----------------------------------------------------------
Uncaught exception (see the 'inner exception' below) has suspended an
instance of service
'EAIOrchestrations.EAIProcess(f76d1db5-6714-e918-2a58-cba4473a7253)'.
The service instance will remain suspended 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: 054e0971-9d4d-4bbd-b5e5-7faa998a4a25
Shape name: CheckQuantity
ShapeId: 04aef615-3eb7-4087-91ed-ecfbffb6f09f
Exception thrown from: segment 1, progress 6
Inner exception: Object reference not set to an instance of an object.

Exception type: NullReferenceException
Source: EAIOrchestrations
Target Site: Microsoft.XLANGs.Core.StopConditions
segment1(Microsoft.XLANGs.Core.StopConditions)
The following is a stack trace that identifies the location where the
exception occured

at EAIOrchestrations.EAIProcess.segment1(StopConditions stopOn)
at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s,
StopConditions stopCond, Exception& exp)

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

--
Regards
Ginny

Tsyganov@discussions.microsoft.com Vadim Tsyganov

unread,
Oct 12, 2006, 9:58:02 AM10/12/06
to
It's must be simple...
You must use any Message for construct message shape,
for exsample:
MyMessage(MyProjectName.PropertyShema.MyIntegerDistinguichField) = 1;
But check into construct message shape properies that type
<Messages Constructed: MyMessage>
p.s.
You don't need construct received message(he was constructed automatically)

and one more reason that you don't Construct message as well befor .....

0 new messages