Questions tagged [remoteexception]
27 questions
37
votes
3 answers
Android RemoteExceptions and Services
So I've written a Service and an Activity for the Android OS.
My service is running in it's own process, so all the communication between my Activities and the Service happens via IPC. I use the standard Android .aidl mechanism for this.
So far…

Nils Pipenbrinck
- 83,631
- 31
- 151
- 221
8
votes
1 answer
Python script in Powershell: Remote Exception and NativeCommandError
I'm at the very beginning of learning to code in Python (and first time using Powershell), so I assume my problem is very basic. When I try to run any Python script in PS, I get an error like the one below. The main suggestions I've found online are…

candidatemap
- 81
- 1
- 2
7
votes
0 answers
Android version 7.0 or above create exception android.app.RemoteServiceException:
Android version 7.0 or above create exception when we upload an update of my app crashes will be given
android.app.RemoteServiceException: at
android.app.ActivityThread$H.handleMessage (ActivityThread.java:1681)
at…

Ahmad Joyia
- 533
- 5
- 17
5
votes
1 answer
Application exit automatically without any warning or error
I have developed application for OCR using tesseract Library,
Application got exit during the execution of following code :
/*...
... Other Code stuff
...*/
protected Boolean doInBackground(String... arg0) {
/*...
... Other Code stuff
…

Hitesh Patel
- 2,868
- 2
- 33
- 62
4
votes
1 answer
Randomly closing app - InputManagerService: Got RemoteException sending setActive(false) notification
I've a very simple Android app, similar to fingerpaint application. I'm
drawing some lines on the screen with my finger.
My problem is that, app closes itself randomly, taking me back to
Android home screen.
Only log I can see on LogCat is that…

Genc
- 41
- 1
- 2
2
votes
1 answer
Marshalling issue while using rmi
i m trying to use rmi. The code below is the code that i m using it to bind.
@Override
public void init(String serviceName) throws RemoteException {
/*if(System.getSecurityManager() == null){
System.setSecurityManager(new…

brtb
- 2,201
- 6
- 34
- 53
2
votes
2 answers
SecurityException Huawei phone
Our app is getting a SecurityEception on a Huawei device (Huawei P30 Pro, Android 10). We have no idea what might be causing this, and Googling for it gave no results.
The complete stacktrace:
java.lang.SecurityException:
at…

Jorn Rigter
- 745
- 1
- 6
- 25
2
votes
0 answers
Hadoop Remote Exception Error on minReplication of datanodes
We are running our data processing Spark/Scala application on a 12 node EMR cluster. There are multiple stages during processing where we read and write the files to and from HDFS. Most of the time(99%) the data is being processed smoothly without…

qubiter
- 235
- 1
- 5
- 19
2
votes
1 answer
How to force Mockito to throw RemoteException in JUnit test
This is my code which I want to force to throw a Remote Exception:
transient Bicycle b=null;
public Bicycle getBicycle() {
if(b==null) {
try {
b=new Bicycle(this);
} catch (RemoteException ex) {
…

John Vasiliou
- 977
- 7
- 27
- 48
1
vote
0 answers
Remote StackTrace: removeChild
We are facing a weird problem. Another app are crashing and throwing an exception to our app, and it was caught by firebase. We have no idea of how protect our app against this. Does anyone have any idea about this? Above is the stacktrace:
Fatal…

Gustavo Navarro
- 101
- 4
1
vote
1 answer
Test if all methods of a Remote interface throw RemoteException
When working with RMI (Remote Method Invocation), it is required for all methods defined in interfaces extending Remote to contain RemoteException in their throws clause.
For example, see the following Computing interface from this RMI…

jjurm
- 501
- 6
- 11
1
vote
1 answer
RemoteException in IntentService
I have the following code in my IntentService to send a Message to the registered clients:
for(Messenger client : clients) {
client.send(aMessage);
}
According to the documentation of send(), this method can throw a RemoteException, a…

justanoob
- 1,797
- 11
- 27
1
vote
0 answers
Best way to handle android.os.RemoteException thrown by applyBatch
What is the best way to handle android.os.RemoteException thrown by applyBatch() method of ContentResolver or ContentProviderClient?
In my case I call applyBatch() of ContentProviderClient object passed in onPerformSync() method of…

art
- 1,222
- 9
- 19
1
vote
0 answers
RemoteException in connecting to Tomee (OpenEJB)
Working from the hello world sample, what can I do on tleilax to allow doge to connect to the locally running OpenEJB server? I've read through the documentation on how startup OpenEJB, but must be missing a step from the manual.
On tleilax,…

Thufir
- 8,216
- 28
- 125
- 273
1
vote
3 answers
Not able to get rid of famous DataStreamer Exception: org.apache.hadoop.ipc.RemoteException: error
I am running hadoop cluster with Ubuntu host as master-slave and virtual machine running on it as another slave(2 node cluster).
It seems the solution to the problem which is supposed to be resolved at No data nodes are started is not working for…

dsingh
- 270
- 1
- 5
- 17