I have a problem where whenever i tried to upload any code while connecting to a network port, this shows up:
processing.app.debug.RunnerException
at cc.arduino.packages.uploaders.SSHUploader.uploadUsingPreferences(SSHUploader.java:147)
at cc.arduino.UploaderUtils.upload(UploaderUtils.java:77)
at processing.app.SketchController.upload(SketchController.java:732)
at processing.app.SketchController.exportApplet(SketchController.java:703)
at processing.app.Editor$UploadHandler.run(Editor.java:2070)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException
at cc.arduino.packages.ssh.SSHConfigFileSetup.setup(SSHConfigFileSetup.java:49)
at cc.arduino.packages.uploaders.SSHUploader.uploadUsingPreferences(SSHUploader.java:112)
... 5 more
This will stay there and i do not know what to do.
The board im using is a Yun Mini. The network port of it has been connected to my home WiFi.
Hey, all. I have this EXACT problem with a 1.8.9 installation of the IDE on Windows 10, but NOT with the 1.6.12 installation of the IDE on Windows7. I am very hesitant to mess with the Windows 7 machine, because it might jeopardize my ability to update the device (which is in a hard-to-access attic).
This is an older installation of a Yun shield, with the following:
System
Hostname Arduino
Model Yun Shield
Firmware Version OpenWrtYun ChaosCalmer 1.6.1 r48749 / LuCI for-15.05 branch (git-16.081.39589-0207cb7)
Kernel Version 3.18.23
Local Time Fri Jul 12 18:37:12 2019
Uptime 8d 0h 15m 58s
Load Average 0.19, 0.21, 0.19
I was staring at the Java code in question, and it seems like this fault might have something to do with trying to look for keys in the user's home directory, but I'm not entirely sure.