Null pointer issue with B4A-Bridge...

Gary Miyakawa

Active Member
Licensed User
Longtime User
Ok, just about got everything working BUT I'm seeing an issue, primarily when I'm running the B4A-Bridge against a Xoom tablet and running a Network communications tool (On Port 24)... If I run it from the emulator, I'm not seeing the issues..

After a period of time, running my program (which, every 30 seconds is sending a message (Keepalive) to port 24, expecting a response).. It works fine until, in the log, I see "Connected to B4A-Bridge" shows up... Shortly their after, I get a message on the Tablet "An error has occurred in sub:main_send_message (B4A Line: 62) AStreams.write(buffer). Java.lang.NullPointerException"... I've looked at Buffer and it has valid data in it.. This could be a thread issue I suppose but it's strange that the with the emulator, the problem doesn't seem to appear....

I'm a bit at a loss on what this might be and open to suggestions....

Thanks folks,

Gary M
 

Gary Miyakawa

Active Member
Licensed User
Longtime User
Erel,

Here is what I got on the log... I'm guessing it's a case that we are "temporarily" loosing connectivity to the wifi. but that is just a guess.

I ran on the emulator (and PC) and also on the Xoom tablet for 8 hours with no problems... So that leads me to think it is involved with the Bridge..

Thanks for your time (and GREAT product!)

Gary Miyakawa

 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…