﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - ClientUI - NullReferenceException on most UXPage XAML files</title><link>http://www.intersoftsolutions.com/Community/ClientUI/NullReferenceException-on-most-UXPage-XAML-files/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>NullReferenceException on most UXPage XAML files</title><link>http://www.intersoftsolutions.com/Community/ClientUI/NullReferenceException-on-most-UXPage-XAML-files/</link><pubDate>Thu, 26 Feb 2015 04:50:54 GMT</pubDate><dc:creator>yudi</dc:creator><category>UXTEXTBOX</category><category>NullReferenceException</category><category>xaml</category><category>UXPage</category><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;I created a simple Silverlight project based on your description.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Visual Studio 2012 Update 4.&lt;br&gt;&lt;img src="http://www.intersoftpt.com/Community/Attachments/14339/AboutVisualStudio.png" style="height: 149px; width: 393px;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Here is how the design view look like after add SL TextBox into the page.&lt;br&gt;&lt;img src="http://www.intersoftpt.com/Community/Attachments/14339/AddTextBox.png" style="height: 299px; width: 396px;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Here is how the design view look like after add SL TextBox into the page.&lt;br&gt;&lt;img src="http://www.intersoftpt.com/Community/Attachments/14339/AddUXTextBox.png" style="height: 299px; width: 396px;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;As shown in the above screenshots, the desig-view problem is not reproducible in my local end. I enclosed my simple project (as attachment) for your reference. Could you please kindly re-test the problem using TestDesigner2012 project and let me know the result?&lt;/span&gt;&lt;/p&gt;</description></item><item><title>NullReferenceException on most UXPage XAML files</title><link>http://www.intersoftsolutions.com/Community/ClientUI/NullReferenceException-on-most-UXPage-XAML-files/</link><pubDate>Wed, 25 Feb 2015 15:08:36 GMT</pubDate><dc:creator>lawton@xogent.com</dc:creator><category>UXTEXTBOX</category><category>NullReferenceException</category><category>xaml</category><category>UXPage</category><description>&lt;p style="font-size: 13.3333330154419px;"&gt;I am using VS 2012 update 4.&lt;br&gt;My project is a SL 5 project.&lt;br&gt;I'm using ClientUI 11, build 206.&lt;br&gt;It's happening in VS 2012.&amp;nbsp;&lt;/p&gt;&lt;p style="font-size: 13.3333330154419px;"&gt;I have created a new form matching an existing form. Everything works fine and displays properly until I add a UXTextBox to the form. As soon as I delete the UXTextBox, everything displays again.&lt;/p&gt;&lt;p style="font-size: 13.3333330154419px;"&gt;Below is the sample page. As soon as I add the UXTextBox anywhere on the form, I get the above error.&lt;/p&gt;&lt;pre&gt;&amp;lt;Intersoft:UXPage 	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:Intersoft="http://intersoft.clientui.com/schemas"
	mc:Ignorable="d"
	x:Class="MyApp.Views.Adjuster.UXPage1" 
	Title="UXPage1 Page"
	d:DesignWidth="640" d:DesignHeight="480"&amp;gt;

	&amp;lt;Grid x:Name="LayoutRoot"&amp;gt;
		&amp;lt;Grid.Background&amp;gt;
			&amp;lt;ImageBrush AlignmentY="Bottom" AlignmentX="Right" Stretch="None" Opacity="0.5" 
						ImageSource="/MyApp;component/Assets/Images/ProductsLarge.png"&amp;gt;
				&amp;lt;ImageBrush.Transform&amp;gt;
					&amp;lt;TranslateTransform X="40" Y="40"/&amp;gt;
				&amp;lt;/ImageBrush.Transform&amp;gt;
			&amp;lt;/ImageBrush&amp;gt;
		&amp;lt;/Grid.Background&amp;gt;
		&amp;lt;Intersoft:DockPanel Margin="10" &amp;gt;
			&amp;lt;Intersoft:StylishLabel Content="Label" Intersoft:DockPanel.Dock="Top" /&amp;gt;
			&amp;lt;Intersoft:UXScrollViewer Intersoft:DockPanel.IsFillElement="True" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto"&amp;gt;
				&amp;lt;Intersoft:UXStackPanel Orientation="Vertical"&amp;gt;
					&amp;lt;Intersoft:UXToolBar&amp;gt;
						&amp;lt;Intersoft:UXToolGroup&amp;gt;
							&amp;lt;Intersoft:UXToolBarButton Content="ToolBarButton"/&amp;gt;
							&amp;lt;Intersoft:UXToolBarButton Content="ToolBarButton"/&amp;gt;
						&amp;lt;/Intersoft:UXToolGroup&amp;gt;
					&amp;lt;/Intersoft:UXToolBar&amp;gt;
					&amp;lt;Intersoft:ExpandableGroupBox Header="General"&amp;gt;
						&amp;lt;Intersoft:UXStackPanel Orientation="Horizontal"&amp;gt;
							&amp;lt;Intersoft:UXItemsControl&amp;gt;
								&amp;lt;Intersoft:FieldLabel &amp;gt;
								&amp;lt;/Intersoft:FieldLabel&amp;gt;
							&amp;lt;/Intersoft:UXItemsControl&amp;gt;
						&amp;lt;/Intersoft:UXStackPanel&amp;gt;
					&amp;lt;/Intersoft:ExpandableGroupBox&amp;gt;
				&amp;lt;/Intersoft:UXStackPanel&amp;gt;
			&amp;lt;/Intersoft:UXScrollViewer&amp;gt;

		&amp;lt;/Intersoft:DockPanel&amp;gt;

	&amp;lt;/Grid&amp;gt;
