-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Arduino 1.6.4 crashes/closes before it opens #3248
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
Comments
Do you still have your arduino15 folder? It looks like one of the downloaded |
I'm not sure if it is the same issue but you can get a similar result by adding: |
Maybe I guessed the source of the problem: esp8266 latest package is 1.6.4-673-g8cd3697. You've probably installed an older version but they removed that old version from the json file. The IDE finds an installed esp8266 core but can match it with any of the listed ones. |
It happens even with no esp8266 versions installed. I add the URLs to preferences, then open Boards manager, it downloads the json files, then shows java.lang.NullPointerException. Neither of the packages show in Boards Manager, they are not installed. The console shows:
When I close the IDE and try to restart I get the splash screen but the IDE won't start until I delete either of the json files.
|
Then maybe it's not the esp index the source of the problem, maybe it's the attiny one |
attiny is not installed either and https://adafruit.github.io/arduino-board-index/package_adafruit_index.json,https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json works fine. I'm not saying the json files don't have a problem, but the problem is not that I have an old version installed that has been removed from the json. |
I see. Indeed further tests (with latest hourly build) show no problem. Can you give a try to hourly as well? http://www.arduino.cc/en/Main/Software#hourly I can't reproduce the bug :( |
Same result, I'm using Windows 7 64 bit. Here's my process:
|
On 29/05/2015 10:15, Federico Fissore wrote:
Hi Federico, Here is the attached folder you asked for, this is at the time or just after I was on this page https://github.com/esp8266/arduino and followed the section 'Installing with Boards Manager*' *to the letter I I had 2 or 3 other items I had successfully added in the board manager URL and Regards Gary |
Fixed. Fix will be available in next hourly build http://www.arduino.cc/en/Main/Software#hourly |
ffissore is there a workaround for making package indexes without tools compatible with 1.6.4? I am the author of the attiny json and the ariadne json also(I think that is what you mean by codebender) and a couple of others and I'd like to fix the files if possible. I tried adding Thanks so much for your work on this fix and Boards Manager in general! |
Disregard that last question I figured it out. I just needed to add "tools": [] and it works. |
Yes indeed |
I am having the same problem with 1.8.4, over two years later. It gets to where it says "Starting" then softly and silently vanishes away.. The above solutions do not work. |
I figured out how to run it in a console, and got the following report: Josephs-MacBook-Air:~ flounder$ /Applications/Arduino-3.app/Contents/MacOS/Arduino ; exit; |
@supuflounder please see #6716 for an explanation of the problem and solutions. Although it has similar symptoms to this issue, your problem has a different cause. |
Hi,
A few of us are having problems with opening Arduino IDE 1.6.4.on different operating systems.
Here's the link to the forum responses, http://forum.arduino.cc/index.php?topic=325527.0
I see the loading screen and when it states "initializing packages" it just closes. No crash report, no indication of something going wrong, just closes. I've tried uninstalling the IDE and reinstalling, but nothing seems to make a difference.
I tried running arduino_debug.exe.This is the output.
C:\Program Files\Arduino>arduino_debug.exe
Loading configuration...
Initializing packages...
java.lang.NullPointerException
at cc.arduino.contributions.packages.ContributedToolReference.resolve(ContributedToolReference.java:43)
at cc.arduino.contributions.packages.ContributedPlatform.resolveToolsDependencies(ContributedPlatform.java:76)
at cc.arduino.contributions.packages.ContributionsIndexer.parseIndex(ContributionsIndexer.java:92)
at processing.app.BaseNoGui.initPackages(BaseNoGui.java:600)
at processing.app.Base.(Base.java:271)
at processing.app.Base.guardedMain(Base.java:215)
at processing.app.Base.main(Base.java:128)
C:\Program Files\Arduino>
Regards
Gary
The text was updated successfully, but these errors were encountered: