Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-911

Null pointer exception generate on Windows when "Clear All" is selected in the cache tab

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:

      Description

      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

        Attachments

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              mason Mason Meyer (Inactive)
              Reporter:
              mason Mason Meyer (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: