An Error Occurred:

/faces/register.jspx @34,71 items="${attributeBean.attributes}": Error reading 'attributes' on type ru.freebrothers.site.beans.AttributeBean

+ Stack Trace

javax.el.ELException: /faces/register.jspx @34,71 items="${attributeBean.attributes}": Error reading 'attributes' on type ru.freebrothers.site.beans.AttributeBean
	at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:76)
	at com.sun.facelets.tag.jstl.core.ForEachHandler.apply(ForEachHandler.java:120)
	at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
	at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:295)
	at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:165)
	at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
	at com.sun.facelets.tag.ui.DefineHandler.apply(DefineHandler.java:58)
	at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:128)
	at com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:306)
	at com.sun.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:279)
	at com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:68)
	at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:295)
	at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:165)
	at com.sun.facelets.tag.jstl.core.IfHandler.apply(IfHandler.java:54)
	at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
	at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:295)
	at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:165)
	at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
	at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:295)
	at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:165)
	at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:295)
	at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:165)
	at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
	at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
	at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
	at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
	at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
	at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
	at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
	at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:143)
	at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:113)
	at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
	at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
	at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)
	at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:510)
	at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:553)
	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:117)
	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:135)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:309)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:115)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
	at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:107)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
	at java.lang.Thread.run(Thread.java:745)
Caused by: javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: could not execute query
	at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1235)
	at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1168)
	at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:250)
	at org.hibernate.ejb.criteria.CriteriaQueryCompiler$3.getResultList(CriteriaQueryCompiler.java:260)
	at ru.freebrothers.site.dao.AbstractDao.getAll(AbstractDao.java:45)
	at ru.freebrothers.site.beans.AttributeBean.getAttributes(AttributeBean.java:15)
	at sun.reflect.GeneratedMethodAccessor813.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at javax.el.BeanELResolver.getValue(BeanELResolver.java:62)
	at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54)
	at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:71)
	at org.apache.el.parser.AstValue.getValue(AstValue.java:123)
	at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
	at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
	... 61 more
Caused by: org.hibernate.exception.JDBCConnectionException: could not execute query
	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:99)
	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
	at org.hibernate.loader.Loader.doList(Loader.java:2452)
	at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2192)
	at org.hibernate.loader.Loader.list(Loader.java:2187)
	at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:452)
	at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:363)
	at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)
	at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1258)
	at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
	at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:241)
	... 73 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was 2,649,338,537 milliseconds ago.  The last packet sent successfully to the server was 2,649,338,537 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.
	at sun.reflect.GeneratedConstructorAccessor144.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1118)
	at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3321)
	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1940)
	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2113)
	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2568)
	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2113)
	at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2275)
	at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
	at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)
	at org.hibernate.loader.Loader.getResultSet(Loader.java:1869)
	at org.hibernate.loader.Loader.doQuery(Loader.java:718)
	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:270)
	at org.hibernate.loader.Loader.doList(Loader.java:2449)
	... 81 more
Caused by: java.net.SocketException: Broken pipe (Write failed)
	at java.net.SocketOutputStream.socketWrite0(Native Method)
	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
	at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
	at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
	at java.io.BufferedOutputStream.write(BufferedOutputStream.java:126)
	at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3300)
	... 92 more

+ Component Tree

