Note that there are some explanatory texts on larger screens.

plurals
  1. PO<f:loadBundle basename Non-serializable attribute
    primarykey
    data
    text
    <p>I'm implementing the Serializable on all my session classes so I could make some farm clustering with a load balancer.</p> <p>I already have the clustering under control and it's working fine. However, I'm getting an error which it seems I'm not able to solve.</p> <p>Whenever I enter on the index.jsp I receive this error:</p> <pre><code>Mensaje: javax.servlet.ServletException: java.lang.Exception: javax.faces.FacesException: Problem in renderResponse: /WEB-INF/inc-content/content.jspx @5,73 &lt;f:loadBundle basename="#{idioma.messageBundleSinProp}"&gt; /WEB-INF/inc-content/content.jspx @5,73 basename="#{idioma.messageBundleSinProp}" setAttribute: Atributo no serializable Tipo Error: class javax.servlet.ServletException Excepcion: javax.servlet.ServletException: java.lang.Exception: javax.faces.FacesException: Problem in renderResponse: /WEB-INF/inc-content/content.jspx @5,73 &lt;f:loadBundle basename="#{idioma.messageBundleSinProp}"&gt; /WEB-INF/inc-content/content.jspx @5,73 basename="#{idioma.messageBundleSinProp}" setAttribute: Atributo no serializable Codigo de Estado: 500 Nombre Servlet: jsp </code></pre> <p>Despite the Spanish, it basically says that the attribute isn't serializable. It seems I'm missing something because the <code>idioma.messageBundleSinProp</code> is a getter, not a setter:</p> <pre><code>public String getMessageBundle() { if(idiomaSeleccionado!=null) return(webUtil.getPropertiesValue(idiomaSeleccionado, "LanguageChances.properties")); else return(webUtil.getPropertiesValue(idiomaSeleccionadoDefecto, "LanguageChances.properties")); } public String getMessageBundleSinProp() { //String propertieSeleccionado=getMessageBundle(); return(getMessageBundle().substring(0,getMessageBundle().indexOf("."))); } </code></pre> <p>What could be wrong?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload