TargetInvocationException when running rdm file

TargetInvocationException when running rdm file

avatar

Hi,

I use RDM 5.8.2.1 Standard Edition (.Net Runtime v2.0.50727, RDP 6.1.7600.16385) on Windows 7 32bit (6.1.7600).

When I double-click the following RDM file (see attached file, TeamViewedID and pword obfuscated), the TeamViewer session is properly started but a .Net error also pops up (see below for a transcript of the error).

When I close the .Net error it all seems to work fine and the rest of the session doesn't seem to suffer, but it's annoying to get that pop-up. I have my own way of organizing sessions in the file system, that's why I want to be able to double-click individual RDM files to launch sessions.

The same session started from the RDM GUI doesn't cause any error.

I tested this with a RDP session instead of TeamViewer and it does the same (.Net error pops up but the RDP session is properly started).

Any help or pointers would be greatly appreciated.

Thanks,
Christian

TargetInvocationException - Exception has been thrown by the target of an invocation.

at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at Devolutions.RemoteDesktopManager.Managers.UIManager.CreateMainForm()
at Devolutions.RemoteDesktopManager.Managers.UIManager.get_FrmMain()
at Devolutions.RemoteDesktopManager.Managers.OpenedConnectionManager.AddOpenedConnection(ConnectionWatcher connectionWatcher)
at Devolutions.RemoteDesktopManager.Managers.ConnectionManager.OpenConnection(Connection connection, OpenConnectionMode openConnectionMode)
at Devolutions.RemoteDesktopManager.Managers.ConsoleManager.ProcessSingleFileArgument(String argument)
at Devolutions.RemoteDesktopManager.Managers.ConsoleManager.ProcessSingleArgument(String argument)
at Devolutions.RemoteDesktopManager.Program.Main(String[] args)

------------------------------------------

NullReferenceException - Object reference not set to an instance of an object.

at Devolutions.RemoteDesktopManager.Forms.FrmMainDockable.DoInitializeComponent()
at Devolutions.RemoteDesktopManager.Forms.FrmBase.Initialize()
at Devolutions.RemoteDesktopManager.Forms.FrmBase..ctor()
at Devolutions.RemoteDesktopManager.Forms.FrmMainBase..ctor()
at Devolutions.RemoteDesktopManager.Forms.FrmMainDockable..ctor()

A2-TeamViewer.rdm

All Comments (5)

avatar

Hi,
Thank you for the bug report I will fix this.

David Hervieux

avatar

Thanks for the quick reply. Would a bug fix be included in the next release or further down the map? Just curious, I'll wait in any case...

avatar

David Hervieux

avatar

Works perfectly when double-clicking a RDM file now. Great!

One thing though: it seems that you have left the debug code in because when I start the GUI for the first time, it gives me a popup saying "No registered JIT debugger was specified". No big deal since I leave RDM on in the background but I wanted to let you know before other people download this version.

Thanks for a great product and great support!

Christian

avatar

Doh!,
sorry about that, I uploaded the binaries without the debug code.

David Hervieux