hvqzao / burp-wildcard

Burp extension intended to compact Burp extension tabs by hijacking them to own tab.
128 stars 15 forks source link

v1.05 breaks on non-default "Look and Feel" nimbus #3

Closed imdos closed 5 years ago

imdos commented 5 years ago

If I use the new v1.05 it breaks on non-default "Look and Feel" darcula , the dark color version. However nimbus works without problem. If I switch the theme the UI crashes and produces the following error: java.lang.ClassCastException: javax.swing.JLabel cannot be cast to burp.e75 at burp.b0t.getTitleAt(Unknown Source) at javax.swing.plaf.basic.BasicTabbedPaneUI.paintTab(Unknown Source) at javax.swing.plaf.basic.BasicTabbedPaneUI.paintTabArea(Unknown Source)

    at javax.swing.plaf.basic.BasicTabbedPaneUI.paint(Unknown Source)
    at javax.swing.plaf.ComponentUI.update(Unknown Source)
    at javax.swing.JComponent.paintComponent(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JComponent.paintChildren(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JComponent.paintToOffscreen(Unknown Source)
    at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
    at javax.swing.RepaintManager.paint(Unknown Source)
    at javax.swing.JComponent._paintImmediately(Unknown Source)
    at javax.swing.JComponent.paintImmediately(Unknown Source)
    at javax.swing.RepaintManager$4.run(Unknown Source)
    at javax.swing.RepaintManager$4.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionP

rivilege(Unknown Source) at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source) at javax.swing.RepaintManager.access$1200(Unknown Source) at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionP rivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)

hvqzao commented 5 years ago

Thanks for reporting the issue. Newest release will automatically turn off when dark theme is detected https://github.com/hvqzao/burp-wildcard/releases/tag/1.06 Don't have currently much time to dig deeper into this.