Application crashes when launching via Ranorex

Bug reports.
User avatar
sandamal
Posts: 28
Joined: Wed Jul 08, 2015 7:50 am

Application crashes when launching via Ranorex

Post by sandamal » Wed Jul 08, 2015 8:11 am

When start the Android application via ranorex , application loaded and Crashed in few seconds.

we are receiving below error via "Splunk MINT"

Code: Select all

java.lang.NullPointerException
 at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:102)
 at java.net.ServerSocket.implAccept(ServerSocket.java:202)
 at java.net.ServerSocket.accept(ServerSocket.java:127)
 at com.ranorex.communication.ListenThread.run(ListenThread.java:55)
 at java.lang.Thread.run(Thread.java:856)
We are using Ranorex 5.2.2.2156
.NET Runtme Version 4.0.30319.34011

Please advice on this.

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

Re: Application crashes when launching via Ranorex

Post by Support Team » Thu Jul 09, 2015 12:20 pm

Hi Sandamal,

Unfortunately, it is hard to analyze this problem without having detailed information about your application under test. May I ask you to send a non-instrumented version of the application to [email protected]?

This allows us to reproduce the problem directly on our machines and to analyze the source of it.
Thank you in advance.

Additionally, may I also ask you to update Ranorex to the latest Version (5.4) and try to reproduce this problem?

Regards,

Markus (S)
.
Image

User avatar
sandamal
Posts: 28
Joined: Wed Jul 08, 2015 7:50 am

Re: Application crashes when launching via Ranorex

Post by sandamal » Tue Jul 14, 2015 5:12 am

Hi

We found the culprit is "Splunk MINT" - https://mint.splunk.com/ for this issue.
It seems mint has some conflict with ranorex.
so we took an android release without mint and now it is working fine with ranorex. :roll:

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

Re: Application crashes when launching via Ranorex

Post by Support Team » Thu Jul 16, 2015 6:26 am

Hi Sandamal,

Thank you for the update.
I'm glad that you were able to overcome this issue.

Regards,
Markus (S)
.
Image

thilina
Posts: 28
Joined: Wed Sep 03, 2014 12:32 pm

Re: Application crashes when launching via Ranorex

Post by thilina » Tue May 02, 2017 8:09 am

is there any other solution than removing Splunk MINT, :?

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3930
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Application crashes when launching via Ranorex

Post by odklizec » Tue May 02, 2017 8:41 am

Hi,

Have you tried to disable Network Monitoring, as described here:
android-studio-build-t8058.html#p33471
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration