Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1272] Android (Google Glass): No implementation found for native PaddedBufferedBlockCipher

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionCannot Reproduce
Resolution Date2014-07-10T00:36:34.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsregression
Reporterjosh rose
AssigneeMauro Parra-Miranda
Created2014-05-14T10:28:57.000+0000
Updated2016-03-08T07:37:40.000+0000

Description

Clean/New project in 3.1.3 launches fine to Google Glass. In 3.2.x you get the error below. Seems to work on other devices. Regression from 3.1.3. Steps 1. Create new titanium project 2. "alloy new" in directory 3. ti build -p android -T device --device-id Any ideas? Full Stack: [WARN] : dalvikvm: No implementation found for native Lcom/android/org/bouncycastle/crypto/paddings/PaddedBufferedBlockCipher;.checkAesNI:()I [ERROR] : AssetCryptImpl: (main) [812,1093] Unable to load asset data. [ERROR] : AssetCryptImpl: java.lang.reflect.InvocationTargetException [ERROR] : AssetCryptImpl: at java.lang.reflect.Method.invokeNative(Native Method) [ERROR] : AssetCryptImpl: at java.lang.reflect.Method.invoke(Method.java:515) [ERROR] : AssetCryptImpl: at com.myapp.app.AssetCryptImpl.filterDataInRange(AssetCryptImpl.java:82) [ERROR] : AssetCryptImpl: at com.myapp.app.AssetCryptImpl.readAsset(AssetCryptImpl.java:74) [ERROR] : AssetCryptImpl: at org.appcelerator.kroll.util.KrollAssetHelper.readAsset(KrollAssetHelper.java:64) [ERROR] : AssetCryptImpl: at org.appcelerator.titanium.TiApplication.loadAppProperties(TiApplication.java:364) [ERROR] : AssetCryptImpl: at org.appcelerator.titanium.TiApplication.postOnCreate(TiApplication.java:439) [ERROR] : AssetCryptImpl: at com.myapp.app.MyappApplication.onCreate(MyappApplication.java:46) [ERROR] : AssetCryptImpl: at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1009) [ERROR] : AssetCryptImpl: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4384) [ERROR] : AssetCryptImpl: at android.app.ActivityThread.access$1500(ActivityThread.java:138) [ERROR] : AssetCryptImpl: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1296) [ERROR] : AssetCryptImpl: at android.os.Handler.dispatchMessage(Handler.java:102) [ERROR] : AssetCryptImpl: at android.os.Looper.loop(Looper.java:149) [ERROR] : AssetCryptImpl: at android.app.ActivityThread.main(ActivityThread.java:5061) [ERROR] : AssetCryptImpl: at java.lang.reflect.Method.invokeNative(Native Method) [ERROR] : AssetCryptImpl: at java.lang.reflect.Method.invoke(Method.java:515) [ERROR] : AssetCryptImpl: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:794) [ERROR] : AssetCryptImpl: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:610) [ERROR] : AssetCryptImpl: at dalvik.system.NativeStart.main(Native Method) [ERROR] : AssetCryptImpl: Caused by: java.lang.UnsatisfiedLinkError: Native method not found: com.android.org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher.checkAesNI:()I [ERROR] : AssetCryptImpl: at com.android.org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher.checkAesNI(Native Method) [ERROR] : AssetCryptImpl: at com.android.org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher.processBytes(PaddedBufferedBlockCipher.java:261) [ERROR] : AssetCryptImpl: at com.android.org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher$BufferedGenericBlockCipher.processBytes(BaseBlockCipher.java:882) [ERROR] : AssetCryptImpl: at com.android.org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher.engineDoFinal(BaseBlockCipher.java:726) [ERROR] : AssetCryptImpl: at javax.crypto.Cipher.doFinal(Cipher.java:1239) [ERROR] : AssetCryptImpl: at org.appcelerator.titanium.TiVerify.filterDataInRange(Native Method) [ERROR] : AssetCryptImpl: ... 20 more [ERROR] : TiApplication: (main) [49,1142] Unable to load app properties. [INFO] : TiApplication: (main) [2,1144] Titanium Javascript runtime: v8 [INFO] : TiRootActivity: (main) [0,0] checkpoint, on root activity create, savedInstanceState: null [WARN] : V8Object: Runtime disposed, cannot set property 'userAgent' [WARN] : dalvikvm: No implementation found for native Lcom/android/org/bouncycastle/crypto/paddings/PaddedBufferedBlockCipher;.checkAesNI:()I [ERROR] : AssetCryptImpl: (main) [341,341] Unable to load asset data. [ERROR] : AssetCryptImpl: java.lang.reflect.InvocationTargetException [ERROR] : AssetCryptImpl: at java.lang.reflect.Method.invokeNative(Native Method) [ERROR] : AssetCryptImpl: at java.lang.reflect.Method.invoke(Method.java:515) [ERROR] : AssetCryptImpl: at com.myapp.app.AssetCryptImpl.filterDataInRange(AssetCryptImpl.java:82) [ERROR] : AssetCryptImpl: at com.myapp.app.AssetCryptImpl.readAsset(AssetCryptImpl.java:74) [ERROR] : AssetCryptImpl: at org.appcelerator.kroll.util.KrollAssetHelper.readAsset(KrollAssetHelper.java:64) [ERROR] : AssetCryptImpl: at org.appcelerator.titanium.TiLaunchActivity.loadActivityScript(TiLaunchActivity.java:103) [ERROR] : AssetCryptImpl: at org.appcelerator.titanium.TiLaunchActivity.windowCreated(TiLaunchActivity.java:151) [ERROR] : AssetCryptImpl: at org.appcelerator.titanium.TiRootActivity.windowCreated(TiRootActivity.java:109) [ERROR] : AssetCryptImpl: at org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:528) [ERROR] : AssetCryptImpl: at org.appcelerator.titanium.TiLaunchActivity.onCreate(TiLaunchActivity.java:144) [ERROR] : AssetCryptImpl: at org.appcelerator.titanium.TiRootActivity.onCreate(TiRootActivity.java:97) [ERROR] : AssetCryptImpl: at android.app.Activity.performCreate(Activity.java:5236) [ERROR] : AssetCryptImpl: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1089) [ERROR] : AssetCryptImpl: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2199) [ERROR] : AssetCryptImpl: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2285) [ERROR] : AssetCryptImpl: at android.app.ActivityThread.access$800(ActivityThread.java:138) [ERROR] : AssetCryptImpl: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1236) [ERROR] : AssetCryptImpl: at android.os.Handler.dispatchMessage(Handler.java:102) [ERROR] : AssetCryptImpl: at android.os.Looper.loop(Looper.java:149) [ERROR] : AssetCryptImpl: at android.app.ActivityThread.main(ActivityThread.java:5061) [ERROR] : AssetCryptImpl: at java.lang.reflect.Method.invokeNative(Native Method) [ERROR] : AssetCryptImpl: at java.lang.reflect.Method.invoke(Method.java:515) [ERROR] : AssetCryptImpl: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:794) [ERROR] : AssetCryptImpl: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:610) [ERROR] : AssetCryptImpl: at dalvik.system.NativeStart.main(Native Method) [ERROR] : AssetCryptImpl: Caused by: java.lang.UnsatisfiedLinkError: Native method not found: com.android.org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher.checkAesNI:()I [ERROR] : AssetCryptImpl: at com.android.org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher.checkAesNI(Native Method) [ERROR] : AssetCryptImpl: at com.android.org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher.processBytes(PaddedBufferedBlockCipher.java:261) [ERROR] : AssetCryptImpl: at com.android.org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher$BufferedGenericBlockCipher.processBytes(BaseBlockCipher.java:882) [ERROR] : AssetCryptImpl: at com.android.org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher.engineDoFinal(BaseBlockCipher.java:726) [ERROR] : AssetCryptImpl: at javax.crypto.Cipher.doFinal(Cipher.java:1239) [ERROR] : AssetCryptImpl: at org.appcelerator.titanium.TiVerify.filterDataInRange(Native Method) [ERROR] : AssetCryptImpl: ... 25 more [WARN] : dalvikvm: No implementation found for native Lcom/android/org/bouncycastle/crypto/paddings/PaddedBufferedBlockCipher;.checkAesNI:()I [ERROR] : AssetCryptImpl: (KrollRuntimeThread) [19,360] Unable to load asset data. [ERROR] : AssetCryptImpl: java.lang.reflect.InvocationTargetException [ERROR] : AssetCryptImpl: at java.lang.reflect.Method.invokeNative(Native Method) [ERROR] : AssetCryptImpl: at java.lang.reflect.Method.invoke(Method.java:515) [ERROR] : AssetCryptImpl: at com.myapp.app.AssetCryptImpl.filterDataInRange(AssetCryptImpl.java:82) [ERROR] : AssetCryptImpl: at com.myapp.app.AssetCryptImpl.readAsset(AssetCryptImpl.java:74) [ERROR] : AssetCryptImpl: at org.appcelerator.kroll.util.KrollAssetHelper.readAsset(KrollAssetHelper.java:64) [ERROR] : AssetCryptImpl: at org.appcelerator.kroll.runtime.v8.V8Runtime.nativeRunModule(Native Method) [ERROR] : AssetCryptImpl: at org.appcelerator.kroll.runtime.v8.V8Runtime.doRunModule(V8Runtime.java:159) [ERROR] : AssetCryptImpl: at org.appcelerator.kroll.KrollRuntime.handleMessage(KrollRuntime.java:289) [ERROR] : AssetCryptImpl: at org.appcelerator.kroll.runtime.v8.V8Runtime.handleMessage(V8Runtime.java:185) [ERROR] : AssetCryptImpl: at android.os.Handler.dispatchMessage(Handler.java:98) [ERROR] : AssetCryptImpl: at android.os.Looper.loop(Looper.java:149) [ERROR] : AssetCryptImpl: at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:112) [ERROR] : AssetCryptImpl: Caused by: java.lang.UnsatisfiedLinkError: Native method not found: com.android.org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher.checkAesNI:()I [ERROR] : AssetCryptImpl: at com.android.org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher.checkAesNI(Native Method) [ERROR] : AssetCryptImpl: at com.android.org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher.processBytes(PaddedBufferedBlockCipher.java:261) [ERROR] : AssetCryptImpl: at com.android.org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher$BufferedGenericBlockCipher.processBytes(BaseBlockCipher.java:882) [ERROR] : AssetCryptImpl: at com.android.org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher.engineDoFinal(BaseBlockCipher.java:726) [ERROR] : AssetCryptImpl: at javax.crypto.Cipher.doFinal(Cipher.java:1239) [ERROR] : AssetCryptImpl: at org.appcelerator.titanium.TiVerify.filterDataInRange(Native Method) [ERROR] : AssetCryptImpl: ... 12 more

Comments

  1. Ingo Muschenetz 2014-05-15

    This might well not be our bug. Can you check https://code.google.com/p/google-glass-api/issues/detail?id=477?
  2. Mauro Parra-Miranda 2014-07-02

    Hello [~wpccolorblind], looks like it might be a glass issue - https://code.google.com/p/google-glass-api/issues/detail?id=477 Do you mind to take a look into this with the 3.3.0? Thanks!
  3. Mauro Parra-Miranda 2014-07-10

    Customer hasn't replied us yet.

JSON Source