Unchecked Exception is swallowed on oneway communication
Closed this issue · 1 comments
Issue description
Lets assume we two apps, one acts as Server and the other acts as Client for a IPC Oneway call.
Now the Client performs a Oneway IPC call which includes a callback to the Server. The Server tries to process the request and suddenly produces a unchecked exception (OutOfMemory...). The Remoter Framework is now swallowing the unchecked Exception and the Client still waits for the callback to be called.
Steps to reproduce the issue
- Client calls Server via Oneway call
- Server produces unchecked exception
- Remoter swallows exception and Server continues
What's the expected result?
Unchecked exception in case of a IPC oneway call should be thrown which leads to the death of the App.
What's the actual result?
We had a OutOfMemory on the Server side and remoter was the cause that Android wasn't restarting our App because the OutOfMemory wasn't propagated any further. Instead the App got stuck in a unusable state.
Fixed in 1.2.4