JDEV mappings are no longer used for DCS reports.
1.1 --- a/logger/uihandlerserver/src/java/org/netbeans/server/uihandler/DbInsertion.java Thu Feb 11 17:33:57 2016 +0100
1.2 +++ b/logger/uihandlerserver/src/java/org/netbeans/server/uihandler/DbInsertion.java Mon Feb 15 13:39:30 2016 +0100
1.3 @@ -554,8 +554,12 @@
1.4 // get component from comment
1.5 Component comp = getComponentFromComment(preparedParams.getComment());
1.6 boolean isDCS = report.getReportType().equals("DCS");
1.7 + if (isDCS) {
1.8 + // we don't use stacktrace mappings for DCS, it is determined from data sent in a report
1.9 + return DEFAULT_DCS_COMPONENT;
1.10 + }
1.11 // use unknown component for STACK OVERFLOW ISSUE 112156
1.12 - if ((comp == null) && (thrown.getMessage().contains("StackOverflowError") && isDCS)) { // NOI18N
1.13 + if ((comp == null) && thrown.getMessage().contains("StackOverflowError")) { // NOI18N
1.14 comp = DEFAULT_JDEV_COMPONENT;
1.15 }else if (comp == null) {
1.16 // TODO
1.17 @@ -563,12 +567,7 @@
1.18 Matcher.getDefault().reload();
1.19 comp = Matcher.getDefault().match(em, thrown);
1.20 }
1.21 - if (comp == null && isDCS) {
1.22 - Component compDcs = DEFAULT_DCS_COMPONENT;
1.23 - }
1.24 -// if () {
1.25 -// Component compDcs = getComponentFromDcsInfo(report);
1.26 -// }
1.27 +
1.28 return comp;
1.29 }
1.30