need some help for smali editing - Android Q&A, Help & Troubleshooting

Process: com.android.systemui
Flags: 0x40d83e0d
Package: com.android.systemui v21 (5.0.2-G850FXXU2COK1)
Build: samsung/sltexx/slte:5.0.2/LRX22G/G850FXXU2COK1:user/release-keys
java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View com.android.systemui.qs.QSEditPanel.findViewById(int)' on a null object reference
at com.android.systemui.statusbar.phone.PhoneStatusBar$3.onOpenThemeChanged(PhoneStatusBar.java:663)
at com.android.keyguard.KeyguardUpdateMonitor.handleOpenThemeChangeUpdate(KeyguardUpdateMonitor.java:1521)
at com.android.keyguard.KeyguardUpdateMonitor.access$1600(KeyguardUpdateMonitor.java:102)
at com.android.keyguard.KeyguardUpdateMonitor$1.handleMessage(KeyguardUpdateMonitor.java:306)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:6117)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)
i edit qseditpanel, phonestatusbar etc. but same error.

Related

[Q] TTS force close in Navigation

I am using sonofskywalker3 Rom 4.4 and ec10_voodoo kernel and kept having force close problem with TTS service (Process.android.tts) when trying to use Navigation. Does anyone have similar problems?
This is the dump from the logcat:
I/ActivityManager( 2681): Start proc android.tts for service android.tts/.TtsService: pid=18962 uid=10049 gids={3003, 1015}
V/TtsService(18962): TtsService.onCreate()
W/dalvikvm(18962): ERROR: Unable to find decl for native Landroid/tts/SynthProxy;.native_setConfig (ILjava/lang/StringI
W/dalvikvm(18962): ERROR: Unable to find decl for native Landroid/tts/SynthProxy;.native_setup (Ljava/lang/Object;Ljava/lang/Strin
g;Ljava/lang/StringI
W/dalvikvm(18962): ERROR: Unable to find decl for native Landroid/tts/SynthProxy;.native_setLowShelf (ZFFFF)I
E/JNIHelp (18962): RegisterNatives failed for 'android/tts/SynthProxy'
W/dalvikvm(18962): JNI_OnLoad returned bad version (-1) in /system/lib/libttssynthproxy.so 0x483c3420
W/dalvikvm(18962): Exception Ljava/lang/UnsatisfiedLinkError; thrown during Landroid/tts/SynthProxy;.<clinit>
D/AndroidRuntime(18962): Shutting down VM
W/dalvikvm(18962): threadid=1: thread exiting with uncaught exception (group=0x4001d7f0)
E/AndroidRuntime(18962): FATAL EXCEPTION: main
E/AndroidRuntime(18962): java.lang.ExceptionInInitializerError
E/AndroidRuntime(18962): at android.tts.TtsService.onCreate(TtsService.java:158)
E/AndroidRuntime(18962): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2959)
E/AndroidRuntime(18962): at android.app.ActivityThread.access$3300(ActivityThread.java:125)
E/AndroidRuntime(18962): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2087)
E/AndroidRuntime(18962): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(18962): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime(18962): at android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime(18962): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(18962): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime(18962): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
E/AndroidRuntime(18962): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
E/AndroidRuntime(18962): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime(18962): Caused by: java.lang.UnsatisfiedLinkError: Library ttssynthproxy not found
E/AndroidRuntime(18962): at java.lang.Runtime.loadLibrary(Runtime.java:461)
E/AndroidRuntime(18962): at java.lang.System.loadLibrary(System.java:557)
E/AndroidRuntime(18962): at android.tts.SynthProxy.<clinit>(SynthProxy.java:154)
E/AndroidRuntime(18962): ... 12 more
I/ ( 2681): dumpmesg > "/data/log/dumpstate_app_error.log"
I/dumpstate(18971): begin
Yes i got the same problem, cant get voice navigation, TTS force close.

[ASK] force close RadioFM

