Recently started experimenting with Arduino IDE (1.18.13) with ESP32 Wroom32 chips
I have compiled a number of example projects OK without too much trouble
But I do run into a problem where the IDE fails to save the project at compile time, or if I press the Save in the file menu or the Down Arrow icon
This occurs after I have made a number edits which Save OK, then I compile a sketch and upload to ESP32, run Serial Monitor to view debug stuff, and that works OK
BUT
If I now go on to make further edits, I am now unable to save and get the below error when compiling
Only way to clear it is to restart the IDE
Edit :
- Tried Running IDE as Administrator - same issue
- After using Verify/Compile, after the next edit the save will fail in same way
- Tested with a blank sketch - just empty setup and loop - saves fail after compile
PC
Windows 10 (64 bit) - Version 10.0.19041 Build 19041
8GB Ram
Error as reported in IDE
The system cannot find the file specified
java.io.IOException: The system cannot find the file specified
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.createTempFile(File.java:2024)
at processing.app.BaseNoGui.saveFile(BaseNoGui.java:886)
at processing.app.SketchFile.save(SketchFile.java:287)
at processing.app.Sketch.save(Sketch.java:138)
at processing.app.SketchController.save(SketchController.java:352)
at processing.app.Editor.handleSave2(Editor.java:1908)
at processing.app.Editor.access$1000(Editor.java:117)
at processing.app.Editor$11.run(Editor.java:1888)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
The system cannot find the file speci