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: java.lang.OutOfMemoryError: Java heap space
	org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:298)
	org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:194)
	org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
	org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
	org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
	org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	com.aykj.command.filter.CheckMemberIsLoginFilter.doFilter(CheckMemberIsLoginFilter.java:60)
	com.aykj.command.filter.PageModuleFilter.doFilter(PageModuleFilter.java:37)
	com.aykj.command.filter.CloseSessionFilter.doFilter(CloseSessionFilter.java:26)
	org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
	com.aykj.command.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:45)

root cause

java.lang.OutOfMemoryError: Java heap space
	java.util.Arrays.copyOf(Arrays.java:2882)
	java.lang.StringCoding.safeTrim(StringCoding.java:75)
	java.lang.StringCoding.access$100(StringCoding.java:34)
	java.lang.StringCoding$StringDecoder.decode(StringCoding.java:151)
	java.lang.StringCoding.decode(StringCoding.java:173)
	java.lang.String.<init>(String.java:443)
	java.lang.String.<init>(String.java:515)
	com.mysql.jdbc.ResultSet.getStringInternal(ResultSet.java:5709)
	com.mysql.jdbc.ResultSet.getString(ResultSet.java:5597)
	com.mysql.jdbc.ResultSet.getString(ResultSet.java:5613)
	org.hibernate.type.StringType.get(StringType.java:16)
	org.hibernate.type.NullableType.nullSafeGet(NullableType.java:77)
	org.hibernate.type.NullableType.nullSafeGet(NullableType.java:68)
	org.hibernate.type.AbstractType.hydrate(AbstractType.java:80)
	org.hibernate.persister.entity.BasicEntityPersister.hydrate(BasicEntityPersister.java:1690)
	org.hibernate.loader.Loader.loadFromResultSet(Loader.java:991)
	org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:942)
	org.hibernate.loader.Loader.getRow(Loader.java:855)
	org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:305)
	org.hibernate.loader.Loader.doQuery(Loader.java:412)
	org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:218)
	org.hibernate.loader.Loader.doList(Loader.java:1593)
	org.hibernate.loader.Loader.list(Loader.java:1577)
	org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:395)
	org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:271)
	org.hibernate.impl.SessionImpl.list(SessionImpl.java:844)
	org.hibernate.impl.QueryImpl.list(QueryImpl.java:74)
	com.aykj.command.dao.imp.ArticleDAOImp.getAllArticleByNewsClassIdsPageModule(ArticleDAOImp.java:32)
	com.aykj.command.action.ArticleViewAction.getResultArticle(ArticleViewAction.java:424)
	com.aykj.command.action.ArticleViewAction.news(ArticleViewAction.java:184)
	sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.20 logs.


Apache Tomcat/6.0.20