Mombu the Microsoft Forum sponsored links

Go Back   Mombu the Microsoft Forum > Microsoft > Object reference not set to an instance of an object.
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 20th January 06:52
External User
 
Posts: 1
Default Object reference not set to an instance of an object.



Hi ,


I ran into this error when receiving a message.
The other party in this case is using a self sign cert.
The message is also base64-encoded and digitally signed.

The service content seems to be ok because was validated individually.
Really appreciate your advice and help. Thanks.

The error that I got from biztalk is as follows:

System.NullReferenceException: Object reference not set to an instance of an
object.
at CISCOVLN_VA._3B18R11.Validate(XmlDo***ent preambleToValidate, XmlDo***ent
serviceHeaderToValidate, XmlDo***ent deliveryHeaderToValidate, XmlDo***ent
serviceContentToValidate, RNIFException RNIFerror)
at
Microsoft.Solutions.BTARN.ConfigurationManager.Val idateRNIFMessagePartsInvoker.InvokeValidate(XmlDoc ument
inPreamble, XmlDo***ent inServiceHeader, XmlDo***ent inDeliveryHeader,
XmlDo***ent inServiceContent, RNIFException rnifExceptionInfo, String
assemblyName, String className)
at
Microsoft.Solutions.BTARN.ConfigurationManager.Run timeConfig.IsRNIFMessageExternallyValidated(XLANGM essage inRNIFMessage, RNIFException rnifExceptionInfo)
at
Microsoft.Solutions.BTARN.ConfigurationManager.Run timeConfigV201.IsActionMessageValid(XLANGMessage inRNIFMessage, RNIFException& exceptionInfo)
at
Microsoft.Solutions.BTARN.PublicResponder.PublicRe sponderProcess.segment2(StopConditions stopOn)
at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment (Segment s,
StopConditions stopCond, Exception& exp)
System.NullReferenceException
Scoped@
PublicResponderProcess.??__scope0
PublicResponderProcess.PublicResponderProcess
823b2838-1b77-4e6d-b502-9cc687220f99
  Reply With Quote


  sponsored links


2 20th January 06:52
eric stott
External User
 
Posts: 1
Default Object reference not set to an instance of an object.



Do you have a promoted property (or distinguished field) that is null, and
am trying to reference it?
Eric
http://stottcreations.com/blog
  Reply With Quote
3 20th January 06:52
External User
 
Posts: 1
Default Object reference not set to an instance of an object.


Hi Eric,

Found out it was due to a poor coding in the custom validator.
It's solved now.

Thanks for your advice.

-Stephen chai-
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666