I have implemented bluetooth client and server in the same jar and everything was working fine.
Now, I divided client and server functionality into separate jars without any code changes.
It worked fine in emulator but when I installed it in phone, acceptAndOpen() method is throwing "Null pointer Exception".

Thanks in Advance.