DX Application Performance Management

Expand all | Collapse all

WebView - Clean install Triage Map error message

Jump to Best Answer
  • 1.  WebView - Clean install Triage Map error message

    Posted 08-06-2015 06:13 PM

    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.



  • 2.  Re: WebView - Clean install Triage Map error message
    Best Answer

    Broadcom Employee
    Posted 08-06-2015 06:49 PM

    Hi Rodrigo,

     

    we have seen similar errors with IE11. Are you using IE11?

    IE11 is not supported until APM 9.8. We have some genuine issues supporting IE11. I'm advising to run IE in compatibility mode or use alternative browser where possible.

     

    Internet Explorer can be changed into a compatibility mode setting so that it can work with different web sites.

    There is a little detail about how it works for Internet Explorer 11 below:

     

    http://msdn.microsoft.com/en-us/library/dn321449.aspx

     

    The compatibility settings can normally be changed on a per-user basis. To do that, a user can press the F12 key to start the developer tools menu.

    They would need to choose the Emulation option, which has an icon of a monitor and a smartphone.

    In the mode section, they should alter both Document Mode and User Agent String.

    We would recommend that the customer emulates Internet Explorer 9 or 10.


    The only workarounds beyond this are to use Chrome or Firefox, which as you have indicated might not be suitable for this customer environment.


    Ciao,

    Guenter



  • 3.  Re: WebView - Clean install Triage Map error message

    Posted 08-07-2015 05:48 PM

    Thanks Guenter!

     

    I was using IE11, I tested it in IE8 and the message dissapeared.

     

    Best Regards.