I have a project with about 6000 lines of code now and I have found the B4A development pratform to be very robust. Last night, from nowhere, without making any changes to the main code, things started to go wrong:-
- Bits of code from within the FirstTime loop in the main activity appeared NOT to run (about 1 in ten times the application is loaded).
- Files in the File.DirInternal directory that I have just written cannot then be opened again - having worked perfectly for several weeks. (I have fixed this by changing it to File.DirExternalRoot - but why?).
- Process Globals in the main activity are initialized in main.Activity_Create but then occasionally give null_pointers when referenced from other activities.
I have been compiling to two devices: An Asus Transformer and a Galaxy Tab. Both have worked consistently well for several weeks, now both are consistently playing up as above so the issue is not in the device.
All I could think had changed was a Java Update that had popped up on my Laptop in the last couple of days.
I also have B4A in my Desktop so I have copied the code to that and run again. No problems this time! Everything works fine on both devices. So the problem is in my Laptop.
Has anyone else had a similar problem? Shall I remove B4A (and/or Java) from my laptop and resinstall?
- Bits of code from within the FirstTime loop in the main activity appeared NOT to run (about 1 in ten times the application is loaded).
- Files in the File.DirInternal directory that I have just written cannot then be opened again - having worked perfectly for several weeks. (I have fixed this by changing it to File.DirExternalRoot - but why?).
- Process Globals in the main activity are initialized in main.Activity_Create but then occasionally give null_pointers when referenced from other activities.
I have been compiling to two devices: An Asus Transformer and a Galaxy Tab. Both have worked consistently well for several weeks, now both are consistently playing up as above so the issue is not in the device.
All I could think had changed was a Java Update that had popped up on my Laptop in the last couple of days.
I also have B4A in my Desktop so I have copied the code to that and run again. No problems this time! Everything works fine on both devices. So the problem is in my Laptop.
Has anyone else had a similar problem? Shall I remove B4A (and/or Java) from my laptop and resinstall?