I am running Android test cases in Eclipse. When I run them individually, they execute correctly; but when I run all of them together, I face the issue: "android test run failed. instrumentation run failed due to java.lang.NullPointerException." At times, it is fine and sometimes ends up in error.
            Asked
            
        
        
            Active
            
        
            Viewed 1,294 times
        
    2
            
            
         
    
    
        halfer
        
- 19,824
- 17
- 99
- 186
 
    
    
        Sanjotha Sahair
        
- 31
- 1
- 6
- 
                    Check out http://stackoverflow.com/questions/218384/what-is-a-nullpointerexception-and-how-do-i-fix-it – Pphoenix Aug 25 '14 at 06:43
- 
                    1Add the whole stacktrace and the relevant code please. – Jens Aug 25 '14 at 06:43
- 
                    1Without `code` and `LogCat` we can't help you. – Amit Anand Aug 25 '14 at 09:50
- 
                    @Sharath why do you make all those edits of long-forgotten questions? – Nick Volynkin Jun 20 '15 at 14:26
- 
                    May be it would be useful for them or they would delete the ques – Sharath Jun 20 '15 at 14:28