New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: AWT-EventQueue-0 Using arduino Ver1.6.11 ESP8266 Sketch Data Upload #22

Open
k31ww475 opened this Issue Oct 9, 2016 · 6 comments

Comments

Projects
None yet
5 participants
@k31ww475

k31ww475 commented Oct 9, 2016

Hi.
I want to use " ESP8266 Sketch Data Upload " but I couldn't.
The upload file is sample.txt. The file contents is just "abc".
I have a trouble.Thanks in advance.

THE ERROR :

Exception in thread "AWT-EventQueue-0" java.lang.IllegalAccessError: tried to access method processing.app.Sketch.prepareDataFolder()Ljava/io/File; from class com.esp8266.mkspiffs.ESP8266FS
at com.esp8266.mkspiffs.ESP8266FS.createAndUpload(ESP8266FS.java:165)
at com.esp8266.mkspiffs.ESP8266FS.run(ESP8266FS.java:226)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
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:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
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)

@k31ww475

This comment has been minimized.

k31ww475 commented Oct 9, 2016

Arduino ESP8266 filesystem uploader ver. is Latest

@eketjall

This comment has been minimized.

eketjall commented Nov 28, 2016

I get similar errors with 0.3.0 and Arduino IDE 1.6.11 & 1.6.13
Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: processing.app.Sketch.getBuildPath()Ljava/io/File; at com.esp8266.mkspiffs.ESP8266FS.getBuildFolderPath(ESP8266FS.java:117) at com.esp8266.mkspiffs.ESP8266FS.createAndUpload(ESP8266FS.java:263) at com.esp8266.mkspiffs.ESP8266FS.run(ESP8266FS.java:322) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) 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:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) 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)
0.2.0 works fine though

@me-no-dev

This comment has been minimized.

Collaborator

me-no-dev commented Nov 28, 2016

hmmm something must be wrong. I use 1.6.12 and all is fine. As a matter of fact that change was introduced by a member of the Arduino team and is exactly to make the plugin work in latest IDEs.
Make sure you have only one IDE running and that it's preferable 1.6.13. Make sure you restart the IDE and have only one plugin and so on.

@eketjall

This comment has been minimized.

eketjall commented Nov 30, 2016

Yeah, something seems broken alright.
I follow the instruktions for installing, same way for both 0.2.0 and 0.30. Both in IDE 1.6.11 and 1.6.13.
The result is the same, 0.2.0 works in both 1.6.11 and 1.6.13.
0.3.0 works in neither.
I have one more plugin though, the Modified Serial Monitor, esp8266/Arduino#1360

@yipmc

This comment has been minimized.

yipmc commented Dec 4, 2016

I'm using Arduino 1.6.15 and 0.30 gives me the same error
Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: processing.app.Sketch.getBuildPath()Ljava/io/File;

0.20 works for me.

@bjpirt

This comment has been minimized.

bjpirt commented Dec 19, 2017

In case anyone else experiences this issue. I had this happening on IDE v1.6.7 but updated and it runs fine on the latest (v1.8.5 currently)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment