Hi,

I'll look into this.
Although, I will most probably need write access to github project.

Regards,
Edward Yakop

On Fri, Jan 7, 2011 at 21:56, Bergmann, Sandra <[email protected]>wrote:

>  Hello,
>
> i’m new to Pax Wicket.
> I have a question to the departmentStore example.
> I followed the instructions on *
> http://www.ops4j.org/projects/pax/wicket/getting-started/installation.html
> *<http://www.ops4j.org/projects/pax/wicket/getting-started/installation.html>
> It seems to work, but when I click on buttons or something like this I got
> this exception in my eclipse console:
>
> [21219...@qtp0-0 - /deptStore/] ERROR org.apache.wicket.RequestCycle -
> there was an error cleaning up target
> [bookmarkablepagerequesttar...@1045243182pageclass=org.ops4j.pax.wicket.samples.departmentstore.view.internal.overviewpage].
> *java.lang.reflect.UndeclaredThrowableException*
>         at $Proxy1.getPathTranslated(Unknown Source)
>         at
> org.apache.wicket.protocol.http.servlet.ServletWebRequest.toString(*
> ServletWebRequest.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.BookmarkablePageRequestTarget.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:479*)
>         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.invoke(
> *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(*
> HttpServiceServletHandler.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(*
> HttpServiceContext.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(
> *HttpConnection.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.java: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$ServletRequestInvocationHandler.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(*
> HttpServiceContext.java:240*)
>         at
> org.ops4j.pax.web.service.internal.HttpServiceContext$SContext$1.run(*
> HttpServiceContext.java:237*)
>         at java.security.AccessController.doPrivileged(*Native Method*)
>         at
> org.ops4j.pax.web.service.internal.HttpServiceContext$SContext.getResource(
> *HttpServiceContext.java:234*)
>         at
> org.ops4j.pax.web.service.internal.HttpServiceContext$SContext.getRealPath(
> *HttpServiceContext.java:203*)
>         at org.mortbay.jetty.Request.getPathTranslated(*Request.java:823*)
>         ... 41 more
> [21219...@qtp0-0 - /deptStore/] INFO
> org.ops4j.pax.web.service.internal.HttpServiceContext - getting real path:
> [/]
> [21219...@qtp0-0 - /deptStore/] INFO
> org.ops4j.pax.web.service.internal.HttpServiceContext - getting resource:
> [/]
> [21219...@qtp0-0 - /deptStore/] DEBUG
> org.ops4j.pax.wicket.internal.GenericContext - getResource( / )
> [21219...@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(*
> ServletWebRequest.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:479*)
>         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.invoke(
> *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(*
> HttpServiceServletHandler.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(*
> HttpServiceContext.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(
> *HttpConnection.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.java: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$ServletRequestInvocationHandler.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(*
> HttpServiceContext.java:240*)
>         at
> org.ops4j.pax.web.service.internal.HttpServiceContext$SContext$1.run(*
> HttpServiceContext.java:237*)
>         at java.security.AccessController.doPrivileged(*Native Method*)
>         at
> org.ops4j.pax.web.service.internal.HttpServiceContext$SContext.getResource(
> *HttpServiceContext.java:234*)
>         at
> org.ops4j.pax.web.service.internal.HttpServiceContext$SContext.getRealPath(
> *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
>
> ------------------------------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------------------------
>
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general
>
>
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to