Null References

Thread is closed for posting
15 posts, 0 answers
  1. Morgan
    Morgan avatar
    81 posts
    Member since:
    Dec 2009

    Posted 03 Nov 2012 Link to this post

    Designer interaction is resulting in null references...
  2. Ralf
    Ralf avatar
    23 posts
    Member since:
    Oct 2012

    Posted 04 Nov 2012 Link to this post

    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.
  3. Morgan
    Morgan avatar
    81 posts
    Member since:
    Dec 2009

    Posted 04 Nov 2012 Link to this post

    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.
  4. Morgan
    Morgan avatar
    81 posts
    Member since:
    Dec 2009

    Posted 04 Nov 2012 Link to this post

    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. 
  5. Nathan
    Nathan avatar
    3 posts
    Member since:
    Nov 2011

    Posted 04 Nov 2012 Link to this post

    Also getting this, have tried the "fix" on MSDN but still the same.
  6. Morgan
    Morgan avatar
    81 posts
    Member since:
    Dec 2009

    Posted 04 Nov 2012 Link to this post

    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()
  7. Morgan
    Morgan avatar
    81 posts
    Member since:
    Dec 2009

    Posted 16 Nov 2012 Link to this post

    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.
  8. Jeff
    Jeff avatar
    1 posts
    Member since:
    Sep 2008

    Posted 01 Jan 2013 Link to this post

    I'm getting the same error however only on certain controls.
  9. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 03 Jan 2013 Link to this post

    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.
  10. Michael
    Michael avatar
    52 posts
    Member since:
    Dec 2005

    Posted 10 Feb 2013 Link to this post

    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.
  11. Deyan
    Admin
    Deyan avatar
    2142 posts

    Posted 11 Feb 2013 Link to this post

    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.
  12. Michael
    Michael avatar
    52 posts
    Member since:
    Dec 2005

    Posted 11 Feb 2013 Link to this post

    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.
  13. Deyan
    Admin
    Deyan avatar
    2142 posts

    Posted 12 Feb 2013 Link to this post

    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.
  14. Nuno
    Nuno avatar
    2 posts
    Member since:
    Oct 2011

    Posted 26 Feb 2013 Link to this post

    Hello, I'm having the same problem.
  15. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1512 posts

    Posted 01 Mar 2013 Link to this post

    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.
Back to Top