I wasn't able to reproduce this problem. Can you try to explain what you
were doing in more detail?
I run "mvn clean" and started the address book again. Sorting the empty
address list didn't produce an error. Then I added a simple address
(first name and last name) and sorting still didn't produce an error.
After adding a second address the sorting actually caused an visible effect.
Perhaps it's "machine" dependent ;-). On my box storing of an uploaded
portrait doesn't work, but Bernd doesn't seem to any problems with that.
Thanks in advance,
Arvid
Mike Kienenberger wrote:
Clicking on the last name or first name header gives the following
message. This is when there is one item in the list.
Server Error: unable to serve request. Probably a session timeout!
Looks like it's caused by this error:
[ERROR] PhaseListenerManager - Exception in PhaseListener
APPLY_REQUEST_VALUES(2) afterPhase
<java.lang.UnsupportedOperationException: Result lists are
read-only.>java.lang.UnsupportedOperationException: Result lists are
read-only.
at
org.apache.openjpa.lib.rop.AbstractListIterator.set(AbstractListIterator.java:39)
at
org.apache.openjpa.kernel.DelegatingResultList$DelegatingListIterator.set(DelegatingResultList.java:420)
at java.util.Collections.sort(Collections.java:163)
at
org.apache.myfaces.tobago.component.Sorter.invoke(Sorter.java:127)
at
org.apache.myfaces.tobago.component.UIData.invokeMethodBinding(UIData.java:599)
at
org.apache.myfaces.tobago.component.UIData.broadcast(UIData.java:591)
at
org.apache.myfaces.tobago.component.UIViewRoot.broadcastForPhase(UIViewRoot.java:128)
at
org.apache.myfaces.tobago.component.UIViewRoot.processApplication(UIViewRoot.java:197)
at
org.apache.myfaces.tobago.ajax.api.AjaxUtils.processActiveAjaxComponent(AjaxUtils.java:137)
at
org.apache.myfaces.tobago.component.UIData.processAjax(UIData.java:661)
at
org.apache.myfaces.tobago.ajax.api.AjaxUtils.processAjax(AjaxUtils.java:107)
at
org.apache.myfaces.tobago.ajax.api.AjaxUtils.processAjaxOnChildren(AjaxUtils.java:155)
at
org.apache.myfaces.tobago.component.UIPanel.processAjax(UIPanel.java:60)
at
org.apache.myfaces.tobago.ajax.api.AjaxUtils.processAjax(AjaxUtils.java:107)
at
org.apache.myfaces.tobago.ajax.api.AjaxUtils.processAjaxOnChildren(AjaxUtils.java:155)
at
org.apache.myfaces.tobago.component.UIPanel.processAjax(UIPanel.java:60)
at
org.apache.myfaces.tobago.ajax.api.AjaxUtils.processAjax(AjaxUtils.java:107)
at
org.apache.myfaces.tobago.ajax.api.AjaxUtils.processAjaxOnChildren(AjaxUtils.java:155)
at
org.apache.myfaces.tobago.ajax.api.AjaxUtils.processAjax(AjaxUtils.java:109)
at
org.apache.myfaces.tobago.ajax.api.AjaxUtils.processAjaxOnChildren(AjaxUtils.java:155)
at
org.apache.myfaces.tobago.ajax.api.AjaxUtils.processAjax(AjaxUtils.java:109)
at
org.apache.myfaces.tobago.ajax.api.AjaxPhaseListener.afterPhase(AjaxPhaseListener.java:114)
at
org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:92)
at
org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:99)
at
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:70)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:139)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:491)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1074)
at
org.apache.myfaces.tobago.webapp.TobagoMultipartFormdataFilter.doFilter(TobagoMultipartFormdataFilter.java:130)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:185)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:689)
at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:391)
at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:146)
at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:285)
at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:457)
at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:765)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:628)
at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:203)
at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:357)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:329)
at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)