[bug] System.IO.FileFormatException

7 posts, 0 answers
  1. IT Department
    IT Department avatar
    8 posts
    Member since:
    Jul 2010

    Posted 03 May 2011 Link to this post

    Launching JustDecompile displayed a message box containing the following:

    ---------------------------
    Error
    ---------------------------
    An error has occurred. Please, report this exception to the Telerik team (Use CTRL + C to copy the text). Thanks in advance!

     

    System.IO.FileFormatException: The image format is unrecognized. ---> System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x88982F07

       --- End of inner exception stack trace ---

       at System.Windows.Media.Imaging.BitmapFrameDecode.EnsureThumbnail()

       at System.Windows.Media.Imaging.BitmapFrameDecode.get_Thumbnail()

       at MS.Internal.AppModel.IconHelper.GetBestMatch(ReadOnlyCollection`1 frames, Size size)

       at MS.Internal.AppModel.IconHelper.CreateIconHandleFromImageSource(ImageSource image, Size size)

       at MS.Internal.AppModel.IconHelper.GetIconHandlesFromImageSource(ImageSource image, IconHandle& largeIconHandle, IconHandle& smallIconHandle)

       at System.Windows.Window.UpdateIcon()

       at System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight)

       at System.Windows.Window.CreateSourceWindow(Boolean duringShow)

       at System.Windows.Window.CreateSourceWindowDuringShow()

       at System.Windows.Window.SafeCreateWindowDuringShow()

       at System.Windows.Window.ShowHelper(Object booleanBox)

       at System.Windows.Window.Show()

       at ..InitializeShell() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile\JustDecompileBootstrapper.cs:line 27

       at Microsoft.Practices.Prism.MefExtensions.MefBootstrapper.Run(Boolean runWithDefaultConfiguration)

       at JustDecompile.App.OnStartup(StartupEventArgs e) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile\App.xaml.cs:line 21

       at System.Windows.Application.<.ctor>b__1(Object unused)

       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.runTryCode(Object userData)

       at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)

       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)

       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)

       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.InvokeImpl(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 System.Windows.Application.Run()

       at JustDecompile.App.() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile\obj\Release\App.g.cs:line 16777215
    ---------------------------
    OK  
    ---------------------------

  2. Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 11 May 2011 Link to this post

    Hi IT Department,

    Can you share some info about your PC configuration (OS/.net version) installed on you machine?

    Best wishes,
    Kaloyan
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

  3. DevCraft banner
  4. IT Department
    IT Department avatar
    8 posts
    Member since:
    Jul 2010

    Posted 11 May 2011 Link to this post

    The JustDecompile error happened on Win XP Pro SP3, running as VM on Windows 7 64-bit host
    .NET 4.0 is installed
  5. Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 12 May 2011 Link to this post

    Hello IT Department,

    There might be some problems when executing on XP machine. We will made some tests and hopefully the fix will be provided for the official release.

    All the best,
    Kaloyan
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

  6. Vladi
    Admin
    Vladi avatar
    167 posts

    Posted 18 May 2011 Link to this post

    Hello IT Department,

     
    There is a new JustDecompile Beta version available in which besides all the new features and enhancements we've also improved JD work with Win XP. Please give it a try and let us know if you still have issues: http://www.telerik.com/community/license-agreement.aspx?pId=845

    Thank you again for the involvement and hopefully you will continue supporting us.

    All the best,
    Vladi
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

  7. Alex van Herwijnen
    Alex van Herwijnen avatar
    1 posts
    Member since:
    Jul 2009

    Posted 27 May 2011 Link to this post

    I just installed the latest version of JustDecompile, unfortunately I still can't start it. It throws this exception:

    System.IO.FileFormatException: The image format is unrecognized. ---> System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x88982F07
     
       --- End of inner exception stack trace ---
     
       at System.Windows.Media.Imaging.BitmapFrameDecode.EnsureThumbnail()
       at System.Windows.Media.Imaging.BitmapFrameDecode.get_Thumbnail()
       at MS.Internal.AppModel.IconHelper.GetBestMatch(ReadOnlyCollection`1 frames, Size size)
       at MS.Internal.AppModel.IconHelper.CreateIconHandleFromImageSource(ImageSource image, Size size)
       at System.Windows.Window.UpdateIcon()
       at System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight)
       at System.Windows.Window.CreateSourceWindow(Boolean duringShow)
       at System.Windows.Window.ShowHelper(Object booleanBox)
       at Microsoft.Practices.Prism.MefExtensions.MefBootstrapper.Run(Boolean runWithDefaultConfiguration)
       at JustDecompile.App.OnStartup(StartupEventArgs e) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile\App.xaml.cs:line 16777215
       at System.Windows.Application.<.ctor>b__1(Object unused)
       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.WrappedInvoke(Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
       at System.Windows.Threading.DispatcherOperation.InvokeImpl()
       at System.Threading.ExecutionContext.runTryCode(Object userData)
       at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
       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.WrappedInvoke(Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
       at System.Windows.Threading.Dispatcher.InvokeImpl(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.Application.RunInternal(Window window)
       at System.Windows.Application.Run()
       at JustDecompile.App.() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile\obj\Release\App.g.cs:line 16777215


    The OS is Windows Server 2003 R2 x64 Standard Edition. Installed is VS2010 with SP1, .NET 2 SP2, .NET 3 SP2, .NET 3.5 SP1, .NET 4 Client Profile and .NET 4 Extended. I am using this machine through a Remote Desktop (RDP) connection.
  8. Chris
    Admin
    Chris avatar
    221 posts

    Posted 27 May 2011 Link to this post

    Hello Alex,
    We think we've finally managed to fix this problem and the fix will be available in the next internal build. We're still not sure though as we couldn't reproduce it locally even with the previous version.
    If you want to try the latest bits please open a new support thicket or use the general feedback form ( http://www.telerik.com/account/support-tickets/general-feedback.aspx ) and we'll send you the latest build.

    Best wishes,
    Chris
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Back to Top
DevCraft banner