Unable to open socket for UEventObserver Exception - android

since a few days we observe a rapid increase of an unnusual exception when the user uses our app with the Samsung S4 (the error does not appear on other devices).
We could not determine the source of the exception but got two indications:
The exception message from the user:
java.lang.RuntimeException: Unable to open socket for UEventObserver
at android.os.UEventObserver.nativeSetup(Native Method)
at android.os.UEventObserver.access$000(UEventObserver.java:41)
at android.os.UEventObserver$UEventThread.run(UEventObserver.java:179)
A dialog with the title Prevention information appears after the app has crashed.
Updating the policy ends with the error message Update failed due to network issues.
After a google search i found the information that there are other apps like whats app with the same issue but unfortunately without solutions.
Does anyone know this issue or a solution for this problem?

Related

What is the meaning of the CastStatusCodes 2255?

I have an Android sender app and Android TV receiver app. When I start to connect the Android TV receiver app, it returns an error code 2255 in onSessionStartFailed().
I have referred the Google Cast documentation (https://developers.google.com/android/reference/com/google/android/gms/cast/CastStatusCodes) and cannot found the definition of 2255 in this page.
Also, I try to read the code from com.google.android.gms.cast.CastStatusCodes, it seems that error code 2255 is a special case.
if (var0 < 2300) {
return String.format(Locale.ROOT, "Cast remote display status code %d", var0);
}
Thanks in advance.
Not sure if this is your issue, but this can happen if you try to run the Cast Debug Logger on a non-google receiver hardware.
As it says:
Warning: Make sure to change setEnabled to false for a production receiver.
Properly disabling it in prod fixed the issue for me. But, man, it's so bad that error codes are not properly documented. There are several other that can also be thrown for various reasons that are undocumented.
What was actually happening for me is the CAF library was throwing an exception because it is trying to load the debug logger, but the debug logger is not supported on non-google hardware. This caused the VM to not launch properly and so it started throwing remote display errors.
If that is not your issue, you should try to log in to the back-end if your device if possible and download an error log. Sometimes that can highlight what is happening. I don't know if it's possible to crash the VM in other ways, but it might be and the error log might show why.

crashLytics - Real time log exception

I am using Crashlytics in my android app. In one especial case I handle one exception as non fatal exception. so I used CrashlyticsCore.getInstance().logException(e); and CrashlyticsCore.getInstance().log(""); and it is work fine but it has one little problem . it is not real time . I mean it needs to relaunch the app . how can I see logs message in the exact time?

Unfortunately app has stopped message on restarting phone

My application is basically a File Manager with junk cleaner. It is working fine everywhere but when i restart my phone Unfortunately app has stopped message appears several times. Also sometimes it appears when any other application is started. Can anyone tell why it is happening, or how to detect the cause behind it.
To detect the cause behind, you can monitor the logcat.
Since the crash occurs after the phone restart and so if you are not able to see the exception in log cat, you can log the same into a file to see the cause of exception.
Use the below link for how to log unhandled exception into file.
https://derivedcode.wordpress.com/2015/06/29/how-to-log-un-handled-exceptions-in-android/

Unfortunately stopped

I am facing a strange problem in my app. Sometimes an error Message comes as "Unfortunatly stopped" and I have to restart the app. It sudddenly occurs sometimes. I require help on two issues
1. What are the reasons why "unfortunately stopped" error occurs
2. Can we trap this error (I have put Try block, but it does not go there) and prevent the application from crashing
I suspect is related to performance issues, but not sure.
Grab a logcat just after the crash. You can do this in one of the following ways:
If you launch your app from Eclipse, it will show you a Logcat window.
Or issue adb logcat from the command line. (Assuming adb is in your PATH).
Or get a logcat app, such as aLogcat (https://f-droid.org/repository/browse/?fdid=org.jtb.alogcat).
The logcat will tell you the exception class that was thrown, any associated error message and the line in your code that caused the exception. If you need help analyzing the logcat, post it here.

Uncaught Error #2063 exception in Android flex application

My clients using my application on ANDROID and a lot of them are reporting uncaught exception error while using my Flex 4.6 application with latest Flash Player 11.1 swc.
My Flex application uses standard SPARK and MX components. The uncaught exception occurs immediately after application is launched, however none of my functions (connecting to RTMP, RTMFP & socket servers) seem to cause it, the error occurs after all the functions that I call upon program start have successfully executed.
Looks like error code #2063 means "Error attempting to execute IME command.".
My code doesn't call or access any IME functions at all.
It seems that this developer is experiencing same issue and is unable to locate the solution or workaround:
Flex/Flash runtime error #2063 on android
Also, none of the clients using Windows/Mac/Linux are experiencing this issue, only Android clients.
And they all are accessing same application/same code/exact same file.
It also seems like clients are not doing anything specific that triggers this error - they just start my flash site on their android browser and do not do any interaction with it, and getting this error just after launch.
What do I do / what is the best work around for this issue?
And I obviously don't have a stack trace, because my users are using it DO NOT use Adobe Flash Player debugger, however this person and posts seem to be exactly same issue and they have stack trace: http://forums.adobe.com/message/3410527
I have also submitted this issue to Adobe BugBase: https://bugbase.adobe.com/index.cfm?event=bug&id=3101786.
Thanks
can you add to your code the UncaughtErrorEvent.UNCAUGHT_ERROR listener on the main movie loaderInfo object? If you can then it should intercept this error and you can collect some information about it or just ignore it if it doesn't break your application.
best regards

Categories

Resources