tunglam236 / QLBH

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

Error on program load: Cannot create instance of 'MainWindow' defined in assembly 'Witty, Version=0.1.5.3408, Culture=neutral, PublicKeyToken=null'. Exception has been thrown by the target of an invocation. Error in markup file 'Witty;component/MainWindow.xaml #36

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start WittyTwitter

What version of the product are you using? On what operating system?
Witty v0.1.5 beta

Please provide any additional information below.
StackTrace:
"   at System.Windows.Markup.XamlParseException.ThrowException(String
message, Exception innerException, Int32 lineNumber, Int32 linePosition,
Uri baseUri, XamlObjectIds currentXamlObjectIds, XamlObjectIds
contextXamlObjectIds, Type objectType)\r\n   at
System.Windows.Markup.XamlParseException.ThrowException(ParserContext
parserContext, Int32 lineNumber, Int32 linePosition, String message,
Exception innerException)\r\n   at
System.Windows.Markup.BamlRecordReader.ThrowException(String message,
Exception innerException)\r\n   at
System.Windows.Markup.BamlRecordReader.CreateInstanceFromType(Type type,
Int16 typeId, Boolean throwOnFail)\r\n   at
System.Windows.Markup.BamlRecordReader.GetElementAndFlags(BamlElementStartRecord
bamlElementStartRecord, Object& element, ReaderFlags& flags, Type&
delayCreatedType, Int16& delayCreatedTypeId)\r\n   at
System.Windows.Markup.BamlRecordReader.BaseReadElementStartRecord(BamlElementSta
rtRecord
bamlElementRecord)\r\n   at
System.Windows.Markup.BamlRecordReader.ReadElementStartRecord(BamlElementStartRe
cord
bamlElementRecord)\r\n   at
System.Windows.Markup.BamlRecordReader.ReadRecord(BamlRecord
bamlRecord)\r\n   at System.Windows.Markup.BamlRecordReader.Read(Boolean
singleRecord)\r\n   at
System.Windows.Markup.TreeBuilderBamlTranslator.ParseFragment()\r\n   at
System.Windows.Markup.TreeBuilder.Parse()\r\n   at
System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext
parserContext, Object parent, Boolean closeStream)\r\n   at
System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream,
ParserContext pc)\r\n   at
MS.Internal.AppModel.AppModelKnownContentFactory.BamlConverter(Stream
stream, Uri baseUri, Boolean canUseTopLevelBrowser, Boolean
sandboxExternalContent, Boolean allowAsync, Boolean isJournalNavigation,
XamlReader& asyncObjectConverter)\r\n   at
MS.Internal.AppModel.MimeObjectFactory.GetObjectAndCloseStream(Stream s,
ContentType contentType, Uri baseUri, Boolean canUseTopLevelBrowser,
Boolean sandboxExternalContent, Boolean allowAsync, Boolean
isJournalNavigation, XamlReader& asyncObjectConverter)\r\n   at
System.Windows.Navigation.NavigationService.GetObjectFromResponse(WebRequest
request, WebResponse response, Uri destinationUri, Object navState)\r\n  
at System.Windows.Navigation.NavigationService.DoNavigate(Uri source,
NavigationMode f, Object navState)\r\n   at
System.Windows.Navigation.NavigateQueueItem.Dispatch(Object obj)\r\n   at
System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate
callback, Object args, Boolean isSingleParameter)\r\n   at
System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source,
Delegate callback, Object args, Boolean isSingleParameter, Delegate
catchHandler)\r\n   at
System.Windows.Threading.DispatcherOperation.InvokeImpl()\r\n   at
System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object
state)\r\n   at System.Threading.ExecutionContext.runTryCode(Object
userData)\r\n   at
System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(
TryCode
code, CleanupCode backoutCode, Object userData)\r\n   at
System.Threading.ExecutionContext.RunInternal(ExecutionContext
executionContext, ContextCallback callback, Object state)\r\n   at
System.Threading.ExecutionContext.Run(ExecutionContext executionContext,
ContextCallback callback, Object state)\r\n   at
System.Windows.Threading.DispatcherOperation.Invoke()\r\n   at
System.Windows.Threading.Dispatcher.ProcessQueue()\r\n   at
System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg,
IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n   at
MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr
lParam, Boolean& handled)\r\n   at
MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)\r\n   at
System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate
callback, Object args, Boolean isSingleParameter)\r\n   at
System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source,
Delegate callback, Object args, Boolean isSingleParameter, Delegate
catchHandler)\r\n   at
System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority,
TimeSpan timeout, Delegate method, Object args, Boolean
isSingleParameter)\r\n   at
System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority,
Delegate method, Object arg)\r\n   at
MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr
wParam, IntPtr lParam)\r\n   at
MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)\r\n   at
System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame
frame)\r\n   at
System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)\r\n  
at System.Windows.Threading.Dispatcher.Run()\r\n   at
System.Windows.Application.RunInternal(Window window)\r\n   at
System.Windows.Application.Run(Window window)\r\n   at
System.Windows.Application.Run()\r\n   at Witty.App.Main()"

Original issue reported on code.google.com by gdalz...@gmail.com on 29 Oct 2007 at 4:31

GoogleCodeExporter commented 8 years ago
thanks for reporting this? btw, are you on XP, I haven't tested the new skins 
on XP yet.

Original comment by alan...@gmail.com on 29 Oct 2007 at 6:41

GoogleCodeExporter commented 8 years ago
Yeah, I'm on XP.  Since restarting the PC it's now loading, but the 'Recent' 
list
isn't loading. Replies & user load fine, but "Recent" shows a blank screen

Original comment by gdalz...@gmail.com on 29 Oct 2007 at 8:45

GoogleCodeExporter commented 8 years ago
To further add to this, I am on XP, and am receiving the same error.  However, 
it
only happens for me when I try to launch Witty via SlickRun.  Launching 
directly by
double-clicking the application causes no issue.

Original comment by sreynold...@gmail.com on 4 Dec 2007 at 7:51

GoogleCodeExporter commented 8 years ago
This happens to me on Vista when running from the Start menu or via SlickRun

Original comment by shahi...@gmail.com on 6 Dec 2007 at 6:46

GoogleCodeExporter commented 8 years ago
I don't think this is still an issue

Original comment by jongallo...@gmail.com on 4 May 2008 at 5:01

GoogleCodeExporter commented 8 years ago
Can't reproduce on current versions

Original comment by jongallo...@gmail.com on 24 Dec 2008 at 4:39