Web interface does not load when running Fisheye 3.x
Problem
This can be seen in the browser after upgrading from 2.10.x to 3.0 or starting up older versions of Fisheye 3.x (e.g. 3.4.3):
An error occurred trying to render this page
javax.servlet.jsp.JspException: javax.servlet.jsp.JspException: javax.el.ELException: Problems calling function 'cru:renderHeader'
org.apache.jsp._500_jsp$_500_jspHelper.invoke(_500_jsp.java:846)
org.apache.jsp.tag.web.cru.singlePanelPageContent_tag.doTag(singlePanelPageContent_tag.java:176)
org.apache.jsp._500_jsp._jspx_meth_rend_singlePanelPageContent_0(_500_jsp.java:279)
org.apache.jsp._500_jsp._jspx_meth_c_catch_0(_500_jsp.java:241)
org.apache.jsp._500_jsp._jspx_meth_c_otherwise_0(_500_jsp.java:207)
org.apache.jsp._500_jsp._jspx_meth_c_choose_0(_500_jsp.java:150)
org.apache.jsp._500_jsp._jspService(_500_jsp.java:120)
Cause
Cause #1 - unsupported Java version
This can be confirmed when the following is found in the logs:
WARN [main ] fisheye Run-sysinfo - Unsupported java version detected: 1.8.0_60
WARN [main ] fisheye Run-sysinfo - Currently supported versions: 1.6 and 1.7
WARN [main ] fisheye Run-sysinfo - Running with your current version may be unstable.
This is telling us that this version of Fisheye only supports Java 1.6 and 1.7 while the current JAVA_HOME is set to 1.8.0_60.
Cause #2 - osgi-cache
This happens when Fisheye, for some reason, uses the cached bundled plugin versions from the old instance that exist inside FISHEYE_INST/var/osgi-cache
directory, instead of the plugin versions bundled with Fisheye 3.0.
Resolution
Resolution for Cause #1 - unsupported Java version
- Stop Fisheye/Crucible
- set the JAVA_HOME to a supported version (see Environment variables for reference)
- Start Fisheye/Crucible
Resolution for Cause #2 - osgi-cache
- Stop Fisheye/Crucible
- Delete
FISHEYE_INST/var/osgi-cache
- Start Fisheye/Crucible