Ranorex

Exception when running VS2005 Sample 3

 
Post new topic   Reply to topic    Ranorex Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
ranettix



Joined: 28 Aug 2006
Posts: 16

PostPosted: Mon Aug 28, 2006 1:14 pm    Post subject: Exception when running VS2005 Sample 3
The error is System.NullReferenceException, at
RanorexVS2005Sample3\Class1.cs:Line 244 - Ranorex.NumericUpDown.UpButton()

Assuming this is a bug
Question
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 05 Jul 2006
Posts: 351

PostPosted: Tue Aug 29, 2006 12:54 pm    Post subject:
It could be a bug, but we cannot reproduce it.
We tried windows XP English and windows XP German with all Ranorex versions.
Please post your OS version, OS language and Ranorex version.

Best Regards

Jenö Herget
Ranorex Team
Back to top
View user's profile Send private message Visit poster's website
ranettix



Joined: 28 Aug 2006
Posts: 16

PostPosted: Tue Aug 29, 2006 1:57 pm    Post subject:
Here the Versions used:

1. Windows Version 5.1
(Build 2600.xpsp_sp2_gdr.050301-1519 : Service Pack 2)


2. Ranorex Version 0.9.2


3. Microsoft Visual Studio 2005
Version 8.0.50727.42 (RTM.050727-4200)
Microsoft .NET Framework
Version 2.0.50727
Installierte Edition: C# Express
Microsoft Visual C# 2005 76544-000-0000011-00126


I'm starting the application in a DOS window, so the messages
are still visible when the application exited.
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 05 Jul 2006
Posts: 351

PostPosted: Wed Aug 30, 2006 12:50 pm    Post subject:
Do you start the origin RanorexVS2005Sample3.exe (unzipped from Ranorex-0.9.2.zip) or your own build version?

Jenö Herget
Ranorex Team
Back to top
View user's profile Send private message Visit poster's website
ranettix



Joined: 28 Aug 2006
Posts: 16

PostPosted: Wed Aug 30, 2006 1:44 pm    Post subject:
That was new compilation. But I just downloaded your release 0.9.3-beta1
and tried the delivered Exe - same result. Here the details:

************** Ausnahmetext **************
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei Ranorex.Mouse.MoveToElement(Element element)
bei VS2005Application.Form1.TestNumericUpDown_Click(Object sender, EventArgs e)
bei System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
bei System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
bei System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
bei System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
bei System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
bei System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
bei System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
bei System.Windows.Forms.ToolStrip.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


Also, at the console, there is the crash message:

.................................................
Role=ScrollBar Name=Horizontale Bildlaufleiste Location=(696,683)
Role=PushButton Name=Bildlauf nach links Location=(696,683)
Role=PushButton Name=Seite nach links
Role=Indicator Name=Position Location=(713,683)
Role=PushButton Name=Seite nach rechts Location=(755,683)
Role=PushButton Name=Bildlauf nach rechts Location=(816,683)
Role=Grip Name= Location=(833,683)
Item Location=(718,628)

NumericUpDown found
Value=45

Unbehandelte Ausnahme: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei Ranorex.Mouse.ClickElement(Element element)
bei Ranorex.NumericUpDown.UpButton()
bei RanorexVS2005Sample3.Class1.Main(String[] args)
Back to top
View user's profile Send private message
ranettix



Joined: 28 Aug 2006
Posts: 16

PostPosted: Thu Aug 31, 2006 10:23 am    Post subject:
Sorry ... when runnning the sample on another computer, with Windows 2000, the error comes up also.
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 05 Jul 2006
Posts: 351

PostPosted: Thu Aug 31, 2006 4:59 pm    Post subject:
OK thank you for the info,
we will check the problem with Windows 2000

Jenö Herget
Ranorex Team
Back to top
View user's profile Send private message Visit poster's website
admin
Site Admin


Joined: 05 Jul 2006
Posts: 351

PostPosted: Tue Sep 05, 2006 5:16 pm    Post subject:
The bug was fixed, please use the V0.9.3 Beta3 or higher if you have this problem.

Download: http://www.ranorex.com/download/Ranorex-0.9.3-Beta3.zip

Jenö Herget
Ranorex Team
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Ranorex Forum Index -> Bug Reports All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum