Re: java.lang.NullPointerException when running project on another machine

49 views
Skip to first unread message

naveed

unread,
May 28, 2013, 9:55:20 AM5/28/13
to robotium-...@googlegroups.com
Hi can you please put logcat for this error ? 



On Tuesday, May 28, 2013 3:18:20 PM UTC+5, Tam Nguyen wrote:
I'm new to Robotium, I follow guide on https://code.google.com/p/robotium/wiki/RobotiumTutorials and everything is ok on my PC. But when I move project to my laptop, I got 2 issues:

1. It asked to re-install app due to different signature.
2. After that I got java.lang.NullPointerException when running test

Do we have any way to resolve this?


naveed

unread,
May 28, 2013, 10:00:49 AM5/28/13
to robotium-...@googlegroups.com
About  

"It asked to re-install app due to different signature."

You should follow complete tutorial on other machine as well to get it work, and hopefully it will also solve your second problem.

naveed

unread,
Jun 3, 2013, 1:51:35 AM6/3/13
to robotium-...@googlegroups.com
Please follow the complete tutorial on other machine/laptop as well to get it work. each machine has different signatures, 

On Monday, June 3, 2013 7:24:19 AM UTC+5, Tam Nguyen wrote:
Hi naveed,

I'm sorry for the late response, I was out of office in some days for vacation. Thank you for your response. I already add the log cat (error appears in log3.jpg and log4.jpg) for your review. Thank you very much for your help.

Note: let's me summary my situation again
 1. I create project on my PC, it works fine.
 2. I move that project to laptop and I got 2 issues above
 3. I connect device to PC and run again --> I got 2 issues above too --> after re-install app, issue #1 has gone away, but my script only runs few steps (lauch app, login) then I got issue #2
Reply all
Reply to author
Forward
0 new messages