Demo Directsync asked in #ApexJan 29, 2016, 9:25 AMTest class System.NullPointerException: Attempt to de-reference a null objectHi, when I am running a test class the pagereference method is having try, cactch blocks the MyPage.setRedirect(true) is return outside of the chatch block so i am not able to cover this code please help me on this.Thanks, zabi1 answerSortSort by DateSort by Most HelpfulSort by DateMarek Kosař (Target Everest)Jan 29, 2016, 9:45 AMHi Zabi,paste here your test class, it's hard to help without it.marek
Marek Kosař (Target Everest)Jan 29, 2016, 9:45 AMHi Zabi,paste here your test class, it's hard to help without it.marek