flpvn / wittytwitter

Automatically exported from code.google.com/p/wittytwitter
0 stars 0 forks source link

Unhandled exceptions - Value does not fall within the expected range #130

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Glen Gordon sent me this log file of some unhandled excpetions he was 
getting that was causing Witty to crash.  

[Header]\r\n2008-05-08 11:39:10,496 [1] INFO  Witty.Logging - Witty is 
starting.
2008-05-08 11:44:31,491 [1] ERROR Witty.Logging - Unhandled Exception
System.Reflection.TargetInvocationException: Exception has been thrown by 
the target of an invocation. ---> System.ArgumentException: Value does not 
fall within the expected range.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal
(Int32 errorCode, IntPtr errorInfo)
   at MS.Win32.WinInet.get_InternetCacheFolder()
   at System.Windows.Media.Imaging.BitmapDownload.BeginDownload
(BitmapDecoder decoder, Uri uri, RequestCachePolicy uriCachePolicy, Stream 
stream)
   at System.Windows.Media.Imaging.LateBoundBitmapDecoder..ctor(Uri 
baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, 
BitmapCacheOption cacheOption, RequestCachePolicy requestCachePolicy)
   at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri 
baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, 
BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy, Boolean 
insertInDecoderCache)
   at System.Windows.Media.Imaging.BitmapFrame.CreateFromUriOrStream(Uri 
baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, 
BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy)
   at System.Windows.Media.ImageSourceConverter.ConvertFrom
(ITypeDescriptorContext context, CultureInfo culture, Object value)
   at System.ComponentModel.TypeConverter.ConvertFromString(String text)
   at Witty.Popup..ctor(String heading, String body, String imageSource, 
Int32 numPopups)
   at Witty.Popup..ctor(Tweet tweet, Int32 numPopups)
   at Witty.MainWindow.PopUpNotify(TweetCollection newTweets)
   at Witty.MainWindow.NotifyOnNewTweets(TweetCollection newTweets)
   at Witty.MainWindow.UpdateUserInterface(TweetCollection newTweets)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] 
arguments, SignatureStruct& sig, MethodAttributes methodAttributes, 
RuntimeTypeHandle typeOwner)
   at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] 
arguments, Signature sig, MethodAttributes methodAttributes, 
RuntimeTypeHandle typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags 
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, 
Boolean skipVisibilityChecks)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate 
callback, Object args, Boolean isSingleParameter)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object 
source, Delegate callback, Object args, Boolean isSingleParameter, 
Delegate catchHandler)
2008-05-08 11:45:37,259 [1] ERROR Witty.Logging - Unhandled exception 
occurred.
System.Reflection.TargetInvocationException: Exception has been thrown by 
the target of an invocation. ---> System.ArgumentException: Value does not 
fall within the expected range.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal
(Int32 errorCode, IntPtr errorInfo)
   at MS.Win32.WinInet.get_InternetCacheFolder()
   at System.Windows.Media.Imaging.BitmapDownload.BeginDownload
(BitmapDecoder decoder, Uri uri, RequestCachePolicy uriCachePolicy, Stream 
stream)
   at System.Windows.Media.Imaging.LateBoundBitmapDecoder..ctor(Uri 
baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, 
BitmapCacheOption cacheOption, RequestCachePolicy requestCachePolicy)
   at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri 
baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, 
BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy, Boolean 
insertInDecoderCache)
   at System.Windows.Media.Imaging.BitmapFrame.CreateFromUriOrStream(Uri 
baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, 
BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy)
   at System.Windows.Media.ImageSourceConverter.ConvertFrom
(ITypeDescriptorContext context, CultureInfo culture, Object value)
   at System.ComponentModel.TypeConverter.ConvertFromString(String text)
   at Witty.Popup..ctor(String heading, String body, String imageSource, 
Int32 numPopups)
   at Witty.Popup..ctor(Tweet tweet, Int32 numPopups)
   at Witty.MainWindow.PopUpNotify(TweetCollection newTweets)
   at Witty.MainWindow.NotifyOnNewTweets(TweetCollection newTweets)
   at Witty.MainWindow.UpdateUserInterface(TweetCollection newTweets)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] 
arguments, SignatureStruct& sig, MethodAttributes methodAttributes, 
RuntimeTypeHandle typeOwner)
   at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] 
arguments, Signature sig, MethodAttributes methodAttributes, 
RuntimeTypeHandle typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags 
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, 
Boolean skipVisibilityChecks)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate 
callback, Object args, Boolean isSingleParameter)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object 
source, Delegate callback, Object args, Boolean isSingleParameter, 
Delegate catchHandler)
[Header]\r\n2008-05-08 11:54:43,376 [1] INFO  Witty.Logging - Witty is 
starting.
2008-05-08 11:54:53,161 [4] DEBUG Witty.Logging - There was a problem 
logging in to Twitter: System.Net.WebException: The remote name could not 
be resolved: 'twitter.com'
   at System.Net.HttpWebRequest.GetResponse()
   at TwitterLib.TwitterNet.Login()
   at Witty.MainWindow.TryLogin()