&amp;lt;/Intersoft:UXPage&amp;gt;&lt;/pre&gt;&lt;p style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;Also, I can several other UX data entry controls (e.g., UXCheckBox) without issue. If I add the System.Windows.Controls.TextBox, it gives me the error.&lt;/p&gt;</description></item><item><title>NullReferenceException on most UXPage XAML files</title><link>http://www.intersoftsolutions.com/Community/ClientUI/NullReferenceException-on-most-UXPage-XAML-files/</link><pubDate>Wed, 25 Feb 2015 02:40:50 GMT</pubDate><dc:creator>yudi</dc:creator><category>UXTEXTBOX</category><category>NullReferenceException</category><category>xaml</category><category>UXPage</category><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Since I was unable to reproduce the reported problem in my end using a simple Silverlight project with following detail:&lt;/span&gt;&lt;/p&gt;&lt;ul style="color: #1f497d;"&gt;&lt;li&gt;Create Silverlight 5 project (.NET Framework 4.0) using Intersoft ClientUI MVVM Application project template&lt;/li&gt;&lt;li&gt;ClientUI 11 build 206.&lt;/li&gt;&lt;li&gt;Visual Studio 2013 Update 4&lt;/li&gt;&lt;li&gt;Open design view and add UXClock to UXPage1.xaml&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Could you please kindly add more information regarding this?&lt;/span&gt;&lt;/p&gt;
&lt;ul style="color: #1f497d;"&gt;&lt;li&gt;The Silverlight project version. Is it SL 4 or SL 5 project?&lt;/li&gt;&lt;li&gt;Does this happen on Visual Studio or Blend?&lt;/li&gt;&lt;li&gt;Visual Studio version or Blend version.&lt;/li&gt;&lt;li&gt;To determine whether the problem was caused by ClientUI control or not, please try to create a new Silverlight application by using Silverlight Application project template provided by Microsoft then add a common Silverlight controls such as: CheckBox, or TextBlock, or TextBox&lt;/li&gt;&lt;li&gt;If the problem doesn't persist after adding common Silverlight control, proceed by adding ClientUI control into the xaml page.&lt;/li&gt;&lt;li&gt;If the problem persist after adding ClientUI control, please send the xaml page to be investigated further.&lt;/li&gt;&lt;/ul&gt;</description></item><item><title>NullReferenceException on most UXPage XAML files</title><link>http://www.intersoftsolutions.com/Community/ClientUI/NullReferenceException-on-most-UXPage-XAML-files/</link><pubDate>Tue, 24 Feb 2015 19:00:32 GMT</pubDate><dc:creator>lawton@xogent.com</dc:creator><category>UXTEXTBOX</category><category>NullReferenceException</category><category>xaml</category><category>UXPage</category><description>After upgrading from 8.0.5000 to 10.0.5000 and persisting through 11.0.5000, most of the UXPage xaml pages in my silverlight app show the following error:&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;NullReferenceException: Object reference not set to an instance of an object.&lt;/div&gt;&lt;div&gt;StackTrace&lt;/div&gt;&lt;div&gt;&amp;nbsp; at MS.Internal.XcpImports.CheckHResult(UInt32 hr)&lt;/div&gt;&lt;div&gt;&amp;nbsp; at MS.Internal.XcpImports.FontFamily_GetFamilyName(CValue&amp;amp; element)&lt;/div&gt;&lt;div&gt;&amp;nbsp; at MS.Internal.XcpImports.ConvertCValueForManagedWithType(Type propertyType, CValue&amp;amp; outVal, Int32 outDOType, Boolean releaseObjectReference, Boolean deleteBuffer, IManagedPeerBase fromObject)&lt;/div&gt;&lt;div&gt;&lt;span style="font-size: 13.3333330154419px;"&gt;&amp;nbsp; at MS.Internal.XcpImports.GetManagedPropertyValueFromStyle(Boolean useBuiltInStyle, IManagedPeerBase obj, DependencyProperty property, Object&amp;amp; value)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size: 13.3333330154419px;"&gt;&amp;nbsp; at System.Windows.FrameworkElement.GetValueFromStyle(DependencyProperty property, Object&amp;amp; value)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size: 13.3333330154419px;"&gt;&amp;nbsp; at System.Windows.DependencyObject.EvaluateBaseValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry&amp;amp; newEntry, ValueOperation operation)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size: 13.3333330154419px;"&gt;&amp;nbsp; at System.Windows.DependencyObject.EvaluateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry newEntry, ValueOperation operation)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size: 13.3333330154419px;"&gt;&amp;nbsp; at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry&amp;amp; newEntry, ValueOperation operation)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size: 13.3333330154419px;"&gt;&amp;nbsp; at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size: 13.3333330154419px;"&gt;&amp;nbsp; at MS.Internal.FrameworkCallbacks.InvalidateProperty(InPtr nativeTarget, UInt32 propertyId)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size: 13.3333330154419px;"&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size: 13.3333330154419px;"&gt;InnerException: None&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size: 13.3333330154419px;"&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size: 13.3333330154419px;"&gt;I have deleted the obj and bin folders.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;I have updated all references.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;If I delete a section of the XAML, and then add it back, it will show the design view again.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Any guidance?&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;</description></item></channel></rss>