Details
-
Type: Bug
-
Status: Closed
-
Priority: Critical
-
Resolution: Fixed
-
Affects Version/s: 2.10.4, 2.10.4b1
-
Labels:
-
Environment:Jalview Version: 2.10.4
Jalview Installation: webstart git-commit:c0a005c [releases/Release_2_10_4_Branch]
Build Date: 10 May 2018
Java version: 10.0.1
x86_64 Mac OS X 10.10.5
Description
On OSX/Java 10, which triggers the Vaqua LaF, exceptions are raised when the FTS dialog displays the first page of results from a query to the PDB that returns more than 200 entries.
It's only the first page that is affected, when a second page is displayed there's no exception. On 2.10.3/Java 1.8u121 no exception is observed.
Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
at org.violetlib.aqua.AquaTableUI$AquaTablePainter.paintCell(Unknown Source)
at org.violetlib.aqua.BasicTableUIPainter.paintCells(Unknown Source)
at org.violetlib.aqua.AquaTableUI$AquaTablePainter.paint(Unknown Source)
at org.violetlib.aqua.AquaTableUI.paint(Unknown Source)
at java.desktop/javax.swing.plaf.ComponentUI.update(Unknown Source)
at java.desktop/javax.swing.JComponent.paintComponent(Unknown Source)
...
... at java.desktop/javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
...
... at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
It's only the first page that is affected, when a second page is displayed there's no exception. On 2.10.3/Java 1.8u121 no exception is observed.
Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
at org.violetlib.aqua.AquaTableUI$AquaTablePainter.paintCell(Unknown Source)
at org.violetlib.aqua.BasicTableUIPainter.paintCells(Unknown Source)
at org.violetlib.aqua.AquaTableUI$AquaTablePainter.paint(Unknown Source)
at org.violetlib.aqua.AquaTableUI.paint(Unknown Source)
at java.desktop/javax.swing.plaf.ComponentUI.update(Unknown Source)
at java.desktop/javax.swing.JComponent.paintComponent(Unknown Source)
...
... at java.desktop/javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
...
... at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)