AnsweredAssumed Answered

WebView - Clean install Triage Map error message

Question asked by RodrigoTDIPERU on Aug 6, 2015
Latest reply on Aug 7, 2015 by RodrigoTDIPERU

Hi everyone,

 

Here we have an stand-alone APM 9.0.5, with 3 agents 9.0.5 from 3 diferent WAS servers are connected to it. Today we upgraded to APM 9.7.1, according to the compatibility document the postgresql database was uninstall and then the new version was installed, then we upgraded APM directly. Everything works fine until we opened WebView. At this point nothing was restored in the database nor the Smartstore, not even modules, its a clean install of APM 9.7.1 with 3 agents 9.0.5 sending metrics.

 

The error occours only in the "Triage Map" tab, each time any element from the triage map tree is clicked an animation with the text "Loading" is shown in the upper bar with the time controllers, when the animation of loading finishes, a big pop up error message appears in front of the interface. Like this:

 

webview triagemap navigation error.png


The logs of the WVService.log show this messages in INFO and DEBUG mode, there is no difference:


INFO  | jvm 1    | 2015/08/06 12:24:27 | 8/06/15 12:24:25.224 PM COT [DEBUG] [WebView] Thread awaited for 15001 ms. Did latch count down? false

INFO  | jvm 1    | 2015/08/06 12:24:27 | 8/06/15 12:24:23.867 PM COT [DEBUG] [org.mortbay.log] call filter localeFilter

INFO  | jvm 1    | 2015/08/06 12:24:27 | 8/06/15 12:24:23.867 PM COT [DEBUG] [org.mortbay.log] call filter localeFilter

INFO  | jvm 1    | 2015/08/06 12:24:27 | 8/06/15 12:24:25.420 PM COT [DEBUG] [org.mortbay.log] servlet=default

INFO  | jvm 1    | 2015/08/06 12:24:27 | 8/06/15 12:24:25.421 PM COT [DEBUG] [WebView] Elapsed time : 13011(ms) for : com.ca.apm.introscope.workstation.webapp.server.models.AppMapTreeModel::2020

INFO  | jvm 1    | 2015/08/06 12:24:27 | 8/06/15 12:24:24.914 PM COT [DEBUG] [org.mortbay.log] FORM Authenticated for Admin

INFO  | jvm 1    | 2015/08/06 12:24:28 | 8/06/15 12:24:25.421 PM COT [ERROR] [WebView] Identifier: 1001.1438881865 - receiveMessage() failed for : com.ca.apm.introscope.workstation.webapp.server.models.AppMapTreeModel::2027

INFO  | jvm 1    | 2015/08/06 12:24:28 | java.lang.StringIndexOutOfBoundsException: String index out of range: -1

INFO  | jvm 1    | 2015/08/06 12:24:28 | at java.lang.String.substring(String.java:1904)

INFO  | jvm 1    | 2015/08/06 12:24:28 | at com.ca.apm.introscope.workstation.webapp.server.utilities.investigator.AppMapTreeManager.expandTreeToNode(AppMapTreeManager.java:812)

INFO  | jvm 1    | 2015/08/06 12:24:28 | at com.ca.apm.introscope.workstation.webapp.server.utilities.appmap.ModelInstanceAppMapTree.expandTreeToNode(ModelInstanceAppMapTree.java:127)

INFO  | jvm 1    | 2015/08/06 12:24:28 | at com.ca.apm.introscope.workstation.webapp.server.models.AppMapTreeModel.expandTreeToNode(AppMapTreeModel.java:91)

INFO  | jvm 1    | 2015/08/06 12:24:28 | at com.ca.apm.introscope.workstation.webapp.server.models.MetricTreeModel.receiveMessage(MetricTreeModel.java:97)

INFO  | jvm 1    | 2015/08/06 12:24:28 | at com.ca.apm.introscope.workstation.webapp.server.models.ModelManager$ModelRequestThread$1.run(ModelManager.java:483)

INFO  | jvm 1    | 2015/08/06 12:24:28 | at java.lang.Thread.run(Thread.java:722)

 

 

I noticed a behaviour of the AppMapTreeModel class too, each time it runs ok the duration is no more than milliseconds and when it fails it lasts several seconds:

 

[DEBUG] [WebView] Elapsed time : 101(ms) for : com.ca.apm.introscope.workstation.webapp.server.models.AppMapTreeModel::2025

[DEBUG] [WebView] Elapsed time : 1(ms) for : com.ca.apm.introscope.workstation.webapp.server.models.AppMapTreeModel::2020

[DEBUG] [WebView] Elapsed time : 1(ms) for : com.ca.apm.introscope.workstation.webapp.server.models.AppMapTreeModel::2020

[DEBUG] [WebView] Elapsed time : 1(ms) for : com.ca.apm.introscope.workstation.webapp.server.models.AppMapTreeModel::2020

[DEBUG] [WebView] Elapsed time : 1(ms) for : com.ca.apm.introscope.workstation.webapp.server.models.AppMapTreeModel::2026

[DEBUG] [WebView] Elapsed time : 0(ms) for : com.ca.apm.introscope.workstation.webapp.server.models.AppMapTreeModel::2020

[DEBUG] [WebView] Elapsed time : 43(ms) for : com.ca.apm.introscope.workstation.webapp.server.models.AppMapTreeModel::2026

[DEBUG] [WebView] Elapsed time : 1279(ms) for : com.ca.apm.introscope.workstation.webapp.server.models.AppMapTreeModel::2026

[DEBUG] [WebView] Elapsed time : 1(ms) for : com.ca.apm.introscope.workstation.webapp.server.models.AppMapTreeModel::2020

[DEBUG] [WebView] Elapsed time : 13011(ms) for : com.ca.apm.introscope.workstation.webapp.server.models.AppMapTreeModel::2020

[ERROR] [WebView] Identifier: 1001.1438881865 - receiveMessage() failed for : com.ca.apm.introscope.workstation.webapp.server.models.AppMapTreeModel::2027

at com.ca.apm.introscope.workstation.webapp.server.models.AppMapTreeModel.expandTreeToNode(AppMapTreeModel.java:91)

 

I Hope someone could help me with this.

 

Thanks in advance.

Outcomes