voyent
Messages posted by: monkeyden  XML
Profile for monkeyden -> Messages posted by monkeyden [52] Go to Page: 1, 2, 3, 4 Next 
Author Message
DR#4
IE7
Incidentally, I'm using Seam 1.2.1, but I'm pretty sure this is a client side issue.

I haven't been able to reproduce this in any other browser, but there appears to be a an error in IE7 on line #2334 or #2335 of icefaces-d2d.js. Mildly helpful screen shot attached. It appears to happen pretty regularly, when clicking on a links, but I did notice that it doesn't happen for anchor links (within the same page).

I am also getting "window.logger is null or not an object". I'm pretty sure I've seen this on the forum and will go look for it but figured I'd mention it here while I'm on the JS topic.

Thanks for the insight
Is there any plan to fix this in the next release? I see that it's not been assigned yet. Deploying the application in anything other than the root context is not an option for us.

http://jira.icefaces.org/browse/ICE-1579
I was mistaken. AT/near the client side is changing this value. I suspect it has something to do with ICEFaces as I have stripped everything else out of it.
Aha! The value must not be in scope when the queued function is called. Passing the value directly from the Java side seems to work correctly.

JavascriptContext.addJavascriptCall(FacesContext.getCurrentInstance(),
"initOptions('" + this.selectedStreets + "');");
That value shows as correct:

Code:
editStreetWatchForm:hiddenLocations=L.27304-Jay Drive|L.27337-Union Street|
 

I am also adding a javascript call on the server, to work with this value:

Code:
JavascriptContext.addJavascriptCall(FacesContext.getCurrentInstance(), "initOptions();");


Which currently just alerts the value:
Code:
 function initOptions(){
 	alert('hiddenLocations: ' + document.getElementById("editStreetWatchForm:hiddenLocations").value);
 
 }


But alas it's null in the alert.
FWIW, I have also proven, using a phase listener, that the value is correct until after RenderResponse. I have no JavaScript on the client which is modifying this value.
Even so, the values exist on the client when I change the dropdown. The setSelectedStreets mutator gets the correct value and the getSelectedStreets accessor returns the correct value. However, when I alert the value it after having changed the select box its empty.
In the following code, for some reason, after having selected the state dropdown, the setSelectedStreets method is called and the value of hiddenLocations is changing. Should this be happening with partialSubmit="true"? Thanks for the help. I happen to be using this with Seam (not sure if it's relevant).

Code:
<ice:form id="editStreetWatchForm">
             <ice:selectOneListbox id="state" value="#{streetWatchAction.selectedState}" 
                 valueChangeListener="#{streetWatchAction.updateTowns}"
                 size="1" styleClass="formElement" required="false" partialSubmit="true">
                 <f:selectItem itemValue="" itemLabel="" />
                 <f:selectItems value="#{statesServed}" />
             </ice:selectOneListbox>
                     
             <ice:inputHidden value="#{streetWatchAction.selectedStreets}" id="hiddenLocations"/>                        
         </ice:form>
For the record, I personally don't need an update every 2 days.
DR4
Interesting...it's a logical logout, rather than the default physical logout of Seam. The only problem is, I get this exception, with an identical logout method:

Code:
16:59:13,215 ERROR [[Persistent Faces Servlet]] Servlet.service() for servlet Persistent Faces Servlet threw exception
 java.lang.NullPointerException: 
 	at com.icesoft.faces.webapp.http.servlet.ViewBoundAdaptingServlet.service(ViewBoundAdaptingServlet.java:38)
 	at com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)
 	at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)
 	at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:89)
 	at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:35)
 	at com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)
 	at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)
 	at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:59)
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
 	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
 	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:359)
 	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
 	at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:54)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
 	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
 	at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60)
 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
 	at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
 	at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
 	at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
 16:59:13,215 ERROR [ExceptionFilter] uncaught exception
 java.lang.NullPointerException: 
 	at com.icesoft.faces.webapp.http.servlet.ViewBoundAdaptingServlet.service(ViewBoundAdaptingServlet.java:38)
 	at com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)
 	at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)
 	at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:89)
 	at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:35)
 	at com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)
 	at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)
 	at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:59)
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
 	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
 	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:359)
 	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
 	at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:54)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
 	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
 	at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60)
 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
 	at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
 	at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
 	at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
 16:59:13,231 ERROR [DebugPageHandler] redirecting to debug page
 java.lang.NullPointerException: 
 	at com.icesoft.faces.webapp.http.servlet.ViewBoundAdaptingServlet.service(ViewBoundAdaptingServlet.java:38)
 	at com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)
 	at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)
 	at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:89)
 	at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:35)
 	at com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)
 	at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)
 	at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:59)
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
 	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
 	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:359)
 	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
 	at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:54)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
 	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
 	at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60)
 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
 	at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
 	at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
 	at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
 16:59:13,231 ERROR [ExceptionFilter] uncaught exception
 javax.servlet.ServletException: Stack must not be null
 	at org.jboss.seam.web.ExceptionFilter.endWebRequestAfterException(ExceptionFilter.java:103)
 	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:73)
 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
 	at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60)
 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
 	at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
 	at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
 	at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
 	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
 	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
 	at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
 	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
 	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
 	at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
 16:59:13,231 ERROR [ExceptionFilter] exception root cause
 java.lang.IllegalArgumentException: Stack must not be null
 	at org.jboss.seam.core.ConversationEntry.<init>(ConversationEntry.java:40)
 	at org.jboss.seam.core.ConversationEntries.createConversationEntry(ConversationEntries.java:50)
 	at org.jboss.seam.core.Manager.createConversationEntry(Manager.java:685)
 	at org.jboss.seam.core.Manager.beforeRedirect(Manager.java:834)
 	at org.jboss.seam.core.Manager.beforeRedirect(Manager.java:852)
 	at org.jboss.seam.exceptions.DebugPageHandler.handle(DebugPageHandler.java:24)
 	at org.jboss.seam.core.Exceptions.handle(Exceptions.java:79)
 	at org.jboss.seam.web.ExceptionFilter.endWebRequestAfterException(ExceptionFilter.java:91)
 	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:73)
 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
 	at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60)
 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
 	at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
 	at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
 	at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
 	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
 	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
 16:59:13,231 ERROR [DebugPageHandler] redirecting to debug page
 java.lang.IllegalArgumentException: Stack must not be null
 	at org.jboss.seam.core.ConversationEntry.<init>(ConversationEntry.java:40)
 	at org.jboss.seam.core.ConversationEntries.createConversationEntry(ConversationEntries.java:50)
 	at org.jboss.seam.core.Manager.createConversationEntry(Manager.java:685)
 	at org.jboss.seam.core.Manager.beforeRedirect(Manager.java:834)
 	at org.jboss.seam.core.Manager.beforeRedirect(Manager.java:852)
 	at org.jboss.seam.exceptions.DebugPageHandler.handle(DebugPageHandler.java:24)
 	at org.jboss.seam.core.Exceptions.handle(Exceptions.java:79)
 	at org.jboss.seam.web.ExceptionFilter.endWebRequestAfterException(ExceptionFilter.java:91)
 	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:73)
 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
 	at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60)
 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
 	at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
 	at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
 	at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
 	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
 	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
 16:59:13,246 ERROR [[Blocking Servlet]] Servlet.service() for servlet Blocking Servlet threw exception
 java.lang.IllegalArgumentException: Stack must not be null
 	at org.jboss.seam.core.ConversationEntry.<init>(ConversationEntry.java:40)
 	at org.jboss.seam.core.ConversationEntries.createConversationEntry(ConversationEntries.java:50)
 	at org.jboss.seam.core.Manager.createConversationEntry(Manager.java:685)
 	at org.jboss.seam.core.Manager.beforeRedirect(Manager.java:834)
 	at org.jboss.seam.core.Manager.beforeRedirect(Manager.java:852)
 	at org.jboss.seam.exceptions.DebugPageHandler.handle(DebugPageHandler.java:24)
 	at org.jboss.seam.core.Exceptions.handle(Exceptions.java:79)
 	at org.jboss.seam.web.ExceptionFilter.endWebRequestAfterException(ExceptionFilter.java:91)
 	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:73)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
 	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
 	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
 	at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
 	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
 	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
 	at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
 	at java.lang.Thread.run(Thread.java:619)
 