I want ask
How to fix RadioFM app system so i cant use it.
Need help;
This is error logcat:
Process: com.sonyericsson.fmradio
PID: 12543
Flags: 0xc8be45
Package: com.sonyericsson.fmradio v4 (4.0)
Build: Sony/D2305/D2305:5.1.1/18.6.A.0.182/1643041205:user/release-keys
UUID: 3a62dbcc-4685-403b-9b41-35ffe14d968d
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/sonyericsson/fmradio/service/FmService;
at com.sonyericsson.fmradio.ui.FmRadioFeedback.<init>(FmRadioFeedback.java:63)
at com.sonyericsson.fmradio.ui.FmRadioActivity.connectToFmService(FmRadioActivity.java:449)
at com.sonyericsson.fmradio.ui.FmRadioActivity.onStart(FmRadioActivity.java:250)
at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1236)
at android.app.Activity.performStart(Activity.java:6006)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2342)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2442)
at android.app.ActivityThread.access$800(ActivityThread.java:156)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1351)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:211)
at android.app.ActivityThread.main(ActivityThread.java:5373)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1020)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.sonyericsson.fmradio.service.FmService" on path: DexPathList[[zip file "/system/app/Radio3/Radio3.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
... 16 more
Suppressed: java.lang.NoClassDefFoundError: com.sonyericsson.fmradio.service.FmService
at dalvik.system.DexFile.defineClassNative(Native Method)
at dalvik.system.DexFile.defineClass(DexFile.java:226)
at dalvik.system.DexFile.loadClassBinaryName(DexFile.java:219)
at dalvik.system.DexPathList.findClass(DexPathList.java:321)
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:54)
... 18 more
Suppressed: java.lang.ClassNotFoundException: com.sonyericsson.fmradio.service.FmService
at java.lang.Class.classForName(Native Method)
at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
... 17 more
Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
Thanks before

NullPointerException

How do I make it not null? here is the error on my logcat:
02-05 13:59:14.764 26351-26351/com.example.milespc.funfacts2 E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.milespc.funfacts2, PID: 26351
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference
at com.example.milespc.funfacts2.MainActivity$1.onClick(MainActivity.java:34)
here is the string of code:
factLabel.setText(fact);

PdfRenderer Sample Crashes

Hey there,
I tried the PdfRenderer Sample Project on serveral AVDs (API lvl 23 and 24) and on my Galaxy A5 2015 with CM13 (API 23). the app starts and shows an empty activity - after about 10 seconds it crashes.
The Error:
Code:
D/AndroidRuntime: Shutting down VM
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.android.pdfrendererbasic, PID: 27604
Theme: themes:{default=overlay:system, iconPack:system, fontPkg:system, com.android.systemui=overlay:system, com.android.systemui.navbar=overlay:system}
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.android.pdfrendererbasic/com.example.android.pdfrendererbasic.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.pdf.PdfRenderer.getPageCount()' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2450)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2510)
at android.app.ActivityThread.-wrap11(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1363)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5461)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.pdf.PdfRenderer.getPageCount()' on a null object reference
at com.example.android.pdfrendererbasic.PdfRendererBasicFragment.showPage(PdfRendererBasicFragment.java:163)
at com.example.android.pdfrendererbasic.PdfRendererBasicFragment.onViewCreated(PdfRendererBasicFragment.java:101)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:988)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1148)
at android.app.BackStackRecord.run(BackStackRecord.java:793)
at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1535)
at android.app.FragmentController.execPendingActions(FragmentController.java:325)
at android.app.Activity.performStart(Activity.java:6267)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2413)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2510)*
at android.app.ActivityThread.-wrap11(ActivityThread.java)*
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1363)*
at android.os.Handler.dispatchMessage(Handler.java:102)*
at android.os.Looper.loop(Looper.java:148)*
at android.app.ActivityThread.main(ActivityThread.java:5461)*
at java.lang.reflect.Method.invoke(Native Method)*
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)*
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)*
Application terminated.
What did I do wrong?
LG Christopher

FATAL EXCEPTION: ContactsProviderWorker

Hello,
When I use Facebook, there IS thé following error :
Code:
FATAL EXCEPTION: ContactsProviderWorker
Process: android.process.acore, PID: 6295
java.lang.RuntimeException: Package manager has died
at android.app.ApplicationPackageManager.queryContentProviders(ApplicationPackageManager.java:696)
at com.android.providers.contacts.ContactDirectoryManager.getDirectoryProviderPackages(ContactDirectoryManager.java:219)
at com.android.providers.contacts.ContactDirectoryManager.scanAllPackages(ContactDirectoryManager.java:256)
at com.android.providers.contacts.ContactDirectoryManager.scanAllPackagesIfNeeded(ContactDirectoryManager.java:191)
at com.android.providers.contacts.ContactDirectoryManager.scanAllPackages(ContactDirectoryManager.java:181)
at com.android.providers.contacts.ContactsProvider2.updateDirectoriesInBackground(ContactsProvider2.java:1885)
at com.android.providers.contacts.ContactsProvider2.performBackgroundTask(ContactsProvider2.java:1704)
at com.android.providers.contacts.ContactsProvider2$1.handleMessage(ContactsProvider2.java:1523)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.os.HandlerThread.run(HandlerThread.java:61)
Caused by: android.os.TransactionTooLargeException
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:496)
at android.content.pm.IPackageManager$Stub$Proxy.queryContentProviders(IPackageManager.java:2842)
at android.app.ApplicationPackageManager.queryContentProviders(ApplicationPackageManager.java:694)
... 10 more
What is the origin of problem and how correct?
I use WIKO PULP 4G with ANDROID 5.1.1
Thanks.

Categories

Resources