<UIViewRoot id="j_id1" inView="true" locale="en_US" renderKitId="HTML_BASIC" rendered="true" transient="false" viewId="/faces/register.jspx">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/jsf/facelets /WEB-INF/schemas/facelets-ui-2.0.xsd"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="keywords" content="байкеры саратов, freebrothers, free brothers, freebrothers саратов, free brothers саратов"/>
<meta name="description" content="${title}"/> <meta name="abstract" content="${title}"/>
<meta name="google-site-verification" content="1s91IUM7cPtmqSNvuKI5G6eQrMNiHw8ma5CaYQ5IqhA"/> <meta name="yandex-verification" content="71a672c68067d860"/> <meta name="application-name" content="Мотоклуб Free Brothers MC Russia"/> <meta name="msapplication-starturl" content="http://www.fb64.ru/"/> <meta name="msapplication-tooltip" content="Официальный сайт Мотоклуба Free Brothers MC Russia"/> <meta name="msapplication-task" content="name=Главная страница; action-uri=http://www.fb64.ru;icon-uri=http://www.fb64.ru/images/freebrothers.ico"/> <meta name="msapplication-task" content="name=Новости; action-uri=http://www.fb64.ru/page/novosti/;icon-uri=http://www.fb64.ru/images/freebrothers.ico"/> <meta name="msapplication-task" content="name=Фото; action-uri=http://www.fb64.ru/page/photo/;icon-uri=http://www.fb64.ru/images/freebrothers.ico"/> <meta name="msapplication-task" content="name=Форум; action-uri=http://www.fb64.ru/forum/;icon-uri=http://www.fb64.ru/images/freebrothers.ico"/> <meta name="msapplication-task" content="name=Гостевая книга; action-uri=http://www.fb64.ru/guestbook/;icon-uri=http://www.fb64.ru/images/freebrothers.ico"/> <link rel="shortcut icon" type="image/x-icon" href="/images/freebrothers.ico"/> <link rel="icon" type="image/ico" href="/images/freebrothers.ico"/> <title>${title}</title> <script type="text/javascript"> var contextPath = '${request.contextPath}'; </script> <script type="text/javascript" src="${fb:aCP('/js/common.min.js')}"/> <script type="text/javascript"> $(document).ready(function() { $.ajaxSetup({ url: "${request.contextPath}/logic/", global: true, type: "POST", contentType: "application/x-www-form-urlencoded; charset=utf-8" }); }); </script> <link rel="stylesheet" type="text/css" href="${fb:aCP('/css/common.min.css')}" media="screen"/> <link rel="alternate" type="application/rss+xml" href="${fb:aCP('/rss')}" title=""/>
<link rel="canonical" href="${canonical}"/>
<style type="text/css"> .cmenu { width: ${noMenu == null ? 25 : 100}%; text-align: left; vertical-align: top; padding-right: 8px; } .cpage { width: 75%; text-align: left; vertical-align: top; } </style> <script type="text/javascript"> function iLikeIt() { var myuri = encodeURIComponent(location.href); var cnt = $('#iLikeItWindow').html().replace(/###URI###/g, myuri); jQuery.fancybox(cnt, { 'overlayColor': "#000", 'opacity': 0.5, 'showCloseButton' : true, 'enableEscapeButton' : true }); } </script> </head> <body> <div class="road"> <a href="${fb:aCP('/')}"> <img src="${fb:aCP('/images/design/titleimage.jpg')}" width="960" height="130" alt="Free Brothers MC"/> </a>
<HtmlPanelGroup id="iLikeItWindow" inView="true" rendered="true" style="display: none;" transient="false">
<div style="width:400px; padding:8px; overflow:hidden;" class="popupWindow"> <h3>Поделись ссылкой с друзьями</h3> <p>Нажми на значки сайтов, на которых ты зарегистрирован. При этом откроется новое окно, в котором можно будет разместить у себя на стене, в избранном или еще где-нибудь (в зависимости от сайта) ссылку на эту страницу.</p>
<HtmlPanelGroup id="j_id10" inView="true" rendered="true" style="display:block; text-align:center; width:100%" transient="false">
<a href="http://vkontakte.ru/share.php?url=###URI###" target="_blank"> <img src="/images/social/vkontakte.gif" width="88" height="21" alt="ВКонтакте"/></a> <a href="http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=0&st._surl=###URI###" target="_blank"> <img src="/images/social/odnoklassniki.gif" width="130" height="21" alt="Одноклассники"/></a> <a href="http://connect.mail.ru/share?share_url=###URI###" target="_blank"> <img src="/images/social/moymir.gif" width="155" height="21" alt="Мой Мир@Mail.ru"/></a> <a href="http://www.livejournal.com/update.bml?event=###URI###&subject=${fb:encodeUrl(title)}${fb:encodeUrl(' : Мотоклуб Free Brothers MC Russia')}" target="_blank"> <img src="/images/social/livejournal.gif" width="79" height="21" alt="Живой Журнал"/></a> <a href="http://twitter.com/home?status=http://fb64.ru/t/${fb:tinyLink(pageContext.request.requestURI)}${fb:encodeUrl(fb:concat(' - ', fb:concat(title, ' : Мотоклуб Free Brothers MC Russia')))}" target="_blank"> <img src="/images/social/twitter.gif" width="83" height="21" alt="Twitter"/></a> <a href="http://www.facebook.com/sharer.php?u=###URI###" target="_blank"> <img src="/images/social/facebook.gif" width="78" height="21" alt="Facebook"/></a> <a href="http://www.google.com/buzz/post?url=###URI###&title=${fb:encodeUrl(title)}${fb:encodeUrl(' : Мотоклуб Free Brothers MC Russia')}&srcURL=http://www.fb64.ru/" target="_blank"> <img src="/images/social/buzz.gif" width="138" height="21" alt="Google Buzz"/></a>
<HtmlOutputText escape="false" id="j_id12" inView="true" rendered="true" transient="false" value="<g:plusone></g:plusone>"/>
</HtmlPanelGroup>
</div>
</HtmlPanelGroup>
<HtmlPanelGroup id="j_id14" inView="true" rendered="true" style="display:block; width: 900px; margin: 0 auto; text-align:right" transient="false">
<HtmlOutputText escape="true" id="j_id15" inView="true" rendered="true" transient="false" value="Приветствуем тебя, гость!"/>
<HtmlOutputText escape="true" id="j_id16" inView="true" rendered="true" transient="false" value=" "/>
<HtmlOutputLink disabled="false" id="j_id17" inView="true" rendered="true" transient="false" value="/register">
<HtmlOutputText escape="true" id="j_id18" inView="true" rendered="true" transient="false" value="Регистрация"/>
</HtmlOutputLink>
<HtmlOutputText escape="true" id="j_id19" inView="true" rendered="true" transient="false" value=" "/>
<HtmlOutputLink disabled="false" id="login" inView="true" rendered="true" title="Вход на сайт" transient="false" value="#loginform">
<HtmlOutputText escape="true" id="j_id20" inView="true" rendered="true" transient="false" value="Вход"/>
</HtmlOutputLink>
<HtmlPanelGroup id="j_id21" inView="true" rendered="true" style="display: none;" transient="false">
<HtmlPanelGroup id="loginform" inView="true" rendered="true" styleClass="popupWindow" transient="false">
<HtmlPanelGrid border="-2147483648" columnClasses="cellLeft,cellRight" columns="2" id="j_id22" inView="true" rendered="true" transient="false">
<HtmlOutputText escape="true" id="j_id23" inView="true" rendered="true" transient="false" value="E-mail"/>
<input type="text" name="email" id="email"/>
<HtmlOutputText escape="true" id="j_id25" inView="true" rendered="true" transient="false" value="Пароль"/>
<input type="password" name="password" id="password"/>
<HtmlOutputText escape="true" id="j_id27" inView="true" rendered="true" transient="false" value=""/>
<HtmlPanelGroup id="j_id28" inView="true" rendered="true" transient="false">
<input type="checkbox" name="donotremember" id="donotremember"/>
<HtmlOutputText escape="true" id="donotrememberlabel" inView="true" rendered="true" style="cursor:pointer" transient="false" value="Чужой компьютер"/>
</HtmlPanelGroup>
<HtmlOutputLink disabled="false" id="j_id30" inView="true" rendered="true" transient="false" value="/passwordrestore/">
<HtmlOutputText escape="true" id="j_id31" inView="true" rendered="true" style="white-space: nowrap;" transient="false" value="Я не помню пароль"/>
</HtmlOutputLink>
<HtmlPanelGroup id="j_id32" inView="true" rendered="true" style="display:block; vertical-align:middle; " transient="false">
<HtmlGraphicImage alt=" " height="16" id="j_id33" inView="true" ismap="false" rendered="true" transient="false" url="/images/blank.gif" value="/images/blank.gif" width="1"/>
<HtmlGraphicImage alt="loading..." height="16" id="loginLoader" inView="true" ismap="false" rendered="true" style="display: none;" transient="false" url="/images/ajax-loader-point.gif" value="/images/ajax-loader-point.gif" width="16"/>
<input type="button" value="Войти" id="loginButton"/>
</HtmlPanelGroup>
</HtmlPanelGrid>
</HtmlPanelGroup>
</HtmlPanelGroup>
<script type="text/javascript"> kpf = function(e) { if ((e.which && e.which == 13) || (e.keyCode && e.keyCode == 13)) { $('#loginButton').click(); return false; } else { return true; } }; $(document).ready(function() { $("#email").keydown(kpf); $("#password").keydown(kpf); $("#donotremember").keydown(kpf); $("#donotrememberlabel").click(function() { alert(1); if ($("#donotremember").is(':checked')) { $("#donotremember").attr("checked", false); } else { $("#donotremember").attr("checked", true); } }); $("a#login").fancybox({ overlayColor: "#000", titleShow: false, opacity: 0.5, onComplete: function() { $("#loginLoader").hide(); $("#password").val(""); if ($("#email").val() == "") { $("#email").focus(); } else { $("#password").focus(); } } }); }); $("#loginButton").click(function() { $("#loginButton").removeAttr("disabled") $("#loginLoader").fadeIn() $("#loginButton").attr("disabled", "true"); $.ajax({ type: "POST", url: "${fb:aCP('/logic/login')}", data: { email: $("#email").val(), password: $("#password").val(), donotremember: $("#donotremember").is(':checked') ? '1' : '0' }, success: function(data) { $("#loginLoader").hide(); $("#loginButton").removeAttr("disabled") processGenericResponse(data); }, error: function(xhr, textStatus, errorThrown) { $("#loginLoader").hide(); $("#loginButton").removeAttr("disabled") fancyAlert(textStatus + " " + errorThrown); }}); }); </script>
<HtmlOutputText escape="true" id="j_id36" inView="true" rendered="true" transient="false" value=" "/>
<HtmlOutputLink disabled="false" id="j_id37" inView="true" rendered="true" transient="false" value="javascript:iLikeIt()">
<HtmlOutputText escape="true" id="j_id38" inView="true" rendered="true" transient="false" value="Мне нравится!"/>
</HtmlOutputLink>
<HtmlOutputText escape="true" id="j_id39" inView="true" rendered="true" transient="false" value=" "/>
<HtmlOutputLink disabled="false" id="j_id40" inView="true" rendered="true" transient="false" value="/rss">
<HtmlGraphicImage alt="Лента RSS" height="16" id="j_id41" inView="true" ismap="false" rendered="true" style="vertical-align:top" transient="false" url="/images/design/rss.gif" value="/images/design/rss.gif" width="16"/>
</HtmlOutputLink>
</HtmlPanelGroup>
</UIViewRoot>

+ Scoped Variables

Request Parameters
NameValue
None
Request Attributes
NameValue
attributeBeanru.freebrothers.site.beans.AttributeBean@9c4319a
prettyContextcom.ocpsoft.pretty.PrettyContext@6b00b038
sessionBeanru.freebrothers.site.beans.SessionBean@3857c251
Application Attributes
NameValue
csfcffcom.sun.faces.context.flash.ELFlash@7b3c4897
globalsru.freebrothers.site.beans.GlobalsBean@353112b
proxyru.freebrothers.site.beans.PrettyFacesProxyBean@72f915be
Aug 17, 2018 2:09:23 PM - Generated by Facelets