[Footer]\r\n[Header]\r\n2008-05-08 12:11:39,016 [1] INFO  Witty.Logging - 
Witty is starting.
2008-05-08 12:11:49,335 [4] DEBUG Witty.Logging - There was a problem 
logging in to Twitter: System.Net.WebException: The remote name could not 
be resolved: 'twitter.com'
   at System.Net.HttpWebRequest.GetResponse()
   at TwitterLib.TwitterNet.Login()
   at Witty.MainWindow.TryLogin()
[Footer]\r\n[Header]\r\n2008-05-08 18:52:34,076 [1] INFO  Witty.Logging - 
Witty is starting.
2008-05-08 18:57:41,688 [1] ERROR Witty.Logging - Unhandled Exception
System.Reflection.TargetInvocationException: Exception has been thrown by 
the target of an invocation. ---> System.ArgumentException: Value does not 
fall within the expected range.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal
(Int32 errorCode, IntPtr errorInfo)
   at MS.Win32.WinInet.get_InternetCacheFolder()
   at System.Windows.Media.Imaging.BitmapDownload.BeginDownload
(BitmapDecoder decoder, Uri uri, RequestCachePolicy uriCachePolicy, Stream 
stream)
   at System.Windows.Media.Imaging.LateBoundBitmapDecoder..ctor(Uri 
baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, 
BitmapCacheOption cacheOption, RequestCachePolicy requestCachePolicy)
   at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri 
baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, 
BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy, Boolean 
insertInDecoderCache)
   at System.Windows.Media.Imaging.BitmapFrame.CreateFromUriOrStream(Uri 
baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, 
BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy)
   at System.Windows.Media.ImageSourceConverter.ConvertFrom
(ITypeDescriptorContext context, CultureInfo culture, Object value)
   at System.ComponentModel.TypeConverter.ConvertFromString(String text)
   at Witty.Popup..ctor(String heading, String body, String imageSource, 
Int32 numPopups)
   at Witty.Popup..ctor(Tweet tweet, Int32 numPopups)
   at Witty.MainWindow.PopUpNotify(TweetCollection newTweets)
   at Witty.MainWindow.NotifyOnNewTweets(TweetCollection newTweets)
   at Witty.MainWindow.UpdateUserInterface(TweetCollection newTweets)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] 
arguments, SignatureStruct& sig, MethodAttributes methodAttributes, 
RuntimeTypeHandle typeOwner)
   at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] 
arguments, Signature sig, MethodAttributes methodAttributes, 
RuntimeTypeHandle typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags 
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, 
Boolean skipVisibilityChecks)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate 
callback, Object args, Boolean isSingleParameter)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object 
source, Delegate callback, Object args, Boolean isSingleParameter, 
Delegate catchHandler)
2008-05-08 19:01:31,772 [1] ERROR Witty.Logging - Unhandled exception 
occurred.
System.Reflection.TargetInvocationException: Exception has been thrown by 
the target of an invocation. ---> System.ArgumentException: Value does not 
fall within the expected range.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal
(Int32 errorCode, IntPtr errorInfo)
   at MS.Win32.WinInet.get_InternetCacheFolder()
   at System.Windows.Media.Imaging.BitmapDownload.BeginDownload
(BitmapDecoder decoder, Uri uri, RequestCachePolicy uriCachePolicy, Stream 
stream)
   at System.Windows.Media.Imaging.LateBoundBitmapDecoder..ctor(Uri 
baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, 
BitmapCacheOption cacheOption, RequestCachePolicy requestCachePolicy)
   at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri 
baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, 
BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy, Boolean 
insertInDecoderCache)
   at System.Windows.Media.Imaging.BitmapFrame.CreateFromUriOrStream(Uri 
baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, 
BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy)
   at System.Windows.Media.ImageSourceConverter.ConvertFrom
(ITypeDescriptorContext context, CultureInfo culture, Object value)
   at System.ComponentModel.TypeConverter.ConvertFromString(String text)
   at Witty.Popup..ctor(String heading, String body, String imageSource, 
Int32 numPopups)
   at Witty.Popup..ctor(Tweet tweet, Int32 numPopups)
   at Witty.MainWindow.PopUpNotify(TweetCollection newTweets)
   at Witty.MainWindow.NotifyOnNewTweets(TweetCollection newTweets)
   at Witty.MainWindow.UpdateUserInterface(TweetCollection newTweets)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] 
