4.1.0- Exception thrown if a folder is added in Project view

Bug reports.
solovengo
Posts: 24
Joined: Mon Dec 19, 2011 8:14 pm

4.1.0- Exception thrown if a folder is added in Project view

Post by solovengo » Tue Aug 13, 2013 7:07 pm

Hello,
I am using Ranorex 4.1.0.

When I add a new folder in the Project view, an exception is thrown: "Object reference not set to an instance of a object". The same exception is thrown when renaming an existing folder in the Project view.

STEPS TO RECREATE THE ISSUE:
1. In the Project view pane, left-click on the project or on existing folder.
2. On the context menu, select Add > New Folder.
3. Enter a name for the folder.

RESULT:
"Object reference not set to an instance of a object" is displayed.

The exception dialog can be closed, and the folder is there in the Project view.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: 4.1.0- Exception thrown if a folder is added in Project view

Post by Support Team » Tue Aug 13, 2013 8:11 pm

Sorry, but I could not reproduce that problem.

Does that exception occur every time you execute the steps you described?
Is the project version controlled (SVN/TFS)?
Can you post the complete exception message, please? Or if this is the complete message, post a screenshot of the dialog?

Regards,
Alex
Ranorex Team
.
Image

solovengo
Posts: 24
Joined: Mon Dec 19, 2011 8:14 pm

Re: 4.1.0- Exception thrown if a folder is added in Project view

Post by solovengo » Tue Aug 13, 2013 8:29 pm

Yes, the project is in TFS.

I just tried creating a new Solution/Project in 4.1.0, and I do not get the exception. But I do get the exception in projects created in previous versions of Ranorex.

I also tried the steps for a project not bound to Source Control, and I do not get the exception.

But in my project bound to Source Control, I do get the exception every time I follow the steps.

I attached a screenshot of the exception dialog.

Thanks!
Attachments
screenshot1.jpg
screenshot1.jpg (6.96 KiB) Viewed 1291 times

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: 4.1.0- Exception thrown if a folder is added in Project view

Post by Support Team » Sat Aug 17, 2013 3:24 pm

solovengo wrote:But I do get the exception in projects created in previous versions of Ranorex.
So, you get the exception with the steps specified above only if you create the project with a 4.0.X version of Ranorex Studio?

Our developers had a look at the code and found a possible cause for that problem. However, in order to verify that they fixed the problem, could you provide us a sample solution you can reproduce the problem with?

Regards,
Alex
Ranorex Team
.
Image

solovengo
Posts: 24
Joined: Mon Dec 19, 2011 8:14 pm

Re: 4.1.0- Exception thrown if a folder is added in Project view

Post by solovengo » Sat Aug 17, 2013 4:20 pm

I will create an email and attach the Solution that manifest the issue. I will send it to the Ranorex Support email address and reference this Forum post.

Thanks for checking into this.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: 4.1.0- Exception thrown if a folder is added in Project view

Post by Support Team » Thu Aug 22, 2013 1:49 pm

Hello,

Thank you for providing your solution.
Unfortunately this is a bug in our current version and will be fixed in the next release.
Thank you!

Regards,
Bernhard
.
Image