Installed add on throws Java method missing error when run

Hi. I'm noob, just poke about problems. :slight_smile:

I am working through the book "Junk Box Arduino", and we need to install something on the tools menu, and run it. Installs fine from the sketch folder, but when I run it from the menu, I get this error:

Hello from Burn_Preflight
Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError:;Ljava/util/Map;Z)[Ljava/lang/String;
at com.burn_preflight.Burn_Preflight.gencommand(Unknown Source)
at Source)
at java.awt.event.InvocationEvent.dispatch(
at java.awt.EventQueue.dispatchEventImpl(
at java.awt.EventQueue.access$500(
at java.awt.EventQueue$
at java.awt.EventQueue$
at Method)
at java.awt.EventQueue.dispatchEvent(
at java.awt.EventDispatchThread.pumpOneEventForFilters(
at java.awt.EventDispatchThread.pumpEventsForFilter(
at java.awt.EventDispatchThread.pumpEventsForHierarchy(
at java.awt.EventDispatchThread.pumpEvents(
at java.awt.EventDispatchThread.pumpEvents(

Been a while since I messed with Java at all, any idea what I'm missing here? Thanks in advance for any assistance. :slight_smile:

I gave it a try but didn't even get a menu item for the tool.

I notice that it's an older project. There was a breaking change to the API of the Arduino IDE that the tools use, as mentioned here:

It's mentioned at the link above that happened in Arduino IDE 1.6.12 release. So you could try an older IDE version. The Burn_Preflight project readme says:

The pre-build Burn Preflight Tool was built against Arduino 1.6.5, and is known to run properly with Arduino 1.6.7.

Old IDE versions available for download here:

1 Like

Awesome, worked like a charm. Thanks so much for the assist! :slight_smile:

You're welcome. I'm glad to hear it's working.

1 Like

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.