myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Titi Wangsa" <blacksnow...@gmail.com>
Subject getSerializedViewFromServletSession problem
Date Mon, 16 Oct 2006 08:17:29 GMT
hello
i'm using myfaces 1.1.4
and tomahawk 1.1.5 snapshot dated #Tue Sep 26 04:51:12 GMT+00:00 2006
(according to the pom.properties in the jar file)

my problem sometimes happens, sometimes its ok
partial stack trace is like this
java.lang.NumberFormatException: For input string:
"formPublicJobsearchResult:listDataTable:3:viewVacancy"
        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
        at java.lang.Integer.parseInt(Integer.java:447)
        at java.lang.Integer.<init>(Integer.java:620)
        at org.apache.myfaces.application.jsp.JspStateManagerImpl.getSerializedViewFromServletSession(JspStateManagerImpl.java:524)

where the
formPublicJobsearchResult:listDataTable:3:viewVacancy
is
the
h:form id
t:dataTable id
i think the 4th record in the datatable
h:commandLink id

i think the relevant web.xml portion is:
	<context-param>
		<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
		<param-value>server</param-value>
	</context-param>
	<context-param>
		<param-name>
			org.apache.myfaces.COMPRESS_STATE_IN_SESSION
		</param-name>
		<param-value>false</param-value>
	</context-param>
	<context-param>
		<param-name>
			org.apache.myfaces.SERIALIZE_STATE_IN_SESSION
		</param-name>
		<param-value>false</param-value>
	</context-param>
	<context-param>
		<param-name>
			org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION
		</param-name>
		<param-value>50</param-value>
	</context-param>

anyone can help me?

Mime
View raw message