Ranox crashes when changing path in Spy. : Bug Reports

Ranox crashes when changing path in Spy.

Bug reports and feature requests.

Ranox crashes when changing path in Spy.

Postby edxxgardo » Fri Mar 12, 2010 12:17 pm

After the crash, Ranorex was installed and this error came out.



Ranorex Studio Version : 2.2.2.7850
.NET Version : 2.0.50727.4927
OS Version : Microsoft Windows NT 6.1.7600.0
Current culture : English (United Kingdom) (en-GB)
Working Set Memory : 37316kb
GC Heap Memory : 2348kb

Unhandled exception terminated RanorexStudio
Exception thrown:
Ranorex.Core.RanorexCoreException: Failed to load plugins from user directory. ---> Ranorex.Core.RanorexCoreException: Failed to initialize plugin 'rxpathweights'. ---> System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.SortedList`2.get_Item(TKey key)
at Ranorex.Core.ReadOnlyDictionaryWrapper`2.get_Item(TKey key)
at Ranorex.Plugin.RxPathWeightsPlugin.Initialize()
at Ranorex.Core.PluginManager.Load(Plugin plugin)
--- End of inner exception stack trace ---
at Ranorex.Core.PluginManager.Load(Plugin plugin)
at Ranorex.Core.PluginManager.LoadPluginsWithDependencies(IList`1 flavorPlugins)
at Ranorex.Core.PluginManager.LoadPluginsFromDirectory(String directory)
at Ranorex.Core.PluginManager.LoadRanorexPluginsFromUserDirectory()
at Ranorex.Core.PluginManager.LoadDefaultPlugins()
--- End of inner exception stack trace ---
at Ranorex.Core.PluginManager.LoadDefaultPlugins()
at Ranorex.Core.PluginManager.LoadDefaultPluginsSuppressible()
at Ranorex.Core.ElementEngine.get_Instance()
at ICSharpCode.SharpDevelop.SplashScreenForm..ctor()
at ICSharpCode.SharpDevelop.SplashScreenForm.ShowSplashScreen()
at ICSharpCode.SharpDevelop.SharpDevelopMain.Run(String[] args)
at ICSharpCode.SharpDevelop.SharpDevelopMain.Main(String[] args)

---- Recent log messages:
Failed to append recent log messages.
System.InvalidOperationException: Sequence contains no elements
at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
at ICSharpCode.SharpDevelop.Sda.LogMessageRecorder.AppendRecentLogMessages(StringBuilder sb, ILog log)
at ICSharpCode.SharpDevelop.Sda.ExceptionBox.getClipboardString()

---- Post-error application state information:
edxxgardo
 
Posts: 12
Joined: Wed Mar 10, 2010 2:22 pm

Re: Ranox crashes when changing path in Spy.

Postby edxxgardo » Fri Mar 12, 2010 12:25 pm

After this crash, I can't start RanorexStudio and RanorexSpy, even if I remove it completly: I attached some screenshots:

Error:

Ranorex.Core.RanorexCoreException: Failed to load plugins from user directory. ---> Ranorex.Core.RanorexCoreException: Failed to initialize plugin 'rxpathweights'. ---> System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.SortedList`2.get_Item(TKey key)
at Ranorex.Core.ReadOnlyDictionaryWrapper`2.get_Item(TKey key)
at Ranorex.Plugin.RxPathWeightsPlugin.Initialize()
at Ranorex.Core.PluginManager.Load(Plugin plugin)
--- End of inner exception stack trace ---
at Ranorex.Core.PluginManager.Load(Plugin plugin)
at Ranorex.Core.PluginManager.LoadPluginsWithDependencies(IList`1 flavorPlugins)
at Ranorex.Core.PluginManager.LoadPluginsFromDirectory(String directory)
at Ranorex.Core.PluginManager.LoadRanorexPluginsFromUserDirectory()
at Ranorex.Core.PluginManager.LoadDefaultPlugins()
--- End of inner exception stack trace ---
at Ranorex.Core.PluginManager.LoadDefaultPlugins()
at Ranorex.Tools.SpyForm.InitLate()
at Ranorex.Tools.SpyForm.loadTimer_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Attachments
RanoxSpy.png
RanoxSpy.png (84.34 KiB) Viewed 68 times
RanoxStudio.png
RanoxStudio.png (152.14 KiB) Viewed 68 times
edxxgardo
 
Posts: 12
Joined: Wed Mar 10, 2010 2:22 pm

Re: Ranox crashes when changing path in Spy.

Postby edxxgardo » Fri Mar 12, 2010 12:35 pm

Ok, I solved it removing the Plugins folder from the ProgramData folder in Windows 7, before reinstalling the application because the removing procedure leaves behind the Plugin folder.

Regards,
edxxgardo
 
Posts: 12
Joined: Wed Mar 10, 2010 2:22 pm

Re: Ranox crashes when changing path in Spy.

Postby Support Team » Fri Mar 12, 2010 12:50 pm

Sorry, i've done a mistake in the xml syntax.
Just replace the term capability="trtag" with capability="webelement". Then the plugin should work.

Regards,
Peter
Ranorex Support Team
User avatar
Support Team
Site Admin
 
Posts: 1896
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria


Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 0 guests