<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    jsfunit - test failures due to illegalstate and nullpointers
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/gatperdut">Carlos Romero</a> in <i>Beginner's Corner</i> - <a href="http://community.jboss.org/message/644281#644281">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hello all,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I'm trying to run an interface tests with JSFUnit. Right now my only concern is writing some text (spiderman, for instance) in a search box (<span style="font-family: andale mono,times;">filters:text_anno</span>), clicking on a search button, and recovering the bean with the results in order to check it is producing what's actually expected. Thing is, I'm facing a couple of problems.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: arial,helvetica,sans-serif;">a) Once I simulate a click on the search button (client.click("filters:searchButton");)the resulting control obtained via client.getElement() is empty. However, if I access the running application via a web browser and repeat the same steps, I can see it gets filled. The control is a dropdown menu, the options of which act as a further filter for the results. Perhaps it's a problem with the tests running too fast for the controls to be refreshed, so to speak? Of course, trying to click one of the non-existent options results in a null pointer exception.</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: arial,helvetica,sans-serif;">b)If I don't try to further filter the results (that is, not choosing anything in the dropdown menu) and instead just recover the results bean, I get an IllegalStateException.</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: andale mono,times;"><span style="font-family: arial,helvetica,sans-serif;">The test code I'm running is the following:</span><br/></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: andale mono,times;">package com.playence.media.test;</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: andale mono,times;">import java.io.IOException;</span></p><p><span style="font-family: andale mono,times;">import java.net.URL;</span></p><p><span style="font-family: andale mono,times;">import java.util.Iterator;</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: andale mono,times;">import javax.faces.application.Application;</span></p><p><span style="font-family: andale mono,times;">import javax.faces.component.html.HtmlSelectOneMenu;</span></p><p><span style="font-family: andale mono,times;">import javax.faces.context.ExternalContext;</span></p><p><span style="font-family: andale mono,times;">import javax.faces.context.FacesContext;</span></p><p><span style="font-family: andale mono,times;">import javax.faces.el.ValueBinding;</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: andale mono,times;">import junit.framework.Test;</span></p><p><span style="font-family: andale mono,times;">import junit.framework.TestSuite;</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: andale mono,times;">import org.apache.cactus.ServletTestCase;</span></p><p><span style="font-family: andale mono,times;">import org.jboss.jsfunit.framework.FacesContextBridge;</span></p><p><span style="font-family: andale mono,times;">import org.jboss.jsfunit.framework.WebClientSpec;</span></p><p><span style="font-family: andale mono,times;">import org.jboss.jsfunit.jsfsession.JSFClientSession;</span></p><p><span style="font-family: andale mono,times;">import org.jboss.jsfunit.jsfsession.JSFServerSession;</span></p><p><span style="font-family: andale mono,times;">import org.jboss.jsfunit.jsfsession.JSFSession;</span></p><p><span style="font-family: andale mono,times;">import org.w3c.dom.html.HTMLAnchorElement;</span></p><p><span style="font-family: andale mono,times;">import org.w3c.dom.html.HTMLOptionElement;</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: andale mono,times;">import com.gargoylesoftware.htmlunit.BrowserVersion;</span></p><p><span style="font-family: andale mono,times;">import com.gargoylesoftware.htmlunit.Page;</span></p><p><span style="font-family: andale mono,times;">import com.gargoylesoftware.htmlunit.WebClient;</span></p><p><span style="font-family: andale mono,times;">import com.gargoylesoftware.htmlunit.html.HtmlDivision;</span></p><p><span style="font-family: andale mono,times;">import com.gargoylesoftware.htmlunit.html.HtmlAnchor;</span></p><p><span style="font-family: andale mono,times;">import com.gargoylesoftware.htmlunit.html.HtmlForm;</span></p><p><span style="font-family: andale mono,times;">import com.gargoylesoftware.htmlunit.html.HtmlHeading4;</span></p><p><span style="font-family: andale mono,times;">import com.gargoylesoftware.htmlunit.html.HtmlInput;</span></p><p><span style="font-family: andale mono,times;">import com.gargoylesoftware.htmlunit.html.HtmlOption;</span></p><p><span style="font-family: andale mono,times;">import com.gargoylesoftware.htmlunit.html.HtmlPage;</span></p><p><span style="font-family: andale mono,times;">import com.gargoylesoftware.htmlunit.html.HtmlSelect;</span></p><p><span style="font-family: andale mono,times;">import com.gargoylesoftware.htmlunit.html.HtmlSpan;</span></p><p><span style="font-family: andale mono,times;">import com.gargoylesoftware.htmlunit.html.HtmlSubmitInput;</span></p><p><span style="font-family: andale mono,times;">import com.playence.uisearch.bean.SearchResults;</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: andale mono,times;">public class JSFunitSearch extends ServletTestCase {</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; private JSFClientSession client;</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; private JSFServerSession server;</span></p><p>&#160;&#160; </p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; // JUnit suite() method</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; public static Test suite() {</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; return new TestSuite(JSFunitSearch.class);</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; }</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; // optional JUnit setUp() method</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; public void setUp() throws Exception {</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160;&#160; </span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; JSFSession jsfSession = new JSFSession("/sections/explore/index.jsf");</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; // CLIENT-SIDE SETUP</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; this.client = jsfSession.getJSFClientSession();</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; this.client.getContentPage().getEnclosingWindow().getWebClient().setJavaScriptEnabled(false);</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; this.client.getContentPage().getEnclosingWindow().getWebClient().setThrowExceptionOnScriptError(false);</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; // SERVER-SIDE SETUP</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; this.server = jsfSession.getJSFServerSession();</span> </p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; }</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160; </p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; public void testSearchFilterByLocation() throws IOException {</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; //FacesContext context = FacesContext.getCurrentInstance();</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; FacesContext context = server.getFacesContext();</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; Application app = context.getApplication();</span></p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; </p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; </p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; </p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; client.setValue("filters:text_anno", "spiderman");</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; client.click("filters:searchButton");</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; ValueBinding binding = app.createValueBinding("#{searchResults}");</span></p><p>&#160;&#160;&#160;&#160;&#160;&#160; </p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; //((HtmlSelect)client.getElement("filters:location_feature")).getOption(1)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; HtmlOption ho =&#160; ((HtmlSelect)client.getElement("filters:location_feature")).getOptionByText("New York (3)");</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; ho.setSelected(true);</span></p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; </p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; SearchResults sResults = (SearchResults) binding.getValue(context);</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; }</span></p><p><span style="font-family: andale mono,times;">}</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>The IllegalStateException I'm getting is the following:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: andale mono,times;">Test set: com.playence.media.test.JSFunitSearch</span></p><p><span style="font-family: andale mono,times;">-------------------------------------------------------------------------------</span></p><p><span style="font-family: andale mono,times;">Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 11.522 sec &lt;&lt;&lt; FAILURE!</span></p><p><span style="font-family: andale mono,times;">testSearchFilterByLocation(com.playence.media.test.JSFunitSearch)&#160; Time elapsed: 11.282 sec&#160; &lt;&lt;&lt; ERROR!</span></p><p><span style="font-family: andale mono,times;">java.lang.IllegalStateException</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at com.sun.faces.context.FacesContextImpl.assertNotReleased(FacesContextImpl.java:655)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at com.sun.faces.context.FacesContextImpl.getELContext(FacesContextImpl.java:250)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.jboss.jsfunit.context.JSFUnitFacesContext.getELContext(JSFUnitFacesContext.java:340)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at com.sun.faces.application.ValueBindingValueExpressionAdapter.getValue(ValueBindingValueExpressionAdapter.java:113)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at com.playence.media.test.JSFunitSearch.testSearchFilterByLocation(JSFunitSearch.java:136)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at java.lang.reflect.Method.invoke(Method.java:597)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at junit.framework.TestCase.runTest(TestCase.java:168)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at junit.framework.TestCase.runBare(TestCase.java:134)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.apache.cactus.internal.AbstractCactusTestCase.runBareServer(AbstractCactusTestCase.java:155)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.apache.cactus.internal.server.AbstractWebTestCaller.doTest(AbstractWebTestCaller.java:120)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest(AbstractWebTestController.java:94)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedirector.java:102)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.apache.cactus.server.ServletTestRedirector.doGet(ServletTestRedirector.java:73)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.jboss.jsfunit.framework.JSFUnitFilter.doFilter(JSFUnitFilter.java:119)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:343)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:100)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:112)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:35)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:177)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:188)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:109)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:149)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.mortbay.jetty.Server.handle(Server.java:326)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)</span></p><p><span style="font-family: andale mono,times;">&#160;&#160;&#160; at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: andale mono,times;"><span style="font-family: arial,helvetica,sans-serif;">I'm pretty new to this technology, and definitely stuck in this - any help or pointers you could provide would be extremely welcome. Also, if you need me to post anything, I'll gladly do so.</span><br/></span></p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/644281#644281">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in Beginner's Corner at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>