Newsfeed: fix an NPE on startup without network 67/18067/2
Clément DAVID [Mon, 11 Apr 2016 08:40:21 +0000 (10:40 +0200)]
Change-Id: I1f0e34794dfafa6f12750ded43298b03e905e75e

scilab/modules/ui_data/src/java/org/scilab/modules/ui_data/newsfeed/NewsFeedWidget.java

index 9ae8a60..c91270c 100644 (file)
@@ -188,7 +188,7 @@ public class NewsFeedWidget extends JPanel implements NewsFeedEventListener, Hyp
 \r
     private void displayError(String errorMessage) {\r
         StringBuilder errMsgHtmlBuilder = new StringBuilder(errorMessage);\r
-        display(new AbstractAction() {\r
+        display(new AbstractAction("") {\r
             @Override\r
             public void actionPerformed(ActionEvent e) {\r
                 URL url = newsFeedController.getNewsFetcher().getURL();\r