java.lang.NullPointerException
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingProgrammer(SerialUploader.java:314)
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:89)
at cc.arduino.UploaderUtils.upload(UploaderUtils.java:78)
at processing.app.SketchController.upload(SketchController.java:713)
at processing.app.SketchController.exportApplet(SketchController.java:686)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2135)
at java.lang.Thread.run(Thread.java:745)
I have tried to:
Restart, no luck
Downgrade the hologram board manager, no luck
Go back to latest version, no luck
Download latest version of java, no luck
Install latest version of Arduino IDE, no luck
I can upload to other Arduino boards. Mega works fine.
Another restart, no luck
Tried to update CH340 driver, no luck
Change serial used by IDE, no luck
Any ideas?
Is your serial monitor open when trying to upload? I’ve seen a similar error from the IDE when the monitor is open because the port goes away.
Also try selecting a different board and uploader and then switching back to dash and USB programmer. We’ve seen the IDE get a little weird sometimes and lose some internal state after an upgrade.
I tried to have the monitor window open and closed. Used a different dash. No change. Windows 10 just doesn’t want to seem to work anymore with the dash. I even tried to delete every folder dealing with arduino and the library’s folder. No change. I used an older build of arduino, and even tried the nightly build. No change. Uninstalled java, then reinstalled. All in all around 20 restarts after I tried each item. Just no clue at all. I do believe though that it has nothing to do with the dash or the library for it. It’s all with windows 10. I had an update and then it didn’t work. I tried to roll back that update, but no change. It’s always the same error:
java.lang.NullPointerException
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingProgrammer(SerialUploader.java:314)
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:89)
at cc.arduino.UploaderUtils.upload(UploaderUtils.java:78)
at processing.app.SketchController.upload(SketchController.java:713)
at processing.app.SketchController.exportApplet(SketchController.java:686)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2149)
at java.lang.Thread.run(Thread.java:745)
When you say you deleted everything dealing with arduino, did you try wiping out the entire profile directory? On the latest Arduino it’s in Documents\ArduinoData but it might also be in C:\Users\YourUser.arduino15 or in your Roaming profile directory
Deleted the arduino15 folder and the librarys folder in the documents. Just tried on kubuntu and getting the same errors. So the windows 10 blame isn’t it. I think it might have a library conflicting with another? Anyways, I will try to use the updater and see what that does. Thanks for the reply.
Ok, I did some reading and got a lot done here.
Found the downloads and loaded the firmware in, reinstalled the COM driver, and pushed the default user program. and I still have a java error. I checked the device manager and it’s showing Konekt Dash Com Port (COM15). Restarted computer and Dashes.
I feel like the dumbest kid on the block right now.
I was expecting to just use default programmer like I use for the other arudino boards. Thank you so much for helping to pull me through this rough learning moment.