From c6be94525cb00500dd14ef7f9500e974415bc4e6 Mon Sep 17 00:00:00 2001 From: Reema Taneja <32299405+rtaneja1@users.noreply.github.com> Date: Fri, 4 May 2018 11:29:00 +0530 Subject: [PATCH] [NETBEANS-491] use framework support to disable error reporting (#493) * [NETBEANS-491] use framework support to disable error reporting * Updated ERROR_URL --- .../src/org/netbeans/modules/uihandler/Bundle_nb.properties | 2 +- uihandler/src/org/netbeans/modules/uihandler/UIHandler.java | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/ide.branding/uihandler/src/org/netbeans/modules/uihandler/Bundle_nb.properties b/ide.branding/uihandler/src/org/netbeans/modules/uihandler/Bundle_nb.properties index 5b4353903f41..6877083360c2 100644 --- a/ide.branding/uihandler/src/org/netbeans/modules/uihandler/Bundle_nb.properties +++ b/ide.branding/uihandler/src/org/netbeans/modules/uihandler/Bundle_nb.properties @@ -41,7 +41,7 @@ METRICS_URL=https://netbeans.org/nonav/uigestures/index4.html # URL to display to as a welcome text in case of error #NOI18N -ERROR_URL=https://netbeans.org/nonav/uigestures/error2.html +ERROR_URL=https://netbeans.apache.org/nb/issues.html #NOI18N CHECKING_SERVER_URL=http://statistics.netbeans.org/analytics/authenticate?username={0}&secur_passwd={1} diff --git a/uihandler/src/org/netbeans/modules/uihandler/UIHandler.java b/uihandler/src/org/netbeans/modules/uihandler/UIHandler.java index a6fa78e89a21..dd00380d0f84 100644 --- a/uihandler/src/org/netbeans/modules/uihandler/UIHandler.java +++ b/uihandler/src/org/netbeans/modules/uihandler/UIHandler.java @@ -250,11 +250,7 @@ public void actionPerformed(ActionEvent ev) { if (w != null) { w.dispose(); } - try { - HtmlBrowser.URLDisplayer.getDefault().showURL(new URL(ISSUE_REPORTER_LINK)); - } catch (MalformedURLException ex) { - Installer.LOG.log(Level.FINE, null, ex); - } + Installer.RP.post(this); } private boolean shouldReportScanCancel() {