BizTalk Server General - NullPartException

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > February 2005 > NullPartException





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author NullPartException
zash

2005-02-03, 5:32 pm

Hi there,
I started working on Biztalk couple of days ago and having issues resolving some exception. I need to loop thru the nodes in xml and i am doing it in orchestration and using XPath to extract nodes. What i observe is when the control comes to XPath statement it raises an exception i.e.

Microsoft.XLANGs.Core.NullPartException: The part 'part' of message 'Message_2' contained a null value at the end of the construct block.

I am constructing the Message_2 and assigning the node like this:

node = System.String.Format("/*[local-name()='invoices']/*[local-name()='invoice'][{0}]",i);
Message_2 = xpath(Message_1, node);
i = i + 1;

The above expression is in loop. Can Anybody tell me the solution. I've tried lot of things and didnt work so thought to put this issue to you guys.

Thanks,
Zash
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com