-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Arduino IDE 1.8.12 crashes upon startup Mac OS X 10.15.3 #9828
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
#metoo, IDE 1.8.12 & Mac OS 10.15.3 Arduino quit unexpectedly when opening the Serial Monitor. Click for crash report:
|
same for me. Worked until I updated to Catalina |
Facing same issue. Worked with previous OS. Is there a temporary solution ? |
The temporary solution is to use Arduino IDE 1.8.10, the last version before OpenJDK was introduced. You can download it here: I'm not very knowledgeable on this subject, but I believe you will encounter the
issue with Arduino IDE 1.8.10 due to it not being notarized. There is an explanation of the workaround for that here: #9314 (comment) |
I am having a similar bug on Catalina - the splash screen opens and it runs initialisation etc, but once the splash screen closes, the IDE never appears. I have tried 1.8.10 as per @per1234 's suggestion, but this also did not work for me. |
I have new 2019 iMac. I update new Java and download latest Arduino. |
@screenmac that is off topic for this issue and likely for this issue tracker in general. This issue tracker is only to be used to report bugs or feature requests. Your topic is more appropriate for the Arduino Forum. I'm sure we'll be able to help you with your problem over there. Please do this:
|
I was able to fix this by downloading the latest hourly build, and when I ran into the security bug on opening it (detailed (here)[https://github.com//issues/9713]), I just right click -> open on the icon (to bypass the Apple check) |
Downgrading to Arduino IDE 1.8.10 got me back up and running. I am on OS X |
@gvarisco it looks like Apple is not enforcing the notarization yet... Do you have any insights? Getting rid of the bugs provoked by AdoptJDK would be quite important. |
Had the same issue. Going back to 1.8.10 fixed it for the moment. Anyway opening 1.8.10 gives me the following message, maybe it helps: Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException |
So active editor is null in that case? |
Here is why it happens and how to work around it until an official solution is introduced: |
This bug also happens when attaching a HDMI new screen or any changing of the video output. As an educator that is constantly switching between screens while teaching Arduino, this is a very annoying problem. Arduino IDE will crash every time I toggle between mirroring my own screen and using at as an external screen. I can confirm that this bug happens on OSX 10.15.2 and OSX 10.15.4 also. |
Downgrading to Arduino IDE 1.8.10 also got me back up and running. I am on OS X 10.15.4. IDE 1.8.12 was unusable once I tried to load sketches. OK for checking libraries. Just crashed when I tried to load a sketch. I do have an HDMI monitor in addition to my laptop screen. |
MacOS 10.15.4 same as above. I will try IDE 1.8.10!!! thank you!!! |
Exactly I have found if I attempt to move any of the sketch or serial monitor windows to a different screen it crashes. |
FWIW, I am running macOS 10.15.4 and using Arduino IDE version 1.8.12. It crashes only when using an external display, i.e. moving any Arduino IDE window between displays. Without using the external display, the application has not yet crashed for me. |
Hi,
This is a known problem and has to do with the version of SQL.
solution: reverting back to IDE 1.8.10.
Leen van Gent
… On 18 May 2020, at 05:16, Maurice ***@***.***> wrote:
FWIW, I am running macOS 10.15.4 and it crashes only when using an external display, i.e. moving any Arduino IDE window between displays. Without using the external display, the application has not yet crashed yet for me.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
MBP 16, macOS Catalina 10.15.4 |
After trying to install again the board, closed the app. Trying to open the App again, it keeps crashing. |
I'm having the same problem, MacOS 10.15.5, latest non-beta Arduino version (from last week. Can't find the version number), brand new MacBook Air with nothing else on it yet. At first it worked fine (I added a library for Move38 Blinks and played around with that for a while) and now a few days later (perhaps because I closed the app) the app opens, shows the loading screen, and immediately closes/crashes. |
Can verify that using AppCleaner to remove the /Library/Arduino15 folder makes it work again. Annoying though. |
Same issue. |
By the way, I don't have any Arduino related folder under /Library. |
Oh, just realize it's ~/Library, not /Library. |
But I cannot open Board Manager anymore. |
crash reportjava.lang.NullPointerException java.lang.RuntimeException: java.lang.NullPointerException at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onUpdatePressed$1(ContributionManagerUI.java:150) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.NullPointerException at cc.arduino.contributions.packages.ContributionsIndexer.parseIndex(ContributionsIndexer.java:134) at processing.app.BaseNoGui.initPackages(BaseNoGui.java:483) at processing.app.Base$9.onIndexesUpdated(Base.java:1400) at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onUpdatePressed$1(ContributionManagerUI.java:148) ... 1 more Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at cc.arduino.contributions.packages.ui.ContributedPlatformTableCellJPanel.update(ContributedPlatformTableCellJPanel.java:222) 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:109) at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233) at java.awt.Dialog.show(Dialog.java:1084) at java.awt.Component.show(Component.java:1671) at java.awt.Component.setVisible(Component.java:1623) at java.awt.Window.setVisible(Window.java:1014) at java.awt.Dialog.setVisible(Dialog.java:1005) at processing.app.Base.openBoardsManager(Base.java:1414) at processing.app.Base$10.actionPerformed(Base.java:1441) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.AbstractButton.doClick(AbstractButton.java:376) at com.apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:125) at java.awt.MenuItem.processActionEvent(MenuItem.java:669) at java.awt.MenuItem.processEvent(MenuItem.java:628) at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:357) at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:345) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:763) 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.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84) at java.awt.EventQueue$4.run(EventQueue.java:733) at java.awt.EventQueue$4.run(EventQueue.java:731) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) at java.awt.EventQueue.dispatchEvent(EventQueue.java:730) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) java.lang.NullPointerException at cc.arduino.contributions.packages.ContributionsIndexer.parseIndex(ContributionsIndexer.java:134) at processing.app.BaseNoGui.initPackages(BaseNoGui.java:483) at processing.app.Base.openBoardsManager(Base.java:1418) at processing.app.Base$10.actionPerformed(Base.java:1441) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.AbstractButton.doClick(AbstractButton.java:376) at com.apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:125) at java.awt.MenuItem.processActionEvent(MenuItem.java:669) at java.awt.MenuItem.processEvent(MenuItem.java:628) at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:357) at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:345) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:763) 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.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84) at java.awt.EventQueue$4.run(EventQueue.java:733) at java.awt.EventQueue$4.run(EventQueue.java:731) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) at java.awt.EventQueue.dispatchEvent(EventQueue.java:730) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) |
We had a problem on our package_index.json that caused the error and prevented the IDE to start. Windows:
Mac:
Linux:
Please note that the problem that prevents the IDE to start has already been fixed and it's ready for the next release, that's the reason why the Nightly/Beta Builds are not affected, and also the reason why we did not detect this problem earlier, sorry about that! |
Thank you @facchinm. A couple of nights ago I was working happily with Arduino 1.8.12 on my MacBook with MacOS 10.15.3, then yesterday I tried to use it and it just loaded the splash screen and crashed as others have said. I deleted the app and reloaded - same problem until I saw your email at the bottom of the page - deleted the files and it is working again. |
Crashes a lot on MAC, why this issue is closed? |
Clean uninstalled and reinstalled. I load my sketch, try to do anything with it and crashes. Here is the crash dump.
ArduinoIDECrash.txt
The text was updated successfully, but these errors were encountered: