Facelets não passam os parametros

boa tarde pessoal
tenho 2 templates: cadastro e consulta.
o template cadastro está assim: http://gist.github.com/465325
e o template consulta assim: http://gist.github.com/465328
logo, fiz uma página de cadastro de alunos, e dentro dela eu insiro a página de consulta (na verdade um dataTable, pode ser visto aqui: http://gist.github.com/465330)
mais especificamente:

[code]

<h:outputText value="#{msg.cidade}" />
<h:inputText value="#{managedAluno.aluno.cidade}" />

		</h:panelGrid>

	<ui:include src="/consulta/consultaAluno.xhtml" />[/code]

ele lista todos os alunos no datatable, e cadastra tambem. mas quando eu mando ‘selecionar’ um aluno do datatable para edição, acontece o seguinte erro:

06/07/2010 09:22:36 org.apache.tomcat.util.http.Parameters processParameters WARNING: Parameters: Invalid chunk '' ignored.
e nada mais funciona.
depois, se eu clico em algum botão, outra exceção dispara:

java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to java.util.Map
	at com.sun.faces.application.view.StateManagementStrategyImpl.restoreView(StateManagementStrategyImpl.java:212)
	at com.sun.faces.application.StateManagerImpl.restoreView(StateManagerImpl.java:177)
	at com.sun.faces.application.view.ViewHandlingStrategy.restoreView(ViewHandlingStrategy.java:131)
	at com.sun.faces.application.view.FaceletViewHandlingStrategy.restoreView(FaceletViewHandlingStrategy.java:430)
	at com.sun.faces.application.view.MultiViewHandler.restoreView(MultiViewHandler.java:143)
	at com.ocpsoft.pretty.faces.application.PrettyViewHandler.restoreView(PrettyViewHandler.java:106)
	at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:199)
	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
	at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:110)
	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:343)
	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
	at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:100)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
	at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
	at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
	at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:35)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
	at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:177)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
	at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:188)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
	at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
	at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:149)
	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:116)
	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:108)
	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:852)
	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:619)

o que pode ser?
abraços

EDIT: estou usando tomcat 6 com jsf 2.0.2 e primefaces 2.1RC no windows xp

BUMP FOR GREAT JUSTICE!
hue, vamo la pessoal :frowning:

Tem algum lugar que vc usa um Map?
Pelo erro descrito em algum lugar está esperando uma List e vc está passando um Map

não, em nenhum lugar eu uso map :shock:

ops, é Object tentando fazer Cast pra Map… não tem nada parecido com isso em lugar algum?

tambem não
quando eu tiro a datatable do facelet e coloco na pagina de cadastro de usuários direto, não acontece isso

não tô achando o teu template facelets ali naqueles códigos, qual deles é?

template cadastro: http://gist.github.com/465325

template consulta: http://gist.github.com/465328

e onde tá esse datatable?

no consultaAluno.xhtml

[code]
<ui:composition xmlns=“http://www.w3.org/1999/xhtml
xmlns:h=“http://java.sun.com/jsf/html
xmlns:f=“http://java.sun.com/jsf/core
xmlns:ui=“http://java.sun.com/jsf/facelets
xmlns:p=“http://primefaces.prime.com.tr/ui
template="/templates/templateConsulta.xhtml">

<ui:param name="managed" value="#{managedAluno}" />
<ui:param name="formCadastro" value="formCadastroAluno" />

<ui:define name="tabelaConsulta">
	<p:dataTable value="#{managedAluno.todosAlunos}" var="aluno" rows="10"
		paginator="true" lazy="true" selectionMode="single"
		selection="#{managedAluno.alunoConsulta}">

		<p:column filterBy="#{aluno.nome}">
			<f:facet name="header">
				<h:outputText value="Nome" />
			</f:facet>
			<h:outputText value="#{aluno.nome}" />
		</p:column>

		<p:column>
			<f:facet name="header">
				<h:outputText value="#{msg.datanascimento}" />
			</f:facet>
			<h:outputText value="#{aluno.dataNascimento}">
				<f:convertDateTime pattern="dd/MM/yyyy" />
			</h:outputText>
		</p:column>

		<p:column>
			<f:facet name="header">
				<h:outputText value="#{msg.rg}" />
			</f:facet>
			<h:outputText value="#{aluno.rg}" />
		</p:column>

		<p:column filterBy="#{aluno.cpf}">
			<f:facet name="header">
				<h:outputText value="#{msg.cpf}" />
			</f:facet>
			<h:outputText value="#{aluno.cpf}" />
		</p:column>
		<p:column>
			<f:facet name="header">
				<h:outputText value="#{msg.endereco}" />
			</f:facet>
			<h:outputText value="#{aluno.endereco}" />
		</p:column>

		<p:column>
			<f:facet name="header">
				<h:outputText value="#{msg.cidade}" />
			</f:facet>
			<h:outputText value="#{aluno.cidade}" />
		</p:column>

	</p:dataTable>
</ui:define>

</ui:composition>[/code]

consertei :smiley:
no template de consulta, no botão, eu coloquei ‘ajax=“false”’
fim de papo :smiley: