Symptom
When consulting sessions or session details, the Statistics view is empty.
The Variable view is not empty, only the Statistics view is.
When going to "Window / Parameters" and the "Statistics" tab, the list is empty.
Solution
This is an Analytics Installation issue, concerning new installations made with versions 2.0.9 to 2.1.1.
Prior versions which were upgraded to 2.0.9 / 2.1.1 are not concerned. New installations made with 2.1.2 or later are not concerned.
How to fix it:
- Solution 1:
- get a "stambia.logs" file from another existing WebappHome directory
- copy all lines starting with "<logs:statistic" and paste them into the erroneous WebappHome's "stambia.logs" file
- Solution 2:
- Go to "Window / Parameters" and the "Statistics" tab
- Add the following items to the list:
- Name: WSDL_NB_ERROR, Label: WsdlError
- Name: SQL_STAT_MERGE, Label: Merge
- Name: OUT_NB_FILES, Label: OutFileCount
- Name: SQL_STAT_UPDATE, Label: Update
- Name: XML_NB_ELEMENTS, Label: Element
- Name: SQL_STAT_DELETE, Label: Delete
- Name: SQL_NB_ROWS, Label: Rows
- Name: XML_NB_ATTRIBUTES, Label: Attribute
- Name: SQL_STAT_ERROR, Label: Reject
- Name: WSDL_NB_DONE, Label: WsdlSuccess
- Name: SQL_STAT_INSERT, Label: Insert
- Name: OUT_FILE_SIZE, Label: OutFileSize
Symptom
When trying to access Production Analytics, the following error is displayed in the web browser:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error that prevented it from fulfilling this request.
exception
java.lang.NullPointerException
com.indy.ui.analytics.application.Redirect.redirect(Redirect.java:29)
com.indy.ui.analytics.application.Redirect.doGet(Redirect.java:18)
javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60)
javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:138)
javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Solution
The main URL for accessing Analytics may be different, depending on the Java distributions and on the Application server distributions.
Here is the different URLs you may want to try:
- Webapp name without a trailing slash, for example: http://yourserver:8080/analytics
- Webapp name with a trailing slash, for example: http://yourserver:8080/analytics/
- Append the "stambia" url part, for example: http://yourserver:8080/analytics/stambia