Problems in 2010 3.1314.40

5 posts, 0 answers
  1. Rieni De Rijke
    Rieni De Rijke avatar
    170 posts
    Member since:
    Mar 2010

    Posted 27 Jan 2011 Link to this post

    We started to use the Telerik version 2010 3.1314.40 dll's.
    Now we get errormessages which we didn't have had before.
    We just open a window with a RadMap connected to a mapsource.
    After a bit paning, zooming and waiting we get this message: 

    System.ArgumentNullException: Value cannot be null.
    Parameter name: Children of 'System.Windows.Controls.UIElementCollection' cannot be null. Object derived from UIElement expected.
       at System.Windows.Controls.UIElementCollection.ValidateElement(UIElement element)
       at System.Windows.Controls.UIElementCollection.AddInternal(UIElement element)
       at System.Windows.Controls.UIElementCollection.Add(UIElement element)
       at Telerik.Windows.Controls.Map.MultiScaleImage.ImageCanvas.AddImage(Image image, AsyncDownloader downloader)
       at Telerik.Windows.Controls.Map.MultiScaleImage.AssyncImageReaderComplete(Stream stream, AsyncDownloader downloader)
    Source: mscorlib
    Target: System.Object _InvokeMethodFast(System.IRuntimeMethodInfo, System.Object, System.Object[], System.SignatureStruct ByRef, System.Reflection.MethodAttributes, System.RuntimeType)
    Stacktrace:    at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
       at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       at System.Delegate.DynamicInvokeImpl(Object[] args)
       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)

  2. Harald Vålerhaugen
    Harald Vålerhaugen avatar
    4 posts
    Member since:
    Jan 2010

    Posted 27 Jan 2011 Link to this post

    Let me just add that we are using a custom tile provider which has worked out fine until this problem suddenly appeared. Let's assume that some of the tile requests gets HTTP 500 errors. Will this be handled? What about corrupt images?

    The exception often occurs when all the visible tiles are loaded, so it may have something to do with preloading other zoom levels.

    More exception info:

    MultiScaleImage.cs

    System.NotSupportedException occurred
      Message=No imaging component suitable to complete this operation was found.
      Source=PresentationCore
      StackTrace:
           at System.Windows.Media.Imaging.BitmapDecoder.SetupDecoderFromUriOrStream(Uri uri, Stream stream, BitmapCacheOption cacheOption, Guid& clsId, Boolean& isOriginalWritable, Stream& uriStream, UnmanagedMemoryStream& unmanagedMemoryStream, SafeFileHandle& safeFilehandle)
      InnerException: System.Runtime.InteropServices.COMException
           Message=Exception from HRESULT: 0x88982F50
           ErrorCode=-2003292336
           InnerException: 


    HaraldV
  3. UI for WPF is Visual Studio 2017 Ready
  4. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 01 Feb 2011 Link to this post

    Hello Harald,

    Thank you for additional information.
    We have reproduced the problem. The HTTP error 500 is correctly handled by the map control, but the corrupted image throws the exception.
    We have created the PITS issue to fix this problem in future releases. You can track it using the following link:
    http://www.telerik.com/support/pits.aspx#/public/wpf/4741

    I hope this information helps.

    Regards,
    Andrey Murzov
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
  5. Rieni De Rijke
    Rieni De Rijke avatar
    170 posts
    Member since:
    Mar 2010

    Posted 08 Feb 2011 Link to this post

    I checked the PITS issue and noticed that the state has changed to "resolved". 
    So, is the problem fixed? Can we just copy the newest Internal Build? 
  6. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 10 Feb 2011 Link to this post

    Hi Rieni,

    Yes, the internal build already contains the fix for this problem.

    Kind regards,
    Andrey Murzov
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Back to Top
UI for WPF is Visual Studio 2017 Ready