Actually, I see now in the emulator that my app opens up, but its before my
activity fully loads. The libcore.io.ErrnoException must be happening
before onCreate because the exception is caught before breakpoint is
reached.
On Sunday, September 28, 2014 8:05:43 PM UTC-7, Qoheleth wrote:
>
> Everytime I start the debugger, before my app even starts or installs, the
> debugger stops on an exception:
>
> libcore.io.ErrnoException.
>
> I have no idea what this means. I did a search, but other people who have
> gotten a similar error seem to be doing something wrong with loading
> files. My code has no file processing, but more importantly, my app
> hasn't even started!
>
> I did a search in the LogCat, but there is nothing about ErrnoException.
> These are some of the error messages I catch instead:
>
> 09-29 02:24:00.272 324-337/system_process E/NetdConnector﹕ NDC
> Command {6 bandwidth enable} took too long (3205ms)
> 09-29 02:24:00.652 518-518/com.android.inputmethod.latin E/Trace﹕
> error opening trace file: No such file or directory (2)
> 09-29 02:24:00.720 536-536/com.android.phone E/Trace﹕ error opening
> trace file: No such file or directory (2)
> 09-29 02:24:00.736 324-351/system_process E/Genymotion﹕ Could not
> open '/sys/class/power_supply/genymotion_fake_path/present'
> 09-29 02:24:00.816 324-557/system_process E/GpsLocationProvider﹕ no
> AGPS interface in agps_data_conn_open
> 09-29 02:24:00.832 547-547/com.android.launcher E/Trace﹕ error
> opening trace file: No such file or directory (2)
> 09-29 02:24:01.296 518-585/com.android.inputmethod.latin
> E/ActivityThread﹕ Failed to find provider info for
> com.android.inputmethod.latin.dictionarypack
> 09-29 02:24:01.300 518-585/com.android.inputmethod.latin
> E/BinaryDictionaryGetter﹕ Could not find a dictionary pack
> 09-29 02:24:01.572 590-590/android.process.acore E/Trace﹕ error
> opening trace file: No such file or directory (2)
> 09-29 02:24:01.648 603-603/com.android.smspush E/Trace﹕ error opening
> trace file: No such file or directory (2)
> 09-29 02:24:03.108 636-636/com.android.deskclock E/Trace﹕ error
> opening trace file: No such file or directory (2)
> 09-29 02:24:03.456 115-393/? E/WVMExtractor﹕ Failed to open libwvm.so
> 09-29 02:24:03.532 654-654/? E/Trace﹕ error opening trace file: No
> such file or directory (2)
> 09-29 02:24:03.604 115-392/? E/WVMExtractor﹕ Failed to open libwvm.so
> 09-29 02:24:03.912 676-676/com.android.providers.calendar E/Trace﹕
> error opening trace file: No such file or directory (2)
> 09-29 02:24:04.036 115-345/? E/WVMExtractor﹕ Failed to open libwvm.so
> 09-29 02:24:04.044 686-686/android.process.media E/Trace﹕ error
> opening trace file: No such file or directory (2)
> 09-29 02:24:04.156 115-115/? E/WVMExtractor﹕ Failed to open libwvm.so
> 09-29 02:24:04.320 115-393/? E/WVMExtractor﹕ Failed to open libwvm.so
> 09-29 02:24:05.562 730-730/com.android.email E/Trace﹕ error opening
> trace file: No such file or directory (2)
> 09-29 02:24:06.246 746-746/? E/Trace﹕ error opening trace file: No
> such file or directory (2)
> 09-29 02:24:06.594 324-351/system_process E/Genymotion﹕ Could not
> open '/sys/class/power_supply/genymotion_fake_path/present'
> 09-29 02:24:06.922 765-765/com.android.mms E/Trace﹕ error opening
> trace file: No such file or directory (2)
> 09-29 02:24:07.682 809-809/com.android.voicedialer E/Trace﹕ error
> opening trace file: No such file or directory (2)
> 09-29 02:24:07.914 823-823/com.android.calendar E/Trace﹕ error
> opening trace file: No such file or directory (2)
> 09-29 02:27:09.302 112-136/? E/SocketStream﹕ readFully was waiting
> for 259712 bytes, got 3732
> 09-29 02:27:09.310 112-136/? E/SocketStream﹕ readFully was waiting
> for 255980 bytes, got 32768
> 09-29 02:27:09.310 112-136/? E/SocketStream﹕ readFully was waiting
> for 223212 bytes, got 3732
> 09-29 02:35:22.302 1019-1019/? E/jdwp﹕ Failed sending req to debugger:
> Broken pipe (-1 of 80)
> 09-29 02:35:22.594 107-107/? E/local_camera﹕ We have a problem with
> the player connection 104 (Connection reset by peer)
> 09-29 02:35:26.994 324-351/? E/Genymotion﹕ Could not open
> '/sys/class/power_supply/genymotion_fake_path/present'
>
> I tried uninstalling and updating Intellij, thinking it was an IDE. No
> luck. I updated all the SDK APIs I had installed. No luck.
>
> The only code I added before this started happening was adding a Preference
> activity. Even when I roll back changes on git, I still get the same
> error.
>
> What the hell is going on? Why is my debugger catching this error, and
> why now? What part of the toolchain is messed up? I'm not sure what is
> messed up....my code, ide, SDK, or emulator?
>
>
>
> <https://lh3.googleusercontent.com/-HXaVy1TA9cw/VCjKxG9KqSI/AAAAAAAAAH8/EyLq5pcnI9c/s1600/error.png>
>
>
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.