This is a migrated thread and some comments may be shown as answers.

Null References

14 Answers 104 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Morgan
Top achievements
Rank 1
Iron
Morgan asked on 03 Nov 2012, 07:39 PM
Designer interaction is resulting in null references...

14 Answers, 1 is accepted

Sort by
0
Ralf
Top achievements
Rank 1
answered on 04 Nov 2012, 10:28 AM
I had the same problem even before installing the Telerik controls. The cause seems to be designer files that are not correctly updated / see the following MSDN thread.
0
Morgan
Top achievements
Rank 1
Iron
answered on 04 Nov 2012, 06:20 PM
I think part of the assumption is that you had installed the beta version of the WP8 SDK which this was a clean install.  That is what I am getting from that thread.
0
Morgan
Top achievements
Rank 1
Iron
answered on 04 Nov 2012, 08:59 PM
so far I can say that the NullReference occurs with UserControls/Pages with Input assembly types on the page.  When ever I have a Primitive assembly control alone on the page it doesn't occur. 
0
Nathan
Top achievements
Rank 1
answered on 04 Nov 2012, 09:17 PM
Also getting this, have tried the "fix" on MSDN but still the same.
0
Morgan
Top achievements
Rank 1
Iron
answered on 04 Nov 2012, 09:29 PM
yep tried it as well even the uninstall of all Silverlight stuff, as well as even tried the Update 1 CTP 4

in addition to some of information provided in other posts this appears to be the error information associated with the "null reference"

at Microsoft.Expression.HostUtility.UriResolver.ComponentUriResolver.Parse(Uri uri, Uri baseUri, String assemblyName, IHostProject project)
   at Microsoft.Expression.HostUtility.UriResolver.ComponentUriResolver.TryResolve(Uri uri, String rootPath, String documentPath, String assemblyName, HostDesignTimeUriInfo& uriResolutionInfo)
   at Microsoft.Expression.HostUtility.UriResolver.UriResolverFactory.TryResolve(Uri uri, String rootPath, String referencingDocumentPath, String assemblyName, HostDesignTimeUriInfo& uriResolutionInfo)
   at Microsoft.Expression.HostUtility.UriResolver.UriResolver.TryResolve(Uri uri, String rootPath, String referencingDocumentPath, String assemblyName)
   at Microsoft.VisualStudio.ExpressionHost.HostServices.HostProjectService.Microsoft.Expression.DesignHost.IHostProjectService.MakeThemeResourceDesignTimeUri(Uri uri, String rootPath, String referencingDocumentPath, String assemblyName)
   at Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteHostProjectService.<>c__DisplayClass32.<Microsoft.Expression.DesignHost.Isolation.Remoting.IRemoteHostProjectService.MakeThemeResourceDesignTimeUri>b__31()
   at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.<>c__DisplayClass16`1.<MarshalIn>b__15()
   at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.Call.InvokeWorker()
0
Morgan
Top achievements
Rank 1
Iron
answered on 16 Nov 2012, 03:53 PM
also on a side note this is behavior from 2 clean install machines with RTM bits.  Something is not playing nice with the controls honestly believe it but I have no way to prove it.  Some controls don't freak but input controls for the most part are the culprit.  But again I can't put my finger on why it would only freak on those input controls are located on UserControls, that null exception.  It also happens with input only namespace controls, no matter container type placement (usercontrol, page).

I don't believe I am experiencing the issues associated with the Silverlight bits some are having, matter in fact I don't believe I was experiencing any issues with my design environment at all just assumed it was the IDE freaking and not specific with the controls.
0
Jeff
Top achievements
Rank 1
answered on 02 Jan 2013, 02:13 AM
I'm getting the same error however only on certain controls.
0
Valentin.Stoychev
Telerik team
answered on 03 Jan 2013, 08:46 AM
Hi all,

this is a known issue and we are working with MS folks to see how we can find a solution. Please stay tuned.

Greetings,
Valentin.Stoychev
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
0
Michael
Top achievements
Rank 1
answered on 10 Feb 2013, 08:22 PM
I get this exact same error with a WP7 project that worked fine in 2010.  It all builds fine, and the designer works fine UNTIL I click the RadListPicker either in the designer or the markup.  At that point, it blows up without fail.  It is quite annoying, and hope you guys figure it out.  I searched around for over an hour, and found very little to even try.
0
Deyan
Telerik team
answered on 11 Feb 2013, 08:53 AM
Hi Michael,

This issue is related to a bug in Visual Studio which will be fixed soon in the 2012 version of the IDE.

We have found a workaround for it for the 2012 version and the controls that target the Windows Phone 8 SDK are now working as expected.

This issue normally won't happen with Windows Phone 7 controls and Visual Studio 2010 on our side. Are you now using Visual Studio 2012 and a Windows Phone 7 project in the moment when this happens?

Kind regards,
Deyan
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
0
Michael
Top achievements
Rank 1
answered on 11 Feb 2013, 02:03 PM
I'm using VS.net 2012 Ultimate, and the project has not been upgraded to Windows Phone 8 yet.  I did use the Telerik Control Panel app to make sure I was on the latest release a few days ago, then used the Telerik upgrade wizard on my project.  If you have anything I could try, I would appreciate it.  If I just need to wait until VS.net Update 2 or the next WP7 controls release, that is fine, as it is not critical for me.
0
Deyan
Telerik team
answered on 12 Feb 2013, 07:00 AM
Hello Michael,

Waiting for the update is the best way to go.

I will consider the thread closed for now. Let me know if you have further questions or need assistance.

All the best,
Deyan
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
0
Nuno
Top achievements
Rank 2
answered on 27 Feb 2013, 12:59 AM
Hello, I'm having the same problem.
0
Kiril Stanoev
Telerik team
answered on 01 Mar 2013, 11:50 AM
Hi Nuno,

Microsoft has announced a CTP version of the Visual Studio 2012 Update 2 (VS2012.2). Please be aware that this CTP is NOT a “go-live” CTP and it is for evaluation only. 

Kind regards,
Kiril Stanoev
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
General Discussions
Asked by
Morgan
Top achievements
Rank 1
Iron
Answers by
Ralf
Top achievements
Rank 1
Morgan
Top achievements
Rank 1
Iron
Nathan
Top achievements
Rank 1
Jeff
Top achievements
Rank 1
Valentin.Stoychev
Telerik team
Michael
Top achievements
Rank 1
Deyan
Telerik team
Nuno
Top achievements
Rank 2
Kiril Stanoev
Telerik team
Share this question
or