Static storage paths aren't available from AID_SYSTEM
java.lang.Throwable
at android.os.Environment.throwIfSystem(Environment.java:637)
at android.os.Environment.getExternalStorageAppCacheDirectory(Environment.java:517)
at android.app.ContextImpl.getExternalCacheDir(ContextImpl.java:1103)
at android.content.ContextWrapper.getExternalCacheDir(ContextWrapper.java:220)
at com.policydm.adapter.XDMTargetAdapter.xdmInitExternalStorageState(XDMTargetAdapter.java:453)
at com.policydm.XDMApplication.onCreate(XDMApplication.java:150)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1017)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4596)
at android.app.ActivityThread.access$1400(ActivityThread.java:152)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1342)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5328)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
at dalvik.system.NativeStart.main(Native Method)
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = true **
That's true. The code is executed without problems. The message is just there. A little bit scary, nevertheless.Not related to your code.
I haven't seen this message when testing with S4.
Maybe it's related to the version of the galaxy 4. I don't have a custom rom. it's a brandnew Galaxy S4 (bought in Germany) without any modifications. Android Version 4.2.2.
update start
level:58, scale:100, status:2, health:2, present:true, voltage: 3977, temperature: 276, technology: Li-ion, AC powered:false, USB powered:true, Wireless powered:false, icon:17303320, invalid charger:0, online:4, charge type:1, current avg:460
Sending ACTION_BATTERY_CHANGED.
onReceive() - ACTION_BATTERY_CHANGED
onReceive() - BATTERY_STATUS_CHARGING:
NORMAL_BATTERY
[SvcLED] setSvcLedStateLocked:: id = 3, color = 0, mode = 10, set = On
info.rates.add, set DEFAULT_EVENTS_PERIOD
Light old sensor_state 0, new sensor_state : 128 en : 1
SensorDevice::activating sensor handle=6 ns=200000000
info.selectDelay() ns=200000000
SensorDevice::setDelay, Return(true 1, false 0) = 1
registerListener :: handle = 6 name= CM3323 RGB Sensor delay= 200000
turn on LED for charging
BatteryExManager - onReceive ACTION_BATTERY_CHANGED SUB/ AC plugged
SyncManager - batteryLevelGood
SyncManager - batteryLevelGood no current sync or not previously suspended
unregisterListener::
Light old sensor_state 128, new sensor_state : 0 en : 0
SensorDevice::activating sensor handle=6 ns=200000000
[SvcLED] onSensorChanged::light value = 2
[SvcLED] setSvcLedLightLocked : mSvcLedState : 0x8 priority : 3 mSvcLedMode : 1
IOExceptionjava.io.IOException: No such file or directoryReason: No such file or directory
IOExceptionjava.io.IOException: No such file or directoryReason: No such file or directory
SIOP:: Current AP = 330, CP = 0
IOExceptionjava.io.IOException: No such file or directoryReason: No such file or directory
IOExceptionjava.io.IOException: No such file or directoryReason: No such file or directory
waitForAlarm result :4
trigger ELAPSED_REALTIME_WAKEUP or RTC_WAKEUP
update start
level:58, scale:100, status:2, health:2, present:true, voltage: 3978, temperature: 276, technology: Li-ion, AC powered:false, USB powered:true, Wireless powered:false, icon:17303320, invalid charger:0, online:4, charge type:1, current avg:460
Sending ACTION_BATTERY_CHANGED.
onReceive() - ACTION_BATTERY_CHANGED
onReceive() - BATTERY_STATUS_CHARGING:
NORMAL_BATTERY
[SvcLED] setSvcLedStateLocked:: id = 3, color = 0, mode = 10, set = On
info.rates.add, set DEFAULT_EVENTS_PERIOD
Light old sensor_state 0, new sensor_state : 128 en : 1
SensorDevice::activating sensor handle=6 ns=200000000
info.selectDelay() ns=200000000
SensorDevice::setDelay, Return(true 1, false 0) = 1
registerListener :: handle = 6 name= CM3323 RGB Sensor delay= 200000
turn on LED for charging
BatteryExManager - onReceive ACTION_BATTERY_CHANGED SUB/ AC plugged
SyncManager - batteryLevelGood
SyncManager - batteryLevelGood no current sync or not previously suspended
[b] sendPingReq
[b] __PingReply__
unregisterListener::
Light old sensor_state 128, new sensor_state : 0 en : 0
SensorDevice::activating sensor handle=6 ns=200000000
[SvcLED] onSensorChanged::light value = 2
[SvcLED] setSvcLedLightLocked : mSvcLedState : 0x8 priority : 3 mSvcLedMode : 1
[PWL] Off : 180s ago
SIOP:: Current AP = 330, CP = 0
IOExceptionjava.io.IOException: No such file or directoryReason: No such file or directory
waitForAlarm result :4
trigger ELAPSED_REALTIME_WAKEUP or RTC_WAKEUP
##################### set firmware type 0 #####################
setWifiEnabled : WifiNative.setFwType(0)
Scan requested (ret=0) - scan timeout 30 seconds
IOExceptionjava.io.IOException: No such file or directoryReason: No such file or directory
nl80211: Received scan results (4 BSSes)
interfaceLinkStateChanged wlan0, true
interfaceStatusChanged wlan0, true
waitForAlarm result :4
There are no configured NW[1] in scanResults
trigger ELAPSED_REALTIME_WAKEUP or RTC_WAKEUP
There are no configured NW[2] in scanResults
##################### set firmware type 0 #####################
setWifiEnabled : WifiNative.setFwType(0)
update start
level:58, scale:100, status:2, health:2, present:true, voltage: 3977, temperature: 276, technology: Li-ion, AC powered:false, USB powered:true, Wireless powered:false, icon:17303320, invalid charger:0, online:4, charge type:1, current avg:460
Sending ACTION_BATTERY_CHANGED.
onReceive() - ACTION_BATTERY_CHANGED
onReceive() - BATTERY_STATUS_CHARGING:
NORMAL_BATTERY
[SvcLED] setSvcLedStateLocked:: id = 3, color = 0, mode = 10, set = On
info.rates.add, set DEFAULT_EVENTS_PERIOD
Light old sensor_state 0, new sensor_state : 128 en : 1
SensorDevice::activating sensor handle=6 ns=200000000
info.selectDelay() ns=200000000
SensorDevice::setDelay, Return(true 1, false 0) = 1
registerListener :: handle = 6 name= CM3323 RGB Sensor delay= 200000
turn on LED for charging
BatteryExManager - onReceive ACTION_BATTERY_CHANGED SUB/ AC plugged
SyncManager - batteryLevelGood
SyncManager - batteryLevelGood no current sync or not previously suspended
unregisterListener::
Light old sensor_state 128, new sensor_state : 0 en : 0
SensorDevice::activating sensor handle=6 ns=200000000
[SvcLED] onSensorChanged::light value = 2
[SvcLED] setSvcLedLightLocked : mSvcLedState : 0x8 priority : 3 mSvcLedMode : 1
IOExceptionjava.io.IOException: No such file or directoryReason: No such file or directory
!@Sync 11095
SIOP:: Current AP = 330, CP = 0
Static storage paths aren't available from AID_SYSTEM
java.lang.Throwable
at android.os.Environment.throwIfSystem(Environment.java:637)
at android.os.Environment.getExternalStorageDirectory(Environment.java:316)
at com.samsung.sprint.smcc.Util.<clinit>(Util.java:65)
at com.samsung.sprint.smcc.SmcService.initialize(SmcService.java:545)
at com.samsung.sprint.smcc.SmcService.access$1100(SmcService.java:48)
at com.samsung.sprint.smcc.SmcService$8.run(SmcService.java:530)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:390)
at java.util.concurrent.FutureTask.run(FutureTask.java:234)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:153)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
at java.lang.Thread.run(Thread.java:856)
I just got my new Samsung Galaxy S4 and i also get this message, my application does not crash or anything but i keep receiving the same message, what worries me is the messsages that follow.
private static void throwIfSystem() {
if (Process.myUid() == Process.SYSTEM_UID) {
Log.wtf(TAG, "Static storage paths aren't available from AID_SYSTEM", new Throwable());
}
}
#define AID_SYSTEM 1000 /* system server */
LogCat connected to: 099b5f52
--------- beginning of /dev/log/main
--------- beginning of /dev/log/system
Static storage paths aren't available from AID_SYSTEM
java.lang.Throwable
at android.os.Environment.throwIfSystem(Environment.java:637)
at android.os.Environment.getExternalStorageDirectory(Environment.java:316)
at com.android.MtpApplication.MtpReceiver.onReceive(MtpReceiver.java:1164)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:2450)
at android.app.ActivityThread.access$1600(ActivityThread.java:152)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1360)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:176)
at android.app.ActivityThread.main(ActivityThread.java:5299)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
at dalvik.system.NativeStart.main(Native Method)
** Activity (main) Create, isFirst = false **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = true **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = true **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (main) Resume **
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?