Visual Glitch on Arduino 1.8.8?

I just installed Arduino 1.8.8 on macOS 10.12

It seems as though loading a sketch takes quite long time to load, and once loaded the window needs to be resized in order for the UI elements to become visible.

Is this normal?

Screen capture video to illustrate: https://drive.google.com/file/d/11jIWiD2WqcllNXEcbLQBaqMZMyg9adk7/view?usp=sharing

  • Click on the black console window at the bottom of the Arduino IDE window.
  • Press Ctrl+A. All the red text should now be highlighted.
  • Press Ctrl+C to copy the text to the clipboard.
  • Open this forum thread.
  • Click the </> button on the toolbar. This will add code tags to the reply to make sure none of the output will be interpreted by the forum as formatting markup.
  • Press Ctrl+V to paste the output saved to the clipboard inside the code tags.
  • Click “Post”.

Hopefully that text will contain the information we need to help you.

Hello pert! Thank you for lending a hand.

Here is the complete orange text that appears in the black box (this is upon first opening the Arduino IDE, ie. "sketch_jan05a"). The same set of text appears when I open any example sketch.

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
 at processing.app.EditorLineStatus.setSerialPort(EditorLineStatus.java:136)
 at processing.app.EditorLineStatus.paintComponent(EditorLineStatus.java:101)
 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.JComponent.paintChildren(JComponent.java:889)
 at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1047)
 at javax.swing.JComponent.paint(JComponent.java:1065)
 at javax.swing.JComponent.paintChildren(JComponent.java:889)
 at javax.swing.JComponent.paint(JComponent.java:1065)
 at javax.swing.JComponent.paintChildren(JComponent.java:889)
 at javax.swing.JComponent.paint(JComponent.java:1065)
 at javax.swing.JComponent.paintChildren(JComponent.java:889)
 at javax.swing.JComponent.paint(JComponent.java:1065)
 at javax.swing.JComponent.paintChildren(JComponent.java:889)
 at javax.swing.JComponent.paint(JComponent.java:1065)
 at javax.swing.JLayeredPane.paint(JLayeredPane.java:586)
 at javax.swing.JComponent.paintChildren(JComponent.java:889)
 at javax.swing.JComponent.paintToOffscreen(JComponent.java:5217)
 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.paint(JComponent.java:1042)
 at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39)
 at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:79)
 at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:116)
 at java.awt.Container.paint(Container.java:1978)
 at java.awt.Window.paint(Window.java:3906)
 at javax.swing.RepaintManager$4.run(RepaintManager.java:842)
 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.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)

Are you using TeensyDuino?

Yes, I have run the TeensyDuino installer package (which I directed to install to the Arduino.app location.)

You are experiencing this a known bug with Teensyduino 1.45:
https://forum.pjrc.com/threads/54608-Teensyduino-ide-installation-issue

Here's how to fix it:

  • Plug your Arduino/Teensy/whatever into your computer. If you don't own an Arduino, you can still try the next step since probably your computer will have some port anyway.
  • Select any port from the Tools > Port menu. It doesn't need to be your Arduino
  • File > Quit
  • Start the Arduino IDE again. The bug should be gone now.

Reference: Teensyduino Install - Has it Worked?

:slightly_smiling_face: :slightly_smiling_face: :slightly_smiling_face: :slightly_smiling_face: :slightly_smiling_face:

Perfect, thank you! All fixed.

You're welcome. I'm glad to hear it's working now. Enjoy!
Per