# Can't update library - and Processing hangs

**URL:** https://discourse.processing.org/t/cant-update-library-and-processing-hangs/39100
**Category:** Libraries
**Created:** [October 5, 2022, 2:36pm UTC](https://discourse.processing.org/t/cant-update-library-and-processing-hangs/39100 "2022-10-05T14:36:13Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![everythingability](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/everythingability/32/937_2.png) [@everythingability](https://discourse.processing.org/u/everythingability)
#### Post date: [October 5, 2022, 2:36pm UTC](https://discourse.processing.org/t/cant-update-library-and-processing-hangs/39100/1 "2022-10-05T14:36:13Z")

</div>

I’m attempting to use the Contribution Manager window to update my OpenCV library and I get this…

It sort of stalls…

Exception in thread “AWT-EventQueue-0” java.lang.NullPointerException: Cannot invoke “javax.swing.JProgressBar.setVisible(boolean)” because “this.progressBar” is null  
at processing.app.contrib.StatusDetail.installContribution(StatusDetail.java:108)  
at processing.app.contrib.StatusDetail.update(StatusDetail.java:203)  
at processing.app.contrib.UpdateStatusPanel.updateAll(UpdateStatusPanel.java:60)  
at processing.app.contrib.UpdateStatusPanel.lambda$new$0(UpdateStatusPanel.java:39)  
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1972)  
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2313)  
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)  
at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)  
at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:279)  
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6626)  
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3389)  
at java.desktop/java.awt.Component.processEvent(Component.java:6391)  
at java.desktop/java.awt.Container.processEvent(Container.java:2266)  
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5001)  
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)  
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4833)  
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4948)  
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4575)  
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4516)  
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2310)  
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2780)  
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4833)  
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773)  
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:722)  
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:716)  
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)  
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)  
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)  
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:746)  
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:744)  
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)  
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)  
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:743)  
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)  
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)  
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)  
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)  
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)  
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

Mac, Monterey, latest Processing.
