Board manager difficulties

I've been trying to add the ESP8266 board manager and am getting this error message in the bottom orange box :

Error downloading https://mcudude.github.io/MegaCoreX/package_MCUdude_MegaCoreX_index.json
Error downloading https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json.
Error downloading https://arduino.esp8266.com/stable/package_esp8266com_index.json.
Error downloading https://mcudude.github.io/MiniCore/package_MCUdude_MiniCore_index.json
Error downloading http://drazzy.com/package_drazzy.com_index.json
Error downloading https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json
Error downloading https://downloads.arduino.cc/packages/package_index.jsontype or paste code here

Some of these errors were present before trying to add the 8266.
I'm unsure what to do about this !

I have tried:

  1. turn off virus protection & win firewall
  2. delete packageindex.json (but could not then Update it in tools/board/bopard manager).
  3. I can access the URL for the 8266....json file.
  4. Switching it off and on !!!!!
  5. AND... adding the following lines to "C:\Program Files (x86)\Arduino\arduino.l4j.ini" :
    -Djavax.net.ssl.trustStore=NUL
    -Djavax.net.ssl.trustStoreType=Windows-ROOT

I'm using IDE version 1.8.10 on a win 10 PC.

You have a dot (".") at the end of your 8266 line (as well as the tiny line), and an extra "type or paste code here" after your arduino.cc line.

Delete all lines in Preferences >> Additional Boards Manager. Add only the line you need/want (8266).

Nope !!

Error downloading http://arduino.esp8266.com/stable/package_esp8266com_index.json
Error downloading https://downloads.arduino.cc/packages/package_index.json

and the top of my preferences.txt file

board=uno
boardsmanager.additional.urls=http://arduino.esp8266.com/stable/package_esp8266com_index.json
build.verbose=true
build.warn_data_percentage=75
cache.enable=true
compiler.cache_core=true
compiler.warning_level=none
console=true
..... etc

I agree.

I’m thinking now of a reinstall .
Wondered if this is a certificates issue - do these get updated / need deleting ?? .

Hi @hammy. Try changing the URL to use the https:// scheme instead of http://:

https://arduino.esp8266.com/stable/package_esp8266com_index.json

I’ll give it a go and report back .

tried the https bit, same error, plus a lot more and some of my other boards have gone from my list

Error downloading https://arduino.esp8266.com/stable/package_esp8266com_index.json
Error downloading https://downloads.arduino.cc/packages/package_index.json
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
	at cc.arduino.contributions.packages.ui.ContributedPlatformTableCellJPanel.update(ContributedPlatformTableCellJPanel.java:229)
	at cc.arduino.contributions.packages.ui.ContributedPlatformTableCellRenderer.getTableCellRendererComponent(ContributedPlatformTableCellRenderer.java:47)
	at javax.swing.JTable.prepareRenderer(JTable.java:5729)
	at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
	at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
	at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
	at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
	at javax.swing.JComponent.paintComponent(JComponent.java:780)
	at javax.swing.JComponent.paint(JComponent.java:1056)
	at javax.swing.JComponent.paintChildren(JComponent.java:889)
	at javax.swing.JComponent.paint(JComponent.java:1065)
	at javax.swing.JViewport.paint(JViewport.java:728)
	at javax.swing.JComponent.paintChildren(JComponent.java:889)
	at javax.swing.JComponent.paint(JComponent.java:1065)
	at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
	at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1579)
	at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
	at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
	at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
	at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
	at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
	at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
	at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
	at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
	at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
	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.pumpEventsForFilter(EventDispatchThread.java

ETC ETC...

After closing the IDE and restarting, back to the earlier two line error:

Error downloading https://arduino.esp8266.com/stable/package_esp8266com_index.json
Error downloading https://downloads.arduino.cc/packages/package_index.json

I have since tried reinstalling java , but error remains

I've done a clean re-install which has fixed it

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