ilan Expert Licensed User Longtime User Aug 18, 2012 #1 hi i made a program with some activity modules every modul plays background music (looping) i get sometimes error running my program on my samsung galaxy the error doesnot appears regularly, when i try it fast changing between activity modules it show me the error: "An error hasoccurred in sub: main_activity_resume(java line: 309) java.lang.NullPointerException Continiue?" but sometimes it works change between the modules but after some attempts the error appears. what could it be? thanx ilan
hi i made a program with some activity modules every modul plays background music (looping) i get sometimes error running my program on my samsung galaxy the error doesnot appears regularly, when i try it fast changing between activity modules it show me the error: "An error hasoccurred in sub: main_activity_resume(java line: 309) java.lang.NullPointerException Continiue?" but sometimes it works change between the modules but after some attempts the error appears. what could it be? thanx ilan
Erel B4X founder Staff member Licensed User Longtime User Aug 19, 2012 #2 You should run your code in Debug mode. The problematic source code line will appear in the logs. Upvote 0