When a user has data sources in their cache they may click the "Clear All" cache button to clear their cache.
On Windows this feature has a bug in which a null pointer exception is generated when trying to "Clear All". After that, a null pointer exception is generated anytime the cache tab is clicked.
13:34:49.659 ERROR c.l.c.c.panel.CacheTableModel - null
java.net.MalformedURLException: null
at java.net.URL.<init>(Unknown Source) ~[na:1.8.0_45]
at java.net.URL.<init>(Unknown Source) ~[na:1.8.0_45]
at java.net.URL.<init>(Unknown Source) ~[na:1.8.0_45]
at com.lorainelab.cache.configuration.panel.CacheTableModel.getValueAt(CacheTableModel.java:88) ~[cache-8.5.0.jar:na]
at javax.swing.JTable.getValueAt(Unknown Source) [na:1.8.0_45]
at javax.swing.JTable.prepareRenderer(Unknown Source) [na:1.8.0_45]
at com.lorainelab.cache.configuration.panel.CacheConfigurationPanel$3.prepareRenderer(CacheConfigurationPanel.java:323) [cache-8.5.0.jar:na]
at javax.swing.plaf.basic.BasicTableUI.paintCell(Unknown Source) [na:1.8.0_45]
at javax.swing.plaf.basic.BasicTableUI.paintCells(Unknown Source) [na:1.8.0_45]
at javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source) [na:1.8.0_45]
at javax.swing.plaf.ComponentUI.update(Unknown Source) [na:1.8.0_45]
at javax.swing.JComponent.paintComponent(Unknown Source) [na:1.8.0_45]
at javax.swing.JComponent.paint(Unknown Source) [na:1.8.0_45]
at javax.swing.JComponent.paintChildren(Unknown Source) [na:1.8.0_45]
at javax.swing.JComponent.paint(Unknown Source) [na:1.8.0_45]
at javax.swing.JViewport.paint(Unknown Source) [na:1.8.0_45]
at javax.swing.JComponent.paintChildren(Unknown Source) [na:1.8.0_45]
at javax.swing.JComponent.paint(Unknown Source) [na:1.8.0_45]
at javax.swing.JComponent.paintToOffscreen(Unknown Source) [na:1.8.0_45]
at javax.swing.BufferStrategyPaintManager.paint(Unknown Source) [na:1.8.0_45]
at javax.swing.RepaintManager.paint(Unknown Source) [na:1.8.0_45]
at javax.swing.JComponent._paintImmediately(Unknown Source) [na:1.8.0_45]
at javax.swing.JComponent.paintImmediately(Unknown Source) [na:1.8.0_45]
at javax.swing.RepaintManager$4.run(Unknown Source) [na:1.8.0_45]
at javax.swing.RepaintManager$4.run(Unknown Source) [na:1.8.0_45]
at java.security.AccessController.doPrivileged(Native Method) [na:1.8.0_45]
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) [na:1.8.0_45]
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) [na:1.8.0_45]
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) [na:1.8.0_45]
at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source) [na:1.8.0_45]
at javax.swing.RepaintManager.access$1300(Unknown Source) [na:1.8.0_45]
at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source) [na:1.8.0_45]
at java.awt.event.InvocationEvent.dispatch(Unknown Source) [na:1.8.0_45]
at java.awt.EventQueue.dispatchEventImpl(Unknown Source) [na:1.8.0_45]
at java.awt.EventQueue.access$500(Unknown Source) [na:1.8.0_45]
at java.awt.EventQueue$3.run(Unknown Source) [na:1.8.0_45]
at java.awt.EventQueue$3.run(Unknown Source) [na:1.8.0_45]
at java.security.AccessController.doPrivileged(Native Method) [na:1.8.0_45]
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) [na:1.8.0_45]
at java.awt.EventQueue.dispatchEvent(Unknown Source) [na:1.8.0_45]
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [na:1.8.0_45]
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [na:1.8.0_45]
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [na:1.8.0_45]
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [na:1.8.0_45]
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [na:1.8.0_45]
at java.awt.EventDispatchThread.run(Unknown Source) [na:1.8.0_45]
Caused by: java.lang.NullPointerException: null
... 46 common frames omitted
Testing for this issue included:
-Verifying that a null pointer exception was no longer being generated when clicking the "Clear All" button in IGB's cache tab.
-Verifying that there are no other behaviors adversely affecting the cache tab because of this change.
Since this issue is resolved it will now be closed.