Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / March 2005

Tip: Looking for answers? Try searching our database.

Unusual Internal Null reference exception: Microsoft.Web.Services2.Security.SignatureReference.GetXml()

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tim Mackey - 22 Mar 2005 16:55 GMT
hi,
i'm using WSE2 and i encountered an intermittent exception thrown by the WSE2 class library.  i can't reproduce the behaviour consistently.  any ideas?

System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Web.Services2.Security.SignatureReference.GetXml() at Microsoft.Web.Services2.Security.SignedInfo.GetXml() at Microsoft.Web.Services2.Security.SignedXmlSignature.GetXml(XmlDocument document) at Microsoft.Web.Services2.Security.Security.SerializeXml(SoapEnvelope document) at Microsoft.Web.Services2.Security.SecurityOutputFilter.ProcessHeader(Security security, SoapEnvelope envelope) at Microsoft.Web.Services2.Security.SecurityOutputFilter.ProcessMessage(SoapEnvelope envelope) at Microsoft.Web.Services2.Pipeline.ProcessOutputMessage(SoapEnvelope envelope) at Microsoft.Web.Services2.OutputStream.Close() at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at MyApp.webServ.WinDBWse.PageLock(Int32 ID, String username)

thanks
tim

\\ email: tim at mackey dot ie //
\\ blog: http://tim.mackey.ie //
67d0ebfec70e8db3
Sidd - 25 Mar 2005 09:04 GMT
Hi Tim,

Are you using WSE2 RTM, SP1, SP2 or SP3?

Any information on your scenario you are trying to do would help a lot.

Thanks,

Sidd [MSFT]
 hi,
 i'm using WSE2 and i encountered an intermittent exception thrown by the WSE2 class library.  i can't reproduce the behaviour consistently.  any ideas?

 System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Web.Services2.Security.SignatureReference.GetXml() at Microsoft.Web.Services2.Security.SignedInfo.GetXml() at Microsoft.Web.Services2.Security.SignedXmlSignature.GetXml(XmlDocument document) at Microsoft.Web.Services2.Security.Security.SerializeXml(SoapEnvelope document) at Microsoft.Web.Services2.Security.SecurityOutputFilter.ProcessHeader(Security security, SoapEnvelope envelope) at Microsoft.Web.Services2.Security.SecurityOutputFilter.ProcessMessage(SoapEnvelope envelope) at Microsoft.Web.Services2.Pipeline.ProcessOutputMessage(SoapEnvelope envelope) at Microsoft.Web.Services2.OutputStream.Close() at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at MyApp.webServ.WinDBWse.PageLock(Int32 ID, String username)

 thanks
 tim

 \\ email: tim at mackey dot ie //
 \\ blog: http://tim.mackey.ie //
 67d0ebfec70e8db3
Tim_Mac - 25 Mar 2005 19:37 GMT
i'm using RTM. i'll install SP3 and let you know if the error ever
happens again.  if it does, i'll try to factor out the code into a
simple app that i could post online.
thanks
tim

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.