Code:
public void logout(){
         if(!Contexts.isSessionContextActive()) {
             return; //all invalidated anyway...user has to start over
         }
         
         Name name = identity.getClass().getAnnotation(Name.class);
         if (name != null) {
             Contexts.getSessionContext().remove(name.value());
             Identity id = Identity.instance();
             Contexts.getSessionContext().set(name.value(), id);
         }
         return;
     }
I have a tab control which has a few tabs. Each of the tabs has it's set of fields, most of which are required. When I submit the values in tab index 2, tab index 0 is being validated by the default JSF required field validation. The result is that I get error messages for <ice:inputText/> elements of a tab that is not currently displayed. I was also surprised to learn that the tab control doesn't use D2D to inject only the elements of the selected tab into the DOM.

How do people get around this required field validation of the de-selected tab?
It looks like Seam is not creating a new Identity once identity.logout() is called.


Code:
org.jboss.seam.InstantiationException: Could not instantiate Seam component: org.jboss.seam.security.identity
 	at org.jboss.seam.Component.newInstance(Component.java:1740)
 	at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:175)
 	at org.jboss.seam.contexts.Lifecycle.beginSession(Lifecycle.java:235)
 	at org.jboss.seam.servlet.SeamListener.sessionCreated(SeamListener.java:41)
 	at org.apache.catalina.session.StandardSession.tellNew(StandardSession.java:384)
 	at org.apache.catalina.session.StandardSession.setId(StandardSession.java:356)
 	at org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:824)
 	at org.apache.catalina.session.StandardManager.createSession(StandardManager.java:290)
 	at org.apache.catalina.connector.Request.doGetSession(Request.java:2223)
 	at org.apache.catalina.connector.Request.getSession(Request.java:2024)
 	at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:831)
 	at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:215)
 	at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:544)
 	at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:31)
 	at com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)
 	at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)
 	at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:59)
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
 	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
 	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:359)
 	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
 	at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:54)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
 	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
 	at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60)
 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
 Caused by: javax.el.PropertyNotFoundException: ELResolver cannot handle a null base Object with identifier 'securityRules'
 	at com.sun.el.lang.ELSupport.throwUnhandled(ELSupport.java:52)
 	at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:75)
 	at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:195)
 	at org.jboss.seam.util.UnifiedELValueBinding.getValue(UnifiedELValueBinding.java:34)
 	at org.jboss.seam.core.Expressions$1.getValue(Expressions.java:69)
 	at org.jboss.seam.Component$ELInitialValue.getValue(Component.java:2079)
 	at org.jboss.seam.Component.initialize(Component.java:1168)
 	at org.jboss.seam.Component.instantiateJavaBean(Component.java:1128)
 	at org.jboss.seam.Component.instantiate(Component.java:1088)
 	at org.jboss.seam.Component.newInstance(Component.java:1736)
 	at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:175)
 	at org.jboss.seam.contexts.Lifecycle.beginSession(Lifecycle.java:235)
 	at org.jboss.seam.servlet.SeamListener.sessionCreated(SeamListener.java:41)
 	at org.apache.catalina.session.StandardSession.tellNew(StandardSession.java:384)
 	at org.apache.catalina.session.StandardSession.setId(StandardSession.java:356)
 	at org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:824)
 	at org.apache.catalina.session.StandardManager.createSession(StandardManager.java:290)
 	at org.apache.catalina.connector.Request.doGetSession(Request.java:2223)
 	at org.apache.catalina.connector.Request.getSession(Request.java:2024)
 	at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:831)
 	at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:215)
 	at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:544)
 	at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:31)
 	at com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)
 	at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)
 	at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:59)
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
 	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
 	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:359)
 16:28:31,074 DEBUG [PathDispatcher] path: /nemoves-pws/block/receive-updated-views
...and select the EJB3 profile during install.
Has anyone at ICEFaces found a workaround for this? Something I can change in the config? Change int he source code and rebuild? This application will need to be deployed in the root context.
 
Profile for monkeyden -> Messages posted by monkeyden [52] Go to Page: 1, 2, 3, 4 Next 
Go to:   
Powered by JForum 2.1.7ice © JForum Team