Revision: 19568 http://sourceforge.net/p/gate/code/19568 Author: ian_roberts Date: 2016-09-08 12:23:54 +0000 (Thu, 08 Sep 2016) Log Message: ----------- NPE guard.
Modified Paths: -------------- gate/trunk/src/main/gate/gui/LuceneDataStoreSearchGUI.java Modified: gate/trunk/src/main/gate/gui/LuceneDataStoreSearchGUI.java =================================================================== --- gate/trunk/src/main/gate/gui/LuceneDataStoreSearchGUI.java 2016-09-08 01:23:07 UTC (rev 19567) +++ gate/trunk/src/main/gate/gui/LuceneDataStoreSearchGUI.java 2016-09-08 12:23:54 UTC (rev 19568) @@ -3118,6 +3118,9 @@ public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) { String text = (String)value; + if(text == null) { + text = ""; + } int colModel = resultTable.convertColumnIndexToModel(column); // cut text in the middle if too long switch(colModel) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ _______________________________________________ GATE-cvs mailing list GATE-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gate-cvs