These are chat archives for AvaloniaUI/Avalonia

29th
Jun 2015
Darnell Williams
@Seeker1437
Jun 29 2015 02:44
Okay my wpf experts...
I have a question for you.
Because I could not just like leave it as is :(
One of my applications acts properly for me when built on my PC but on other PCsit like the dependancy properties are set somewhere else and it ignore the XAML specification as well as the Constructor initialization.
Darnell Williams
@Seeker1437
Jun 29 2015 03:13
ANyways no matter what on earth I do D:
This message was deleted
Date: 6/28/2015 8:12:32 PM
OS: Microsoft Windows NT 6.2.9200.0
Application Directory: C:\Users\ServerAdmin\Downloads\
Current Directory: C:\Users\ServerAdmin\Downloads
System Folder: C:\Windows\system32
.NET Runtime: v4.0.30319
Exception Details: System.Windows.Markup.XamlParseException: Set property 'Awesomium.Windows.Controls.WebControl.Source' threw an exception. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: dp
   at System.Windows.DependencyObject.SetupPropertyChange(DependencyProperty dp)
   at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
   at Awesomium.Windows.Controls.WebControl.set_Source(Uri value)
   --- End of inner exception stack trace ---
   at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
   at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
   at MabiBroke.MainWindow.InitializeComponent()
   at MabiBroke.MainWindow..ctor()
   at MabiBroke.App.<OnStartup>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__4(Object state)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.Run()
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at MabiBroke.App.Main()
   at MabiBroke.Program.Main(String[] args)
But if it were null, wouldn't it be a problem on the development machine too?
Kai Eichinger
@cH40z-Lord
Jun 29 2015 06:00
hard to help you find the issue without seeing all of your code...
Darnell Williams
@Seeker1437
Jun 29 2015 11:58
True that XD
Johan Larsson
@JohanLarsson
Jun 29 2015 14:18
gah, I'm having trouble getting resourcekeys to work
Johan Larsson
@JohanLarsson
Jun 29 2015 14:42
solved it