java.io.FileNotFoundException: /sys/bus/platform/drivers/battery_meter/battery_meter/Ta_Connect: open failed: ENOENT (No such file or directory)


Samebug tips1

Before using FileOutputStream check that there's no directory or file with the same name you're trying to use. Trying to remove it works as well. Try using FileAsyncHttpResponseHandler(context) as well!


6 months ago
Expert tip

Solutions on the web796

Solution icon of github
via GitHub by razzbee
, 8 months ago
/sys/bus/platform/drivers/battery_meter/battery_meter/Ta_Connect: open failed: ENOENT (No such file or directory)

Solution icon of stackoverflow
via Stack Overflow by Razin Bashar
, 1 year ago
/sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state: open failed: ENOENT (No such file or directory)

Solution icon of stackoverflow
/sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state: open failed: ENOENT (No such file or directory)

Solution icon of stackoverflow
via Stack Overflow by AnilkumarJohn
, 1 year ago
/sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state: open failed: ENOENT (No such file or directory)

Solution icon of stackoverflow
/sys/class/power_supply/bms/resistance: open failed: ENOENT (No such file or directory)

Solution icon of web
via relayr.io by Unknown author, 1 year ago
/sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state: open failed: ENOENT (No such file or directory)

Solution icon of stackoverflow
/sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state: open failed: ENOENT (No such file or directory)

Solution icon of stackoverflow
/sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state: open failed: ENOENT (No such file or directory)

Solution icon of stackoverflow
via Stack Overflow by ridua
, 1 year ago
/sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state: open failed: ENOENT (No such file or directory)

Solution icon of web
via evervolv.com by Unknown author, 1 year ago
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies: open failed: ENOENT (No such file or directory)

Stack trace

java.io.FileNotFoundException: /sys/bus/platform/drivers/battery_meter/battery_meter/Ta_Connect: open failed: ENOENT (No such file or directory)
	at libcore.io.IoBridge.open(IoBridge.java:487)
	at java.io.FileInputStream.<init>(FileInputStream.java:76)
	at java.io.FileInputStream.<init>(FileInputStream.java:103)
	at com.transsion.systemui.pumpexpress.PumpExpressHelper.isPumpExpressCharger(PumpExpressHelper.java:31)
	at com.transsion.systemui.pumpexpress.PumpExpressNotificationReminder.isPumpExpressCharger(PumpExpressNotificationReminder.java:129)
	at com.android.systemui.power.PowerUI$Receiver.onReceive(PowerUI.java:192)
	at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:922)
	at android.os.Handler.handleCallback(Handler.java:815)
	at android.os.Handler.dispatchMessage(Handler.java:104)
	at android.os.Looper.loop(Looper.java:207)
	at android.app.ActivityThread.main(ActivityThread.java:5728)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:679)
	at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
	at libcore.io.IoBridge.open(IoBridge.java:473)
	at android.os.BinderProxy.transact(Binder.java:511)
	at android.view.IWindow$Stub$Proxy.onAnimationStopped(IWindow.java:548)
	at com.android.server.wm.WindowAnimator.updateWindowsLocked(WindowAnimator.java:301)
	at com.android.server.wm.WindowAnimator.animateLocked(WindowAnimator.java:693)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

2 times, 3 months ago
6 times, 4 months ago
5 times, 6 days ago
2 times, 1 month ago
2 times, 2 months ago
100 more bugmates