this is logcat from installing Titanium Backup for example:
Code:
W/ActivityManager( 328): No content provider found for: null
W/dalvikvm( 328): threadid=12: thread exiting with uncaught exception (group=0x2aac8578)
E/PackageManager( 328): Couldn't create temp file for downloaded package file.
E/AndroidRuntime( 328): *** FATAL EXCEPTION IN SYSTEM PROCESS: PackageManager
E/AndroidRuntime( 328): java.lang.NullPointerException
E/AndroidRuntime( 328): at com.android.server.PackageManagerService$FileInstallArgs.c
reateCopyFile(PackageManagerService.java:5011)
E/AndroidRuntime( 328): at com.android.server.PackageManagerService$FileInstallArgs.c
opyApk(PackageManagerService.java:5019)
E/AndroidRuntime( 328): at com.android.server.PackageManagerService$InstallParams.han
dleStartCopy(PackageManagerService.java:4815)
E/AndroidRuntime( 328): at com.android.server.PackageManagerService$HandlerParams.sta
rtCopy(PackageManagerService.java:4666)
E/AndroidRuntime( 328): at com.android.server.PackageManagerService$PackageHandler.do
HandleMessage(PackageManagerService.java:496)
E/AndroidRuntime( 328): at com.android.server.PackageManagerService$PackageHandler.ha
ndleMessage(PackageManagerService.java:441)
E/AndroidRuntime( 328): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 328): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 328): at android.os.HandlerThread.run(HandlerThread.java:60)
cleaning dalvik cache didn't help... i was deleting a few system apps, maby thats a problem's reason? Which app if yes?
did you solve the problem? I've the same one!
Related
Hi,
I'm modifying phone.apk on android 1.6 for research activities.
First I added following lines to call_card.xml and everything worked fine
<ImageView
android:src="@drawable/unknowncaller"
android:layout_width="320sp"
android:layout_height="320sp"
></ImageView>
Then I modified the ImageView and added an id:
<ImageView
android:id="@+id/callscreen_test_test"
android:src="@drawable/unknowncaller"
android:layout_width="320sp"
android:layout_height="320sp"
></ImageView>
Since then I get the following exception:
E/AndroidRuntime( 961): Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime( 961): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.phone/com.android.phone.InCallScreen}: java.lang.ClassCastException: android.widget.EditText
E/AndroidRuntime( 961): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2401)
E/AndroidRuntime( 961): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java: 2417)
E/AndroidRuntime( 961): at android.app.ActivityThread.access $2100(ActivityThread.java:116)
E/AndroidRuntime( 961): at android.app.ActivityThread $H.handleMessage(ActivityThread.java:1794)
E/AndroidRuntime( 961): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 961): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 961): at android.app.ActivityThread.main(ActivityThread.java:4203)
E/AndroidRuntime( 961): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 961): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 961): at com.android.internal.os.ZygoteInit $MethodAndArgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime( 961): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
E/AndroidRuntime( 961): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 961): Caused by: java.lang.ClassCastException: android.widget.EditText
E/AndroidRuntime( 961): at com.android.phone.InCallScreen.onCreate(InCallScreen.java:462)
E/AndroidRuntime( 961): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java: 1123)
E/AndroidRuntime( 961): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2364)
E/AndroidRuntime( 961): ... 11 more
I don't think that's a bug in the syntax (or I'm blind?), I think that's a bug in compiling and some R.id.* were not updated or so... I compile phone.apk with "mmm packages/apps/Phone".
Please help me.
Thanks
No idea?
Does anyone knows an opensource implementation from an modified phone.apk where I can have a look at?
Thanks
Hello all,
I'm trying to debug a crash I have when after I have ported a rom, here's the output:
Code:
E/AndroidRuntime( 1327): FATAL EXCEPTION: main
E/AndroidRuntime( 1327): java.lang.RuntimeException: Unable to create service com.android.systemui.SystemUIService: java.lang.NullPointerException
E/AndroidRuntime( 1327): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2386)
E/AndroidRuntime( 1327): at android.app.ActivityThread.access$1600(ActivityThread.java:132)
E/AndroidRuntime( 1327): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1211)
E/AndroidRuntime( 1327): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1327): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 1327): at android.app.ActivityThread.main(ActivityThread.java:4575)
E/AndroidRuntime( 1327): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1327): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 1327): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
E/AndroidRuntime( 1327): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
E/AndroidRuntime( 1327): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1327): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 1327): at android.app.ProfileManager.getNotificationGroupForPackage(ProfileManager.java:223)
E/AndroidRuntime( 1327): at android.app.ProfileManager.getActiveProfileGroup(ProfileManager.java:242)
E/AndroidRuntime( 1327): at android.media.AudioManager.shouldVibrate(AudioManager.java:784)
E/AndroidRuntime( 1327): at com.android.systemui.statusbar.phone.PhoneStatusBarPolicy.updateVolume(PhoneStatusBarPolicy.java:254)
E/AndroidRuntime( 1327): at com.android.systemui.statusbar.phone.PhoneStatusBarPolicy.<init>(PhoneStatusBarPolicy.java:195)
E/AndroidRuntime( 1327): at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:311)
E/AndroidRuntime( 1327): at com.android.systemui.SystemUIService.onCreate(SystemUIService.java:97)
E/AndroidRuntime( 1327): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2376)
E/AndroidRuntime( 1327): ... 10 more
Is there anyway to get
Code:
[b]E/AndroidRuntime( 1327): ... 10 more[/b]
to actually show the other 10 lines so I can do a complete trace?
Thank you for any help you can offer,
Pax
paxChristos said:
Hello all,
I'm trying to debug a crash I have when after I have ported a rom, here's the output:
Code:
E/AndroidRuntime( 1327): FATAL EXCEPTION: main
E/AndroidRuntime( 1327): java.lang.RuntimeException: Unable to create service com.android.systemui.SystemUIService: java.lang.NullPointerException
E/AndroidRuntime( 1327): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2386)
E/AndroidRuntime( 1327): at android.app.ActivityThread.access$1600(ActivityThread.java:132)
E/AndroidRuntime( 1327): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1211)
E/AndroidRuntime( 1327): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1327): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 1327): at android.app.ActivityThread.main(ActivityThread.java:4575)
E/AndroidRuntime( 1327): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1327): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 1327): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
E/AndroidRuntime( 1327): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
E/AndroidRuntime( 1327): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1327): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 1327): at android.app.ProfileManager.getNotificationGroupForPackage(ProfileManager.java:223)
E/AndroidRuntime( 1327): at android.app.ProfileManager.getActiveProfileGroup(ProfileManager.java:242)
E/AndroidRuntime( 1327): at android.media.AudioManager.shouldVibrate(AudioManager.java:784)
E/AndroidRuntime( 1327): at com.android.systemui.statusbar.phone.PhoneStatusBarPolicy.updateVolume(PhoneStatusBarPolicy.java:254)
E/AndroidRuntime( 1327): at com.android.systemui.statusbar.phone.PhoneStatusBarPolicy.<init>(PhoneStatusBarPolicy.java:195)
E/AndroidRuntime( 1327): at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:311)
E/AndroidRuntime( 1327): at com.android.systemui.SystemUIService.onCreate(SystemUIService.java:97)
E/AndroidRuntime( 1327): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2376)
E/AndroidRuntime( 1327): ... 10 more
Is there anyway to get
Code:
[b]E/AndroidRuntime( 1327): ... 10 more[/b]
to actually show the other 10 lines so I can do a complete trace?
Thank you for any help you can offer,
Pax
Click to expand...
Click to collapse
This might not help you with the query you asked, but you should be able to debug your crash in the immediate line after E/AndroidRuntime( 1327): Caused by: java.lang.NullPointerException. Looks like there is a NullPointerException in line 223 of ProfileManager.java in the method android.app.ProfileManager.getNotificationGroupForPackage.
Hope that helps.
superatmos said:
This might not help you with the query you asked, but you should be able to debug your crash in the immediate line after E/AndroidRuntime( 1327): Caused by: java.lang.NullPointerException. Looks like there is a NullPointerException in line 223 of ProfileManager.java in the method android.app.ProfileManager.getNotificationGroupForPackage.
Hope that helps.
Click to expand...
Click to collapse
Thanks, I'm trying to fix that by throwing an
Code:
if (object != null)[code] around party of that method.
Sent from my R800x using Tapatalk 2
I compiled the AOSP Gingerbread for Samsung Galaxy Fit. Wenever i replace the libcam.so, libcameraservice.so, and the libcameraclient.so and delete the seccam libraries my ROM boot well but i want to fix them . Here is the logcat of the error
Logcat error in camera libraries. Can anyone hlp me to fix them
This is the logcat
E/AndroidRuntime( 618): *** FATAL EXCEPTION IN SYSTEM PROCESS: main
E/AndroidRuntime( 618): java.lang.UnsatisfiedLinkError: Cannot load library: link_image[1962]: 609 could not load needed library 'libsystem_server.so' for 'libandroid_servers.so' (link_image[1962]: 609 could not load needed library 'libcameraservice.so' for 'libsystem_server.so' (link_image[1962]: 609 could not load needed library 'libseccameraadaptor.so' for 'libcameraservice.so' (link_image[1962]: 609 could not load needed library 'libcamera.so' for 'libseccameraadaptor.so' (reloc_library[1311]: 609 cannot locate '_ZN7android7Overlay5setFdEi'...
E/AndroidRuntime( 618): ))))
E/AndroidRuntime( 618): at java.lang.Runtime.loadLibrary(Runtime.java:455)
E/AndroidRuntime( 618): at java.lang.System.loadLibrary(System.java:554)
E/AndroidRuntime( 618): at com.android.server.SystemServer.main(SystemServer.java:624)
E/AndroidRuntime( 618): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 618): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 618): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
E/AndroidRuntime( 618): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
E/AndroidRuntime( 618): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 618): Error reporting crash
E/AndroidRuntime( 618): java.lang.NullPointerException
E/AndroidRuntime( 618): at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:76)
E/AndroidRuntime( 618): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:854)
E/AndroidRuntime( 618): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:851)
E/AndroidRuntime( 618): at dalvik.system.NativeStart.main(Native Method)
I/Zygote ( 609): Exit zygote because system server (618) has terminated
yajnab said:
I compiled the AOSP Gingerbread for Samsung Galaxy Fit. Wenever i replace the libcam.so, libcameraservice.so, and the libcameraclient.so and delete the seccam libraries my ROM boot well but i want to fix them . Here is the logcat of the error
Logcat error in camera libraries. Can anyone hlp me to fix them
This is the logcat
E/AndroidRuntime( 618): *** FATAL EXCEPTION IN SYSTEM PROCESS: main
E/AndroidRuntime( 618): java.lang.UnsatisfiedLinkError: Cannot load library: link_image[1962]: 609 could not load needed library 'libsystem_server.so' for 'libandroid_servers.so' (link_image[1962]: 609 could not load needed library 'libcameraservice.so' for 'libsystem_server.so' (link_image[1962]: 609 could not load needed library 'libseccameraadaptor.so' for 'libcameraservice.so' (link_image[1962]: 609 could not load needed library 'libcamera.so' for 'libseccameraadaptor.so' (reloc_library[1311]: 609 cannot locate '_ZN7android7Overlay5setFdEi'...
E/AndroidRuntime( 618): ))))
E/AndroidRuntime( 618): at java.lang.Runtime.loadLibrary(Runtime.java:455)
E/AndroidRuntime( 618): at java.lang.System.loadLibrary(System.java:554)
E/AndroidRuntime( 618): at com.android.server.SystemServer.main(SystemServer.java:624)
E/AndroidRuntime( 618): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 618): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 618): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
E/AndroidRuntime( 618): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
E/AndroidRuntime( 618): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 618): Error reporting crash
E/AndroidRuntime( 618): java.lang.NullPointerException
E/AndroidRuntime( 618): at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:76)
E/AndroidRuntime( 618): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:854)
E/AndroidRuntime( 618): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:851)
E/AndroidRuntime( 618): at dalvik.system.NativeStart.main(Native Method)
I/Zygote ( 609): Exit zygote because system server (618) has terminated
Click to expand...
Click to collapse
Hope you have fixed the issues, if yes could you please share some info.
Hi, I just flashed 4.2.1 on my phone and found that PhotoSphere force closes whenever I choose it in the Camera app. adb logcat reveals something like:
W/ApplicationContext( 2892): Unable to create external files directory
E/LightCycle-storage( 2892): Sessions root directory could not be created.
D/AndroidRuntime( 2892): Shutting down VM
W/dalvikvm( 2892): threadid=1: thread exiting with uncaught exception (group=0x41e6e930)
E/AndroidRuntime( 2892): FATAL EXCEPTION: main
E/AndroidRuntime( 2892): java.lang.NullPointerException
E/AndroidRuntime( 2892): at com.google.android.apps.lightcycle.storage.LocalFileStorageManager.cleanUpOldSessions(LocalFileStorageManager.java:428)
E/AndroidRuntime( 2892): at com.google.android.apps.lightcycle.storage.LocalFileStorageManager.init(LocalFileStorageManager.java:66)
E/AndroidRuntime( 2892): at com.google.android.apps.lightcycle.PanoramaModule.onResumeAfterSuper(PanoramaModule.java:276)
E/AndroidRuntime( 2892): at com.android.camera.CameraActivity.openModule(CameraActivity.java:175)
E/AndroidRuntime( 2892): at com.android.camera.CameraActivity.onCameraSelected(CameraActivity.java:161)
E/AndroidRuntime( 2892): at com.android.camera.ui.CameraSwitcher.onCameraSelected(CameraSwitcher.java:104)
E/AndroidRuntime( 2892): at com.android.camera.ui.CameraSwitcher.access$000(CameraSwitcher.java:38)
E/AndroidRuntime( 2892): at com.android.camera.ui.CameraSwitcher$1.onClick(CameraSwitcher.java:130)
E/AndroidRuntime( 2892): at android.view.View.performClick(View.java:4202)
E/AndroidRuntime( 2892): at android.view.View$PerformClick.run(View.java:17340)
E/AndroidRuntime( 2892): at android.os.Handler.handleCallback(Handler.java:725)
E/AndroidRuntime( 2892): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 2892): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 2892): at android.app.ActivityThread.main(ActivityThread.java:5039)
E/AndroidRuntime( 2892): at java.lang.reflect.Method.invokeNative(NativeMethod)
E/AndroidRuntime( 2892): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 2892): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
E/AndroidRuntime( 2892): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
E/AndroidRuntime( 2892): at dalvik.system.NativeStart.main(Native Method)
I cannot find the source of LightCycle on the web, but apparently, it seems to be a permission issue because it says "E/LightCycle-storage( 2892): Sessions root directory could not be created.". Anyone can give me some hints on how to solve? Thanks!
Francisco
Which phone? Photosphere doesn't work if the phone doesn't have gyroscope!
Sent from my head runnin on CM10!
Lifehacker7 said:
Which phone? Photosphere doesn't work if the phone doesn't have gyroscope!
Sent from my head runnin on CM10!
Click to expand...
Click to collapse
I am using Galaxy Nexus. The problem is that getExternalFilesDir(null) is null.
Hi, I installed my rom, and it crashes like this:
E/AndroidRuntime( 2414): Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.graphics.drawable.Drawable.setColorFilter(int, android.graphics.PorterDuff$Mode)' on a null object reference
E/AndroidRuntime( 2414): at com.android.settings.cyanogenmod.qs.QSTiles.buildQSTile(QSTiles.java:226)
E/AndroidRuntime( 2414): at com.android.settings.cyanogenmod.qs.QSTiles.onActivityCreated(QSTiles.java:76)
E/AndroidRuntime( 2414): at android.app.Fragment.performActivityCreated(Fragment.java:2061)
E/AndroidRuntime( 2414): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:912)
E/AndroidRuntime( 2414): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067)
E/AndroidRuntime( 2414): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1049)
E/AndroidRuntime( 2414): at android.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:1869)
E/AndroidRuntime( 2414): at android.app.Activity.performCreateCommon(Activity.java:6856)
E/AndroidRuntime( 2414): at android.app.Activity.performCreate(Activity.java:6863)
E/AndroidRuntime( 2414): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
E/AndroidRuntime( 2414): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2306)
E/AndroidRuntime( 2414): ... 10 more
Just crash when I trying to get in. I tried to google it, but only same log in pastebin, I can't fine any solutions or something lie that. Any ideas?