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
Solved. the /sdcard/Android/data directory apparently did not have the right permissions. Reset the directory permissions through adb shell and all is fine now.
frleong said:
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
Click to expand...
Click to collapse
Related
Hi, after i recompile HTC Music and i run it i get FC, i try to clear the data and its not helping, even when i recompile without changing anything i get FC.
All others apps i edit working very good and no FC.
Thnaks!
Code:
I/HtcMusic( 4041): borranx MyGallery.QVGA 2
W/dalvikvm( 4041): VFY: bad exception entry: startAddr=126 endAddr=126 (size=289)
W/dalvikvm( 4041): VFY: rejected Lcom/htc/music/MusicUtils;.getArtworkFromFile (Landroid/content/Context;Landroid/net/Uri;I)Landroid/graphics/Bitmap;
W/dalvikvm( 4041): Verifier rejected class Lcom/htc/music/MusicUtils;
D/AndroidRuntime( 4041): Shutting down VM
W/dalvikvm( 4041): threadid=1: thread exiting with uncaught exception (group=0x400259f8)
E/AndroidRuntime( 4041): FATAL EXCEPTION: main
E/AndroidRuntime( 4041): java.lang.VerifyError: com.htc.music.MusicUtils
E/AndroidRuntime( 4041): at com.htc.music.HtcMusic.onStart(HtcMusic.java:768)
E/AndroidRuntime( 4041): at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1211)
E/AndroidRuntime( 4041): at android.app.Activity.performStart(Activity.java:3822)
E/AndroidRuntime( 4041): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2760)
E/AndroidRuntime( 4041): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2803)
E/AndroidRuntime( 4041): at android.app.ActivityThread.access$2300(ActivityThread.java:135)
E/AndroidRuntime( 4041): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2136)
E/AndroidRuntime( 4041): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 4041): at android.os.Looper.loop(Looper.java:144)
E/AndroidRuntime( 4041): at android.app.ActivityThread.main(ActivityThread.java:4937)
E/AndroidRuntime( 4041): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 4041): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 4041): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
E/AndroidRuntime( 4041): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
E/AndroidRuntime( 4041): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 188): Force finishing activity com.htc.music/.HtcMusic
What are you trying to change???
I try add a language, but even when i don't edit anything just do decompile and then compile i get this error.
i don this before on other apps and it's work perfect, this is happens only in HTC Music.
anyone? please.
Anyone? ...
bump.......
So I am useing the new 2.3.4 Sense 3.0 ROM http://forum.xda-developers.com/showthread.php?t=1191936 and I am trying to get my theme to work on it. The issue that I have is with the weather widget. With the new verision of Sense they have a completly new weather animation. I get FC's all the time and here is what the logcat says.
Code:
E/AndroidRuntime( 7192): FATAL EXCEPTION: main
E/AndroidRuntime( 7192): android.content.res.Resources$NotFoundException: File res/raw/sound_clouds.wav from drawable resource ID #0x2060023
E/AndroidRuntime( 7192): at android.content.res.Resources.openRawResourceFd(Resources.java:869)
E/AndroidRuntime( 7192): at com.htc.Weather.SoundEffect.createPlayerbyRes(SoundEffect.java:96)
E/AndroidRuntime( 7192): at com.htc.Weather.SoundEffect.startMediaPlayer(SoundEffect.java:82)
E/AndroidRuntime( 7192): at com.htc.Weather.WeatherActivity.playSound(WeatherActivity.java:1402)
E/AndroidRuntime( 7192): at com.htc.Weather.WeatherActivity.access$1000(WeatherActivity.java:64)
E/AndroidRuntime( 7192): at com.htc.Weather.WeatherActivity$2.handleMessage(WeatherActivity.java:887)
E/AndroidRuntime( 7192): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 7192): at android.os.Looper.loop(Looper.java:143)
E/AndroidRuntime( 7192): at android.app.ActivityThread.main(ActivityThread.java:4293)
E/AndroidRuntime( 7192): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 7192): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 7192): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
E/AndroidRuntime( 7192): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
E/AndroidRuntime( 7192): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 7192): Caused by: java.io.FileNotFoundException: This file can not be opened as a file descriptor; it is probably compressed
E/AndroidRuntime( 7192): at android.content.res.AssetManager.openNonAssetFdNative(Native Method)
E/AndroidRuntime( 7192): at android.content.res.AssetManager.openNonAssetFd(AssetManager.java:465)
E/AndroidRuntime( 7192): at android.content.res.Resources.openRawResourceFd(Resources.java:866)
E/AndroidRuntime( 7192): ... 13 more
W/ActivityManager( 2188): Force finishing activity com.htc.Weather/.WeatherActivity
D/SensorService( 2188): enable: get sensor name = BMA150 3-axis Accelerometer
D/Sensors ( 2188): Enable akm: en = 1
D/SensorService( 2188): pid=2188, uid=1000
D/AK8973 ( 85): Compass Start
I have checked and that wav file is in the correct location. For some reason it says that it cannot open it as it might be compressed? I did not modify that apk. I only did some xml edits to framework-res.apk. The wav files are located in com.htc.resource/res/raw if anyone could help me out I would appreciate it alot.
Hi
During the last days I have experienced spontanius reboots of my ONE
The backtrace from logcat is:
E/AndroidRuntime( 1802): *** FATAL EXCEPTION IN SYSTEM PROCESS: android.server.ServerThread
E/AndroidRuntime( 1802): java.lang.RuntimeException: Error receiving broadcast Intent { act=com.htc.sync.provider.weather.result cat=[1__] flg=0x10 (has extras) } in [email protected]
E/AndroidRuntime( 1802): at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:794)
E/AndroidRuntime( 1802): at android.os.Handler.handleCallback(Handler.java:608)
E/AndroidRuntime( 1802): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 1802): at android.os.Looper.loop(Looper.java:156)
E/AndroidRuntime( 1802): at com.android.server.ServerThread.run(SystemServer.java:896)
E/AndroidRuntime( 1802): Caused by: java.lang.ClassCastException: com.htc.util.weather.WSPData cannot be cast to com.htc.util.weather.WSPPData
E/AndroidRuntime( 1802): at com.htc.lockscreen.weather.LocationCtrl$3.onReceive(LocationCtrl.java:391)
E/AndroidRuntime( 1802): at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:781)
E/AndroidRuntime( 1802): ...
From looking at that I would suspect that it has something to do with
any app or widget that uses "weather data". Since it is not 100%
reproduceable I will try to remove all those apps and widget and
see if it makes a difference.
If it makes I difference. I have also disabled Googles Location service
Does anyone has similiar problems?
Thanks
max
I update my tablet to latest firmware version. I have onda vi30 model.
Anyway, when i try to change language from chinese to english, seem that not work.
Here i put some screenshots about that.
Any help?
P.S. i make some changes in update.zip package, to remove chinese app. I don't know if this can be a problem.
I resolved this problem reflashing my tablet with build.prop changed like this:
ro.product.locale.language=en
ro.product.locale.region=US
It's seem that i have one problem when a try to change language. Settings crash. Maybe something are done wrong when make custom rom.
Here is log from my tablet
E/ActivityThread( 7397): Failed to find provider info for user_dictionary
E/AndroidRuntime( 7397): FATAL EXCEPTION: main
E/AndroidRuntime( 7397): java.lang.NullPointerException
E/AndroidRuntime( 7397): at android.preference.PreferenceGroup.removePreferenceInt(PreferenceGroup.java:181)
E/AndroidRuntime( 7397): at android.preference.PreferenceGroup.removePreference(PreferenceGroup.java:174)
E/AndroidRuntime( 7397): at com.android.settings.inputmethod.InputMethodAndLanguageSettings.updateUserDictionaryPreference(InputMethodAndLanguageSettings.java:200)
E/AndroidRuntime( 7397): at com.android.settings.inputmethod.InputMethodAndLanguageSettings.onResume(InputMethodAndLanguageSettings.java:253)
E/AndroidRuntime( 7397): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:874)
E/AndroidRuntime( 7397): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1035)
E/AndroidRuntime( 7397): at android.app.BackStackRecord.popFromBackStack(BackStackRecord.java:712)
E/AndroidRuntime( 7397): at android.app.FragmentManagerImpl.popBackStackState(FragmentManager.java:1446)
E/AndroidRuntime( 7397): at android.app.FragmentManagerImpl.popBackStackImmediate(FragmentManager.java:453)
E/AndroidRuntime( 7397): at android.app.Activity.onBackPressed(Activity.java:2153)
E/AndroidRuntime( 7397): at com.android.settings.LocalePicker.onLocaleSelected(LocalePicker.java:30)
E/AndroidRuntime( 7397): at com.android.internal.app.LocalePicker.onListItemClick(LocalePicker.java:208)
E/AndroidRuntime( 7397): at android.app.ListFragment$2.onItemClick(ListFragment.java:160)
E/AndroidRuntime( 7397): at android.widget.AdapterView.performItemClick(AdapterView.java:298)
E/AndroidRuntime( 7397): at android.widget.AbsListView.performItemClick(AbsListView.java:1086)
E/AndroidRuntime( 7397): at android.widget.AbsListView$PerformClick.run(AbsListView.java:2855)
E/AndroidRuntime( 7397): at android.widget.AbsListView$1.run(AbsListView.java:3529)
E/AndroidRuntime( 7397): at android.os.Handler.handleCallback(Handler.java:615)
E/AndroidRuntime( 7397): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 7397): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 7397): at android.app.ActivityThread.main(ActivityThread.java:4745)
E/AndroidRuntime( 7397): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 7397): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 7397): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
E/AndroidRuntime( 7397): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
E/AndroidRuntime( 7397): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 3479): Force finishing activity com.android.settings/.Settings
Click to expand...
Click to collapse
Can someone help me with this logcat .. i am trying to get the xpria t jellybean systemui to work but i have now this problem
Code:
E/AndroidRuntime( 483): FATAL EXCEPTION: main
E/AndroidRuntime( 483): java.lang.RuntimeException: Unable to create service com.android.systemui.SystemUIService: java.lang.SecurityException: StatusBarManagerService: Neither user 10011 nor current process has android.permission.STATUS_BAR_SERVICE.
E/AndroidRuntime( 483): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2499)
E/AndroidRuntime( 483): at android.app.ActivityThread.access$1600(ActivityThread.java:142)
E/AndroidRuntime( 483): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1290)
E/AndroidRuntime( 483): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 483): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 483): at android.app.ActivityThread.main(ActivityThread.java:4931)
E/AndroidRuntime( 483): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 483): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 483): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime( 483): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:558)
E/AndroidRuntime( 483): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 483): Caused by: java.lang.SecurityException: StatusBarManagerService: Neither user 10011 nor current process has android.permission.STATUS_BAR_SERVICE.
E/AndroidRuntime( 483): at android.os.Parcel.readException(Parcel.java:1425)
E/AndroidRuntime( 483): at android.os.Parcel.readException(Parcel.java:1379)
E/AndroidRuntime( 483): at com.android.internal.statusbar.IStatusBarService$Stub$Proxy.registerStatusBar(IStatusBarService.java:430)
E/AndroidRuntime( 483): at com.android.systemui.statusbar.BaseStatusBar.start(BaseStatusBar.java:215)
E/AndroidRuntime( 483): at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:339)
E/AndroidRuntime( 483): at com.android.systemui.SystemUIService.onCreate(SystemUIService.java:94)
E/AndroidRuntime( 483): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2489)
E/AndroidRuntime( 483): ... 10 more