Hey sandra, As we've discussed the original problem is that the documentation and the equinox target are simply outdated. I've created PAXWICKET-77 [1] to track this problem and I'll fix it latest within this week.
BTW, you should be able again to create an jira account at issues.ops4j.org again. You may like to create an account and watch PAXWICKET-77 to stay updated when the changes will be available in the github master. kind regards, andreas [1] http://issues.ops4j.org/browse/PAXWICKET-77 On Fri, Jan 07, 2011 at 02:56:33PM +0100, Bergmann, Sandra wrote: > Hello, > > > > i'm new to Pax Wicket. > > I have a question to the departmentStore example. > > I followed the instructions on > [1]http://www.ops4j.org/projects/pax/wicket/getting-started/installatio > n.html > > It seems to work, but when I click on buttons or something like this I > got this exception in my eclipse console: > > > > [21219507@qtp0-0 - /deptStore/] ERROR org.apache.wicket.RequestCycle - > there was an error cleaning up target > [BookmarkablePageRequestTarget@1045243182 > pageClass=org.ops4j.pax.wicket.samples.departmentstore.view.internal.Ov > erviewPage]. > > java.lang.reflect.UndeclaredThrowableException > > at $Proxy1.getPathTranslated(Unknown Source) > > at > org.apache.wicket.protocol.http.servlet.ServletWebRequest.toString(Serv > letWebRequest.java:552) > > at java.lang.String.valueOf(Unknown Source) > > at java.lang.StringBuilder.append(Unknown Source) > > at org.apache.wicket.Page.onDetach(Page.java:1549) > > at org.apache.wicket.Component.detach(Component.java:1221) > > at > org.apache.wicket.request.target.component.BookmarkablePageRequestTarge > t.detach(BookmarkablePageRequestTarget.java:142) > > at > org.apache.wicket.RequestCycle.detach(RequestCycle.java:1122) > > at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1454) > > at > org.apache.wicket.RequestCycle.request(RequestCycle.java:545) > > at > org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:47 > 9) > > at > org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java: > 138) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown > Source) > > at java.lang.reflect.Method.invoke(Unknown Source) > > at > org.ops4j.pax.wicket.internal.ServletProxy$ServletInvocationHandler.inv > oke(ServletProxy.java:75) > > at $Proxy0.service(Unknown Source) > > at > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) > > at > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:363 > ) > > at > org.ops4j.pax.web.service.internal.HttpServiceServletHandler.handle(Htt > pServiceServletHandler.java:64) > > at > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181 > ) > > at > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766 > ) > > at > org.ops4j.pax.web.service.internal.HttpServiceContext.handle(HttpServic > eContext.java:108) > > at > org.ops4j.pax.web.service.internal.JettyServerHandlerCollection.handle( > JettyServerHandlerCollection.java:64) > > at > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152 > ) > > at org.mortbay.jetty.Server.handle(Server.java:320) > > at > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) > > at > org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConn > ection.java:864) > > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:533) > > at > org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207) > > at > org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403) > > at > org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java > :409) > > at > org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.jav > a:522) > > Caused by: java.lang.reflect.InvocationTargetException > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown > Source) > > at java.lang.reflect.Method.invoke(Unknown Source) > > at > org.ops4j.pax.wicket.internal.ServletProxy$ServletInvocationHandler$Ser > vletRequestInvocationHandler.invoke(ServletProxy.java:207) > > ... 36 more > > Caused by: java.lang.StringIndexOutOfBoundsException: String index out > of range: -9 > > at java.lang.String.substring(Unknown Source) > > at java.lang.String.substring(Unknown Source) > > at > org.ops4j.pax.wicket.internal.GenericContext.getResource(GenericContext > .java:78) > > at > org.ops4j.pax.web.service.internal.HttpServiceContext$SContext$1.run(Ht > tpServiceContext.java:240) > > at > org.ops4j.pax.web.service.internal.HttpServiceContext$SContext$1.run(Ht > tpServiceContext.java:237) > > at java.security.AccessController.doPrivileged(Native Method) > > at > org.ops4j.pax.web.service.internal.HttpServiceContext$SContext.getResou > rce(HttpServiceContext.java:234) > > at > org.ops4j.pax.web.service.internal.HttpServiceContext$SContext.getRealP > ath(HttpServiceContext.java:203) > > at > org.mortbay.jetty.Request.getPathTranslated(Request.java:823) > > ... 41 more > > [21219507@qtp0-0 - /deptStore/] INFO > org.ops4j.pax.web.service.internal.HttpServiceContext - getting real > path: [/] > > [21219507@qtp0-0 - /deptStore/] INFO > org.ops4j.pax.web.service.internal.HttpServiceContext - getting > resource: [/] > > [21219507@qtp0-0 - /deptStore/] DEBUG > org.ops4j.pax.wicket.internal.GenericContext - getResource( / ) > > [21219507@qtp0-0 - /deptStore/] ERROR org.apache.wicket.Session - > Exception when detaching/serializing page > > java.lang.reflect.UndeclaredThrowableException > > at $Proxy1.getPathTranslated(Unknown Source) > > at > org.apache.wicket.protocol.http.servlet.ServletWebRequest.toString(Serv > letWebRequest.java:552) > > at java.lang.String.valueOf(Unknown Source) > > at java.lang.StringBuilder.append(Unknown Source) > > at org.apache.wicket.Page.onDetach(Page.java:1549) > > at org.apache.wicket.Component.detach(Component.java:1221) > > at org.apache.wicket.Session.requestDetached(Session.java:1399) > > at > org.apache.wicket.RequestCycle.detach(RequestCycle.java:1176) > > at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1454) > > at > org.apache.wicket.RequestCycle.request(RequestCycle.java:545) > > at > org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:47 > 9) > > at > org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java: > 138) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown > Source) > > at java.lang.reflect.Method.invoke(Unknown Source) > > at > org.ops4j.pax.wicket.internal.ServletProxy$ServletInvocationHandler.inv > oke(ServletProxy.java:75) > > at $Proxy0.service(Unknown Source) > > at > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) > > at > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:363 > ) > > at > org.ops4j.pax.web.service.internal.HttpServiceServletHandler.handle(Htt > pServiceServletHandler.java:64) > > at > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181 > ) > > at > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766 > ) > > at > org.ops4j.pax.web.service.internal.HttpServiceContext.handle(HttpServic > eContext.java:108) > > at > org.ops4j.pax.web.service.internal.JettyServerHandlerCollection.handle( > JettyServerHandlerCollection.java:64) > > at > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152 > ) > > at org.mortbay.jetty.Server.handle(Server.java:320) > > at > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) > > at > org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConn > ection.java:864) > > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:533) > > at > org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207) > > at > org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403) > > at > org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java > :409) > > at > org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.jav > a:522) > > Caused by: java.lang.reflect.InvocationTargetException > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown > Source) > > at java.lang.reflect.Method.invoke(Unknown Source) > > at > org.ops4j.pax.wicket.internal.ServletProxy$ServletInvocationHandler$Ser > vletRequestInvocationHandler.invoke(ServletProxy.java:207) > > ... 36 more > > Caused by: java.lang.StringIndexOutOfBoundsException: String index out > of range: -9 > > at java.lang.String.substring(Unknown Source) > > at java.lang.String.substring(Unknown Source) > > at > org.ops4j.pax.wicket.internal.GenericContext.getResource(GenericContext > .java:78) > > at > org.ops4j.pax.web.service.internal.HttpServiceContext$SContext$1.run(Ht > tpServiceContext.java:240) > > at > org.ops4j.pax.web.service.internal.HttpServiceContext$SContext$1.run(Ht > tpServiceContext.java:237) > > at java.security.AccessController.doPrivileged(Native Method) > > at > org.ops4j.pax.web.service.internal.HttpServiceContext$SContext.getResou > rce(HttpServiceContext.java:234) > > at > org.ops4j.pax.web.service.internal.HttpServiceContext$SContext.getRealP > ath(HttpServiceContext.java:203) > > at > org.mortbay.jetty.Request.getPathTranslated(Request.java:823) > > ... 41 more > > > > Please can someone help me? > > > > Best regards, > > Sandra > > > > ----------------------------------------------------------------------- > ------------------------- > ----------------------------------------------------------------------- > ------------------------- > Forschungszentrum Juelich GmbH > 52425 Juelich > Sitz der Gesellschaft: Juelich > Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 > Vorsitzender des Aufsichtsrats: MinDirig Dr. Karl Eugen Huthmacher > Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender), > Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, > Prof. Dr. Sebastian M. Schmidt > ----------------------------------------------------------------------- > ------------------------- > ----------------------------------------------------------------------- > ------------------------- > > References > > 1. > http://www.ops4j.org/projects/pax/wicket/getting-started/installation.html > _______________________________________________ > general mailing list > [email protected] > http://lists.ops4j.org/mailman/listinfo/general
pgp7FalHMoDHa.pgp
Description: PGP signature
_______________________________________________ general mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/general
