energia / Energia

Fork of Arduino for the Texas Instruments LaunchPad's
http://energia.nu
Other
793 stars 673 forks source link

java.lang.lllegalArgumentException: scrollCount and interval must be greater than 0 #210

Closed rei-vilo closed 11 years ago

rei-vilo commented 11 years ago

Launching Energia by double-clicking on a sketch displays the following error message...

Capture d e cran 2013-03-15 a 23 08 50

...and Energia doesn't open.

Here's the translation into English:

Application Java launch impossible Undetected exception in main method• java.lang.lllegalArgumentException: scrollCount and interval must be greater than 0

This is something new.

robertinant commented 11 years ago

Is this with the git version or with 0009?

rei-vilo commented 11 years ago

This is with the GitHub version and, to be more precise,since the introduction of the improvements for the IDE.

Official release energia-0101E0009-macosx.dmg works fine.

robertinant commented 11 years ago

I am not able to reproduce it with latest git. Can you let me know how Energia get's launched? Do you do an "Open with -> Other" on a Sketch and then point it to Energia in build folder?

rei-vilo commented 11 years ago

The ino files are associated by default to Arduino.

So to open an inosketch with Energia, I select the file, call the context menu (ctrl-click) and select Open with... > Energia.

rei-vilo commented 11 years ago

Same as #262