• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

StageWebView does not display a https website with captive runtime library on Android

Guest
Sep 14, 2012 Sep 14, 2012

Copy link to clipboard

Copied

Hi,

I'm working on a flex app for tablets (both iOS and Android) and it does not display a particular https website in a StageWebView. The strange thing is, that this issue happens only with this url (required for Google OAuth) and if I deploy the app with a captive air runtime library.

I see the below stack trace in the system logs:

W/System.err(26027): java.lang.NullPointerException

W/System.err(26027):    at java.io.File.fixSlashes(File.java:185)

W/System.err(26027):    at java.io.File.<init>(File.java:134)

W/System.err(26027):    at com.adobe.air.JavaTrustStoreHelper.getX509TrustManagerFactory(JavaTrustStoreHelper.java:81)

W/System.err(26027):    at com.adobe.air.JavaTrustStoreHelper.getX509TrustManager(JavaTrustStoreHelper.java:110)

W/System.err(26027):    at com.adobe.air.JavaTrustStoreHelper.enumerateRootCAs(JavaTrustStoreHelper.java:195)

W/System.err(26027):    at dalvik.system.NativeStart.run(Native Method)

If I deploy the same app with a shared air runtime library and no code change at all, there's no issue at all. Also no problems while debugging or executing from Flash Builder on the device.

The issue happens only with this Google URL, it's all okay with Facebook's auth url (https://www.facebook.com/dialog/oauth).

The device is a Samsung Galaxy Tab2 10.1 with Ice Cream Sandwich (Android 4.0) on it.

I would appreciate any idea with this issue.

Thanks,

Gabor

Views

908

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Oct 25, 2012 Oct 25, 2012

Copy link to clipboard

Copied

LATEST

Updating the AIR SDK from 3.1 to 3.4 has resolved the issue.

Too bad that this needs to be done manually as described here: http://www.flashdeveloper.co/post/10985842021/overlay-adobe-air-32-in-flash-builder-46

Many thanks for the hint, Pata.

Regards,

Gabor

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines