MCUdude / MightyCore

Arduino hardware package for ATmega1284, ATmega644, ATmega324, ATmega324PB, ATmega164, ATmega32, ATmega16 and ATmega8535
Other
649 stars 182 forks source link

MightyCore shows as "installed" but cannot access in boards manager #228

Closed drbrodie closed 2 years ago

drbrodie commented 2 years ago

I have been using MightyCore with my 1284 boards up until today. When I selected update boards, the MightyCore boards disappeared from the available boards in Boards Manager though it shows that I have Version 2.1.1 installed. When I selected "update" or tried to install the Versions 2.1.2 or 2.1.3 I see "java.lang.NullPointerException" nothing happens. My preferences Additional Boards Manager does include "https://mcudude.github.io/MightyCore/package_MCUdude_MightyCore_index.json". The error messages when I tried to upload to my 1284 are: Could not find boards.txt in C:\Users\Administrator.Owner-HP\AppData\Local\Arduino15\packages\MightyCore\hardware\avr\2.1.1. Is it pre-1.5? Could not find boards.txt in C:\Users\Administrator.Owner-HP\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2020.12.26. Is it pre-1.5? java.lang.NullPointerException java.lang.RuntimeException: java.lang.NullPointerException at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$2(ContributionManagerUI.java:175) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.NullPointerException at cc.arduino.contributions.packages.ContributionInstaller.remove(ContributionInstaller.java:276) at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$2(ContributionManagerUI.java:170) ... 1 more

Please help me get back up and running. Thanks

per1234 commented 2 years ago

Hi @drbrodie. Try this:

  1. Select Tools > Board > Boards Manager from the Arduino IDE menus.
  2. Wait for the update to finish.
  3. From the list of boards platforms shown in Boards Manager, select "MightyCore by MCUdude".
  4. Click the Remove button.
  5. Click the Yes button to confirm you want to remove MightyCore.
  6. Wait for the removal process to finish.
  7. Click the Install button.
  8. Wait for the installation process to finish.
  9. Click the Close button.

Now try uploading to your 1284 board again.

drbrodie commented 2 years ago

Thanks for getting back to me so quickly. Unfortunately, that didn't work

On Sun, Oct 24, 2021 at 6:06 AM per1234 @.***> wrote:

Hi @drbrodie https://github.com/drbrodie. Try this:

  1. Select Tools > Board > Boards Manager from the Arduino IDE menus.
  2. Wait for the update to finish.
  3. From the list of boards platforms shown in Boards Manager, select "MightyCore by MCUdude".
  4. Click the Remove button.
  5. Click the Yes button to confirm you want to remove MightyCore.
  6. Wait for the removal process to finish.
  7. Click the Install button.
  8. Wait for the installation process to finish.
  9. Click the Close button.

Now try uploading to your 1284 board again.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/MCUdude/MightyCore/issues/228#issuecomment-950295999, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACEZ4WWFTJ2KVGM2B7XP253UIPLBTANCNFSM5GSNMWZQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.