# java.lang.NullPointerException when using Mobile Recorder

**URL:** <https://forum.katalon.com/t/java-lang-nullpointerexception-when-using-mobile-recorder/8300>\
**Category:** Mobile Testing\
**Tags:** mobile-testing, katalon-studio\
**Created:** [November 16, 2017, 8:42am UTC](https://forum.katalon.com/t/java-lang-nullpointerexception-when-using-mobile-recorder/8300 "2017-11-16T08:42:24Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Angelo\_Legaspi](https://avatars.discourse-cdn.com/v4/letter/a/41988e/32.png) [@Angelo\_Legaspi](https://forum.katalon.com/u/Angelo_Legaspi)\
**Post date:** [November 16, 2017, 8:42am UTC](https://forum.katalon.com/t/java-lang-nullpointerexception-when-using-mobile-recorder/8300/1 "2017-11-16T08:42:24Z")

</div>

I am trying Katalon right now and I cannot use the ‘Available Actions’ like Tap error message java.lang.NullPointerException. TIA

---

<div class="post-metadata">

**Author:** ![sinew\_sunil](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@sinew\_sunil](https://forum.katalon.com/u/sinew_sunil)\
**Post date:** [November 16, 2017, 9:19am UTC](https://forum.katalon.com/t/java-lang-nullpointerexception-when-using-mobile-recorder/8300/2 "2017-11-16T09:19:07Z")

</div>

i am also getting same error

---

<div class="post-metadata">

**Author:** ![Yogita](https://avatars.discourse-cdn.com/v4/letter/y/9fc348/32.png) [@Yogita](https://forum.katalon.com/u/Yogita)\
**Post date:** [November 17, 2017, 12:41pm UTC](https://forum.katalon.com/t/java-lang-nullpointerexception-when-using-mobile-recorder/8300/3 "2017-11-17T12:41:37Z")

</div>

even i am facing the same issue

---

<div class="post-metadata">

**Author:** ![Samir\_Patel](https://avatars.discourse-cdn.com/v4/letter/s/9de0a6/32.png) [@Samir\_Patel](https://forum.katalon.com/u/Samir_Patel)\
**Post date:** [November 17, 2017, 12:52pm UTC](https://forum.katalon.com/t/java-lang-nullpointerexception-when-using-mobile-recorder/8300/4 "2017-11-17T12:52:42Z")

</div>

Even I got java.lang.NullPointException on click on any Available Action (ex. Tap) on Mobile Recorder(spy)

---

<div class="post-metadata">

**Author:** ![Samir\_Patel](https://avatars.discourse-cdn.com/v4/letter/s/9de0a6/32.png) [@Samir\_Patel](https://forum.katalon.com/u/Samir_Patel)\
**Post date:** [November 17, 2017, 1:59pm UTC](https://forum.katalon.com/t/java-lang-nullpointerexception-when-using-mobile-recorder/8300/5 "2017-11-17T13:59:22Z")

</div>

> @Samir Patel said:  
> Even I got java.lang.NullPointException on click on any Available Action (ex. Tap) on Mobile Recorder(spy)

Test Cases/Sample1 FAILED because (of) Failed to tap on element ‘Object Repository/Basic usage playground’ (Root cause: java.lang.NullPointerException)

---

<div class="post-metadata">

**Author:** ![Louie\_Milesevic](https://avatars.discourse-cdn.com/v4/letter/l/8797f3/32.png) [@Louie\_Milesevic](https://forum.katalon.com/u/Louie_Milesevic)\
**Post date:** [November 17, 2017, 3:43pm UTC](https://forum.katalon.com/t/java-lang-nullpointerexception-when-using-mobile-recorder/8300/6 "2017-11-17T15:43:03Z")

</div>

I am also getting this error even when executing a test on demo.apk file from IBM. This tells me that the issue is not the app but Katalon Studio itself.

---

<div class="post-metadata">

**Author:** ![sinew\_sunil](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@sinew\_sunil](https://forum.katalon.com/u/sinew_sunil)\
**Post date:** [November 20, 2017, 9:47am UTC](https://forum.katalon.com/t/java-lang-nullpointerexception-when-using-mobile-recorder/8300/7 "2017-11-20T09:47:59Z")

</div>

same here but last Friday it was working fine.  
I got java.lang.NullPointException on click on any Available Action (ex. Tap) on Mobile Recorder(spy)

---

<div class="post-metadata">

**Author:** ![Zarashima](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/zarashima/32/928_2.png) [@Zarashima](https://forum.katalon.com/u/Zarashima)\
**Post date:** [November 20, 2017, 3:03pm UTC](https://forum.katalon.com/t/java-lang-nullpointerexception-when-using-mobile-recorder/8300/8 "2017-11-20T15:03:36Z")

</div>

Hi guys,

I’ve logged a ticket for it. Will fix it asap .

Regards

---

<div class="post-metadata">

**Author:** ![sinew\_sunil](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@sinew\_sunil](https://forum.katalon.com/u/sinew_sunil)\
**Post date:** [November 21, 2017, 10:00am UTC](https://forum.katalon.com/t/java-lang-nullpointerexception-when-using-mobile-recorder/8300/9 "2017-11-21T10:00:34Z")

</div>

Hi @“Vinh Nguyen”  
Can you please tell me ETA for a new update.

---

<div class="post-metadata">

**Author:** ![Zarashima](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/zarashima/32/928_2.png) [@Zarashima](https://forum.katalon.com/u/Zarashima)\
**Post date:** [November 21, 2017, 12:23pm UTC](https://forum.katalon.com/t/java-lang-nullpointerexception-when-using-mobile-recorder/8300/10 "2017-11-21T12:23:39Z")

</div>

Hi there,

It will be around this week ASAp, so please wait for it

---

<div class="post-metadata">

**Author:** ![Angelo\_Legaspi](https://avatars.discourse-cdn.com/v4/letter/a/41988e/32.png) [@Angelo\_Legaspi](https://forum.katalon.com/u/Angelo_Legaspi)\
**Post date:** [November 22, 2017, 1:44am UTC](https://forum.katalon.com/t/java-lang-nullpointerexception-when-using-mobile-recorder/8300/11 "2017-11-22T01:44:02Z")

</div>

> @Vinh Nguyen said:  
> Hi there,
> 
> It will be around this week ASAp, so please wait for it

Thank you @“Vinh Nguyen” , will wait for the update.

---

<div class="post-metadata">

**Author:** ![Zarashima](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/zarashima/32/928_2.png) [@Zarashima](https://forum.katalon.com/u/Zarashima)\
**Post date:** [November 25, 2017, 5:32am UTC](https://forum.katalon.com/t/java-lang-nullpointerexception-when-using-mobile-recorder/8300/12 "2017-11-25T05:32:30Z")

</div>

It has been fixed in release 5.1.0.2. So please double check again on that version.

---

<div class="post-metadata">

**Author:** ![Angelo\_Legaspi](https://avatars.discourse-cdn.com/v4/letter/a/41988e/32.png) [@Angelo\_Legaspi](https://forum.katalon.com/u/Angelo_Legaspi)\
**Post date:** [November 26, 2017, 11:12pm UTC](https://forum.katalon.com/t/java-lang-nullpointerexception-when-using-mobile-recorder/8300/13 "2017-11-26T23:12:01Z")

</div>

> @Vinh Nguyen said:  
> It has been fixed in release 5.1.0.2. So please double check again on that version.

I will try this and give you an update @“Vinh Nguyen” . Thanks!!  
Cheers

---

<div class="post-metadata">

**Author:** ![sinew\_sunil](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@sinew\_sunil](https://forum.katalon.com/u/sinew_sunil)\
**Post date:** [November 27, 2017, 6:15am UTC](https://forum.katalon.com/t/java-lang-nullpointerexception-when-using-mobile-recorder/8300/14 "2017-11-27T06:15:03Z")

</div>

Fixed.  
Thanks Katalon

---

<div class="post-metadata">

**Author:** ![Angelo\_Legaspi](https://avatars.discourse-cdn.com/v4/letter/a/41988e/32.png) [@Angelo\_Legaspi](https://forum.katalon.com/u/Angelo_Legaspi)\
**Post date:** [November 28, 2017, 7:11am UTC](https://forum.katalon.com/t/java-lang-nullpointerexception-when-using-mobile-recorder/8300/15 "2017-11-28T07:11:34Z")

</div>

It is now working, but I got another problem. It is failing setting the password when i run the “Log In” test case of the mobile app. it got the error “FAILED because (of) Failed to set text into element (Root cause: Object Object Repository/android.widget.EditText1 - Password not found)”

This is the script  
Mobile.setText(findTestObject(‘android.widget.EditText1 - Password’), ‘MyPassword’, 0)

should i create a custom keyword for this? or is there a function for this? like setPassword?  
Thanks!

---

<div class="post-metadata">

**Author:** ![Zarashima](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/zarashima/32/928_2.png) [@Zarashima](https://forum.katalon.com/u/Zarashima)\
**Post date:** [November 28, 2017, 10:34am UTC](https://forum.katalon.com/t/java-lang-nullpointerexception-when-using-mobile-recorder/8300/16 "2017-11-28T10:34:17Z")

</div>

‘Object Object Repository/android.widget.EditText1 - Password not found’ relates to Katalon Studio can’t find this object based on its properties. Can you check on some other properties and try again?

---

<div class="post-metadata">

**Author:** ![Angelo\_Legaspi](https://avatars.discourse-cdn.com/v4/letter/a/41988e/32.png) [@Angelo\_Legaspi](https://forum.katalon.com/u/Angelo_Legaspi)\
**Post date:** [November 29, 2017, 3:27am UTC](https://forum.katalon.com/t/java-lang-nullpointerexception-when-using-mobile-recorder/8300/17 "2017-11-29T03:27:05Z")

</div>

now working. got to check some of the object properties.

Thanks!  
Cheers

---

<div class="post-metadata">

**Author:** ![maxwell\_munene](https://avatars.discourse-cdn.com/v4/letter/m/3ab097/32.png) [@maxwell\_munene](https://forum.katalon.com/u/maxwell_munene)\
**Post date:** [September 18, 2018, 9:11am UTC](https://forum.katalon.com/t/java-lang-nullpointerexception-when-using-mobile-recorder/8300/18 "2018-09-18T09:11:49Z")

</div>

Hi guys…I keep on getting java.lang.NullPointerException whenever i try capture objects on mobile recorder…Kindly assist.

---

<div class="post-metadata">

**Author:** ![jayesh](https://avatars.discourse-cdn.com/v4/letter/j/7ba0ec/32.png) [@jayesh](https://forum.katalon.com/u/jayesh)\
**Post date:** [September 18, 2018, 11:41am UTC](https://forum.katalon.com/t/java-lang-nullpointerexception-when-using-mobile-recorder/8300/19 "2018-09-18T11:41:13Z")

</div>

> [maxwell munene](https://forum.katalon.com/profile/11192/maxwell%20munene) said:
> 
> Hi guys…I keep on getting java.lang.NullPointerException whenever i try capture objects on mobile recorder…Kindly assist.

i am getting same error , please assist

---

<div class="post-metadata">

**Author:** ![satya2](https://avatars.discourse-cdn.com/v4/letter/s/97f17d/32.png) [@satya2](https://forum.katalon.com/u/satya2)\
**Post date:** [September 20, 2018, 6:35am UTC](https://forum.katalon.com/t/java-lang-nullpointerexception-when-using-mobile-recorder/8300/20 "2018-09-20T06:35:03Z")

</div>

> maxwell munene said:
> 
> Hi guys…I keep on getting java.lang.NullPointerException whenever i try capture objects on mobile recorder…Kindly assist.

> jayesh said:
> 
> > maxwell munene said:
> > 
> > Hi guys…I keep on getting java.lang.NullPointerException whenever i try capture objects on mobile recorder…Kindly assist.
> 
> i am getting same error , please assist

even I am getting the same error. It’s a bit priority to me, can someone help on this issue [Screenshot by Lightshot](http://prntscr.com/kwi4ga)

[Next page](https://forum.katalon.com/t/java-lang-nullpointerexception-when-using-mobile-recorder/8300.md?page=2)
