com.diozero.util.RuntimeIOException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • com.diozero.util.RuntimeIOException: Error setting direction for GPIO 0 at com.diozero.internal.provider.sysfs.SysFsDeviceFactory.export(SysFsDeviceFactory.java:192) at com.diozero.internal.provider.sysfs.SysFsDeviceFactory.createDigitalOutputPin(SysFsDeviceFactory.java:120) at com.diozero.internal.spi.BaseNativeDeviceFactory.provisionDigitalOutputPin(BaseNativeDeviceFactory.java:160) at com.diozero.api.DigitalOutputDevice.<init>(DigitalOutputDevice.java:92) at com.diozero.api.DigitalOutputDevice.<init>(DigitalOutputDevice.java:73) at com.diozero.api.DigitalOutputDevice.<init>(DigitalOutputDevice.java:58) at com.diozero.LED.<init>(LED.java:67) at com.Test.Main.main(Main.java:35) Caused by: java.io.IOException: Unknown error 517 at java.io.FileOutputStream.writeBytes(Native Method) at java.io.FileOutputStream.write(FileOutputStream.java:326) at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221) at sun.nio.cs.StreamEncoder.implClose(StreamEncoder.java:316) at sun.nio.cs.StreamEncoder.close(StreamEncoder.java:149) at java.io.OutputStreamWriter.close(OutputStreamWriter.java:233) at com.diozero.internal.provider.sysfs.SysFsDeviceFactory.export(SysFsDeviceFactory.java:190)

Users with the same issue

AlebeyAlebey
1 times, last one,
batwalrus76batwalrus76
1 times, last one,
Nikolay RybakNikolay Rybak
1 times, last one,
Unknown visitor
Unknown visitor1 times, last one,
linxiaolonglinxiaolong
3 times, last one,
34 more bugmates