Hi,
The following error message pops up when i try to view the Debugger,
"This page contains the following errors:
error on line 27 at column 175: Opening and ending tag mismatch: HR line 0 and body
Below is a rendering of the page up to the first error.
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet execution threw an exception
com.hyfinity.studio.URLVersioningFilter.doFilter(URLVersioningFilter.java:104)
root cause
java.lang.OutOfMemoryError: Java heap space
java.util.Arrays.copyOf(Unknown Source)
java.lang.AbstractStringBuilder.expandCapacity(Unknown Source)
java.lang.AbstractStringBuilder.append(Unknown Source)
java.lang.StringBuffer.append(Unknown Source)
com.hyfinity.xlog.IdLogSplitter.addLogToRequest(IdLogSplitter.java:760)
com.hyfinity.xlog.IdLogSplitter.processLogEnding(IdLogSplitter.java:658)
com.hyfinity.xlog.IdLogSplitter.endElement(IdLogSplitter.java:388)
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
com.hyfinity.xlog.IdLogSplitter.split(IdLogSplitter.java:172)
com.hyfinity.xlog.ViewLog.createLogs(ViewLog.java:174)
com.hyfinity.xlog.ViewLog.createLogs(ViewLog.java:140)
com.hyfinity.xlog.ViewLogServlet.doPost(ViewLogServlet.java:79)
com.hyfinity.xlog.ViewLogServlet.doGet(ViewLogServlet.java:34)
javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
com.hyfinity.studio.URLVersioningFilter.doFilter(URLVersioningFilter.java:104)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.27 logs.
Apache Tomcat/5.5.27"
Can you please suggest a solution for this problem.
The following error message pops up when i try to view the Debugger,
"This page contains the following errors:
error on line 27 at column 175: Opening and ending tag mismatch: HR line 0 and body
Below is a rendering of the page up to the first error.
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet execution threw an exception
com.hyfinity.studio.URLVersioningFilter.doFilter(URLVersioningFilter.java:104)
root cause
java.lang.OutOfMemoryError: Java heap space
java.util.Arrays.copyOf(Unknown Source)
java.lang.AbstractStringBuilder.expandCapacity(Unknown Source)
java.lang.AbstractStringBuilder.append(Unknown Source)
java.lang.StringBuffer.append(Unknown Source)
com.hyfinity.xlog.IdLogSplitter.addLogToRequest(IdLogSplitter.java:760)
com.hyfinity.xlog.IdLogSplitter.processLogEnding(IdLogSplitter.java:658)
com.hyfinity.xlog.IdLogSplitter.endElement(IdLogSplitter.java:388)
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
com.hyfinity.xlog.IdLogSplitter.split(IdLogSplitter.java:172)
com.hyfinity.xlog.ViewLog.createLogs(ViewLog.java:174)
com.hyfinity.xlog.ViewLog.createLogs(ViewLog.java:140)
com.hyfinity.xlog.ViewLogServlet.doPost(ViewLogServlet.java:79)
com.hyfinity.xlog.ViewLogServlet.doGet(ViewLogServlet.java:34)
javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
com.hyfinity.studio.URLVersioningFilter.doFilter(URLVersioningFilter.java:104)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.27 logs.
Apache Tomcat/5.5.27"
Can you please suggest a solution for this problem.
RE: Error while using Debugger
I+?+?+?m sorry you are having trouble trying to view the logs in the debugger.
From the stack trace you have provided, the root cause seems to be an 'Out of Memory' error on the server. Is this quite a big log file you are trying to view?
One option to get round this would be to increase the amount of memory available to the server. See http://www.hyfinity.com/node/127 for info on this.
Alternatively you could try using the Clear Debugger option to clear out the current logs before you make the request you are interested in, and so hopefully reduce the size of the log file being rendered.
Another option to reduce the size of the log file being generated is to adjust the logging settings. This can be done from the Debugger Log Settings section of the Test Settings dialog. For example you may want to turn off logging of action or rule messages, or perhaps turn off all the developer logging except for the specific agents you are interested in.
I hope this helps. Please let me know how you get on.
Regards,
Gerard
RE: Error while using Debugger
Thanks for the reply, as you have rightly pointed one of the select statement was returning too many rows which is causing the log file to blowup in size.
I changed the select statement with a more restrictive where clause which returns fewer rows. This solved my issue.
Thanks,
Rakesh