X509KeyManager missing on GB?

152 views
Skip to first unread message

Edgard Castro

unread,
Dec 19, 2010, 5:28:19 PM12/19/10
to android-...@googlegroups.com
I'm having a little issue during bootup where X509KeyManager can't be found. I understand that bouncycastle was incorporated on GB, but whats the catch on this one?

By the way, is there any target similar to "otapackage", which also seems to not work anymore?

Jason

unread,
Dec 19, 2010, 7:48:45 PM12/19/10
to Android Building
I am experiencing the same boot loop, and unsure of how to fix this:

E/Zygote ( 925): Error preloading android.net.http.HttpsConnection.
E/Zygote ( 925): java.lang.ExceptionInInitializerError
E/Zygote ( 925): at java.lang.Class.classForName(Native Method)
E/Zygote ( 925): at java.lang.Class.forName(Class.java:234)
E/Zygote ( 925): at java.lang.Class.forName(Class.java:181)
E/Zygote ( 925): at
com.android.internal.os.ZygoteInit.preloadClasses(ZygoteInit.java:297)
E/Zygote ( 925): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:564)
E/Zygote ( 925): at dalvik.system.NativeStart.main(Native Method)
E/Zygote ( 925): Caused by: java.lang.RuntimeException:
java.security.KeyManagementException: No X509KeyManager found
E/Zygote ( 925): at
android.net.http.HttpsConnection.initializeEngine(HttpsConnection.java:
108)
E/Zygote ( 925): at
android.net.http.HttpsConnection.<clinit>(HttpsConnection.java:65)
E/Zygote ( 925): ... 6 more
E/Zygote ( 925): Caused by: java.security.KeyManagementException: No
X509KeyManager found
E/Zygote ( 925): at
org.apache.harmony.xnet.provider.jsse.SSLParametersImpl.<init>(SSLParametersImpl.java:
125)
E/Zygote ( 925): at
org.apache.harmony.xnet.provider.jsse.SSLContextImpl.engineInit(SSLContextImpl.java:
97)
E/Zygote ( 925): at
android.net.http.HttpsConnection.initializeEngine(HttpsConnection.java:
101)
E/Zygote ( 925): ... 7 more
E/Zygote ( 925): setreuid() failed. errno: 2

othy74

unread,
Dec 19, 2010, 9:48:52 PM12/19/10
to Android Building
Same thing for me.

tluu

unread,
Dec 20, 2010, 8:50:41 AM12/20/10
to Android Building
This was an init.rc issue for me. I could get passed this when I used
the default init.rc for GB.

othy74

unread,
Dec 20, 2010, 11:46:06 AM12/20/10
to Android Building
This does not really help me further I'm afraid. I'm running into the
"No X509KeyManager found" loop on my N1 after flashing a clean GB
build, using the default 14053 bytes init.rc.
Having no such issues when building for the emulator.

Samuel B. Quiring

unread,
Dec 20, 2010, 1:00:03 PM12/20/10
to android-...@googlegroups.com

--
You received this message because you are subscribed to the "Android
Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

Jean-Baptiste Queru

unread,
Dec 20, 2010, 1:28:44 PM12/20/10
to android-...@googlegroups.com
I've been trying to reproduce this issue on my side.

I've tried both master and gingerbread. Clean build (rm -rf out), pure
open-source tree with no proprietary drivers. lunch
full_passion-userdebug, flashed with fastboot -w flashall, running
(obviously) on passion.

This is on Ubuntu 10.4, with Sun JDK 1.6.

I haven't seen any such issue. The system boots fine for me.

JBQ

> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to android-...@googlegroups.com
> To unsubscribe from this group, send email to
> android-buildi...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>

--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

Edgard Castro

unread,
Dec 20, 2010, 3:08:06 PM12/20/10
to android-...@googlegroups.com
Using the new init.rc fixed for me, guess it was just the bootloadclass. :)

othy74

unread,
Dec 20, 2010, 3:46:37 PM12/20/10
to Android Building
OK, flashing boot.img before system.img fixes the issue. Simple.
I tried to avoid "flashall" in order to keep recovery in place and
forgot about boot...
Wow GB!! But I see some very looong white screen transitions.

Jean-Baptiste Queru

unread,
Dec 20, 2010, 4:04:15 PM12/20/10
to android-...@googlegroups.com
Ah, that totally makes sense. A mismatch of the boot and system
partitions is likely to have such unfortunate effects.

I've heard that the issue with the white screens comes from some kind
of mismatch between gingerbread and the froyo graphics drivers for
passion.

JBQ

Edgard Castro

unread,
Dec 20, 2010, 4:07:18 PM12/20/10
to android-...@googlegroups.com
You probably have to disable RGBX_8888 on passion, look at cyanogen commit:

othy74

unread,
Dec 20, 2010, 4:40:48 PM12/20/10
to Android Building
Thanks for the pointer. Now this is much better :)

On Dec 20, 10:07 pm, Edgard Castro <edgardcas...@gmail.com> wrote:
> You probably have to disable RGBX_8888 on passion, look at cyanogen commit:
>
> https://github.com/CyanogenMod/android_frameworks_base/commit/baa0784...
Reply all
Reply to author
Forward
0 new messages