testdriven / psi-probe

Advanced manager and monitor for Apache Tomcat, forked from Lambda Probe
8 stars 1 forks source link

Memory page error when using JRockit or IBM JDK #127

Closed padcom closed 10 years ago

padcom commented 10 years ago

From jenar...@gmail.com on June 15, 2010 10:59:25

What steps will reproduce the problem? 1. Run tomcat+probe on the JRockit Real Time JVM

  1. Go to the Memory Utilisation screen
  2. Error is shown What is the expected result? The page shows information about the memory utilisation in the JVM. What happens instead? An error is shown, see stacktrace below. What version of Probe are you using? On what server, browser, and OS? Probe 2.0.4 on tomcat 5.5.28, Firefox 3.5, Ubuntu 10.04 - 64 bits Please provide any additional information below. The stack trace is: nulljava.lang.ArrayIndexOutOfBoundsException at java.lang.String.getChars(String.java:726) at org.apache.jasper.runtime.BodyContentImpl.write(BodyContentImpl.java:143) at org.apache.jasper.runtime.BodyContentImpl.write(BodyContentImpl.java:156) at org.apache.jasper.runtime.BodyContentImpl.print(BodyContentImpl.java:316) at com.googlecode.psiprobe.tags.VisualScoreTag.doAfterBody(VisualScoreTag.java:63) at jsp.WEB_002dINF.jsp.ajax.memory_005fpools_jsp._jspx_meth_probe_score_0(jsp.WEB_002dINF.jsp.ajax.memory_005fpools_jsp:443) at jsp.WEB_002dINF.jsp.ajax.memory_005fpools_jsp._jspx_meth_display_column_2(jsp.WEB_002dINF.jsp.ajax.memory_005fpools_jsp:396) at jsp.WEB_002dINF.jsp.ajax.memory_005fpools_jsp._jspService(jsp.WEB_002dINF.jsp.ajax.memory_005fpools_jsp:126) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99) at javax.servlet.http.HttpServlet.service(HttpServlet.java:730) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:39) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:112) at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250) at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1106) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:841) at com.googlecode.psiprobe.ProbeServlet.doDispatch(ProbeServlet.java:49) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:755) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:361) at javax.servlet.http.HttpServlet.service(HttpServlet.java:647) at javax.servlet.http.HttpServlet.service(HttpServlet.java:730) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:39) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:527) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) at com.googlecode.psiprobe.Tomcat55AgentValve.invoke(Tomcat55AgentValve.java:30) at org.jstripe.tomcat.probe.Tomcat55AgentValve.invoke(Tomcat55AgentValve.java:20) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:110) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:595)

Original issue: http://code.google.com/p/psi-probe/issues/detail?id=127

padcom commented 10 years ago

From MALfunct...@gmail.com on May 18, 2011 14:39:00

This issue was updated by revision r536 .

Moving safe code outside of the try block.

padcom commented 10 years ago

From MALfunct...@gmail.com on May 27, 2011 23:15:24

This issue was updated by revision r545 .

Merging trunk:529,532-533,536 into branches/2.2.

padcom commented 10 years ago

From MALfunct...@gmail.com on May 27, 2011 23:41:32

2.2.2 released.

Status: FixReleased