arguments, SignatureStruct& sig, MethodAttributes methodAttributes, 
RuntimeTypeHandle typeOwner)
   at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] 
arguments, Signature sig, MethodAttributes methodAttributes, 
RuntimeTypeHandle typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags 
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, 
Boolean skipVisibilityChecks)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate 
callback, Object args, Boolean isSingleParameter)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object 
source, Delegate callback, Object args, Boolean isSingleParameter, 
Delegate catchHandler)
2008-05-08 19:02:41,282 [1] ERROR Witty.Logging - Unhandled Exception
System.Reflection.TargetInvocationException: Exception has been thrown by 
the target of an invocation. ---> System.ArgumentException: Value does not 
fall within the expected range.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal
(Int32 errorCode, IntPtr errorInfo)
   at MS.Win32.WinInet.get_InternetCacheFolder()
   at System.Windows.Media.Imaging.BitmapDownload.BeginDownload
(BitmapDecoder decoder, Uri uri, RequestCachePolicy uriCachePolicy, Stream 
stream)
   at System.Windows.Media.Imaging.LateBoundBitmapDecoder..ctor(Uri 
baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, 
BitmapCacheOption cacheOption, RequestCachePolicy requestCachePolicy)
   at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri 
baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, 
BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy, Boolean 
insertInDecoderCache)
   at System.Windows.Media.Imaging.BitmapFrame.CreateFromUriOrStream(Uri 
baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, 
BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy)
   at System.Windows.Media.ImageSourceConverter.ConvertFrom
(ITypeDescriptorContext context, CultureInfo culture, Object value)
   at System.ComponentModel.TypeConverter.ConvertFromString(String text)
   at Witty.Popup..ctor(String heading, String body, String imageSource, 
Int32 numPopups)
   at Witty.Popup..ctor(Tweet tweet, Int32 numPopups)
   at Witty.MainWindow.PopUpNotify(TweetCollection newTweets)
   at Witty.MainWindow.NotifyOnNewTweets(TweetCollection newTweets)
   at Witty.MainWindow.UpdateUserInterface(TweetCollection newTweets)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] 
arguments, SignatureStruct& sig, MethodAttributes methodAttributes, 
RuntimeTypeHandle typeOwner)
   at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] 
arguments, Signature sig, MethodAttributes methodAttributes, 
RuntimeTypeHandle typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags 
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, 
Boolean skipVisibilityChecks)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate 
callback, Object args, Boolean isSingleParameter)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object 
source, Delegate callback, Object args, Boolean isSingleParameter, 
Delegate catchHandler)
2008-05-08 19:02:43,556 [1] ERROR Witty.Logging - Unhandled exception 
occurred.
System.Reflection.TargetInvocationException: Exception has been thrown by 
the target of an invocation. ---> System.ArgumentException: Value does not 
fall within the expected range.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal
(Int32 errorCode, IntPtr errorInfo)
   at MS.Win32.WinInet.get_InternetCacheFolder()
   at System.Windows.Media.Imaging.BitmapDownload.BeginDownload
(BitmapDecoder decoder, Uri uri, RequestCachePolicy uriCachePolicy, Stream 
stream)
   at System.Windows.Media.Imaging.LateBoundBitmapDecoder..ctor(Uri 
baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, 
BitmapCacheOption cacheOption, RequestCachePolicy requestCachePolicy)
   at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri 
baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, 
BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy, Boolean 
insertInDecoderCache)
   at System.Windows.Media.Imaging.BitmapFrame.CreateFromUriOrStream(Uri 
baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, 
BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy)
   at System.Windows.Media.ImageSourceConverter.ConvertFrom
(ITypeDescriptorContext context, CultureInfo culture, Object value)
   at System.ComponentModel.TypeConverter.ConvertFromString(String text)
   at Witty.Popup..ctor(String heading, String body, String imageSource, 
Int32 numPopups)
   at Witty.Popup..ctor(Tweet tweet, Int32 numPopups)
   at Witty.MainWindow.PopUpNotify(TweetCollection newTweets)
   at Witty.MainWindow.NotifyOnNewTweets(TweetCollection newTweets)
   at Witty.MainWindow.UpdateUserInterface(TweetCollection newTweets)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] 
arguments, SignatureStruct& sig, MethodAttributes methodAttributes, 
RuntimeTypeHandle typeOwner)
   at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] 
arguments, Signature sig, MethodAttributes methodAttributes, 
RuntimeTypeHandle typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags 
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, 
Boolean skipVisibilityChecks)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate 
callback, Object args, Boolean isSingleParameter)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object 
source, Delegate callback, Object args, Boolean isSingleParameter, 
Delegate catchHandler)

Original issue reported on code.google.com by keith.el...@gmail.com on 9 May 2008 at 12:08