Hi,

Check http://wicket.apache.org/2012/03/22/wicket-cve-2012-1089.html

On Mon, Jun 11, 2012 at 7:23 PM, chrome1235 <kemal.m...@gmail.com> wrote:
> Hi,
> I want to use wicketstuff-simile-timeline. Bu it gives an error.
> is this a bug, or what is my mistake?
> thanks..
> Kemal,
>
>
> my code is:
>        private TimelineModel timelineModel;
>    public HomePage(final PageParameters parameters) {
>                super();
>                timelineModel= new TimelineModel();
>                Date t2= new Date();
>                Date t1= DateUtils.addWeeks(t2, -7);
>                timelineModel.addEvent(new TimelineEventModel("T1", "C1", t1,
> t2,"www.google.com",true));
>                Timeline panel1= new Timeline("panel1", new 
> IModel<TimelineModel>(){
>                        public TimelineModel getObject() {
>                                return timelineModel;  //To change body of 
> implemented methods use File
> | Settings | File Templates.
>                        }
>                        public void setObject(TimelineModel timelineModel) {
>                                //To change body of implemented methods use 
> File | Settings | File
> Templates.
>                        }
>                        public void detach() {
>                                //To change body of implemented methods use 
> File | Settings | File
> Templates.
>                        }
>                });
>                add(panel1);
>    }
>
>
>
> ERROR - DefaultExceptionMapper     - Unexpected error occurred
> org.apache.wicket.request.resource.PackageResource$PackageResourceBlockedException:
> Access denied to (static) package resource
> org/wicketstuff/simile/timeline/./timeline_js/timeline-api.js?timeline-use-local-resources=true&bundle=true.
> See IPackageResourceGuard
>        at
> org.apache.wicket.request.resource.PackageResource.internalGetResourceStream(PackageResource.java:418)
>        at
> org.apache.wicket.request.resource.PackageResource.getCacheableResourceStream(PackageResource.java:338)
>        at
> org.apache.wicket.request.resource.PackageResource.getCacheKey(PackageResource.java:170)
>        at
> org.apache.wicket.request.resource.caching.version.RequestCycleCachedResourceVersion.getVersion(RequestCycleCachedResourceVersion.java:80)
>        at
> org.apache.wicket.request.resource.caching.FilenameWithVersionResourceCachingStrategy.decorateUrl(FilenameWithVersionResourceCachingStrategy.java:96)
>        at
> org.apache.wicket.request.mapper.BasicResourceReferenceMapper.mapHandler(BasicResourceReferenceMapper.java:219)
>        at
> org.apache.wicket.request.mapper.ParentPathReferenceRewriter.mapHandler(ParentPathReferenceRewriter.java:89)
>        at
> org.apache.wicket.request.mapper.CompoundRequestMapper.mapHandler(CompoundRequestMapper.java:157)
>        at
> org.apache.wicket.request.cycle.RequestCycle.mapUrlFor(RequestCycle.java:404)
>        at
> org.apache.wicket.request.cycle.RequestCycle.urlFor(RequestCycle.java:491)
>        at
> org.apache.wicket.markup.html.internal.HeaderResponse.renderJavaScriptReference(HeaderResponse.java:203)
>        at
> org.apache.wicket.markup.html.internal.HeaderResponse.renderJavaScriptReference(HeaderResponse.java:192)
>        at
> org.apache.wicket.markup.html.internal.HeaderResponse.renderJavaScriptReference(HeaderResponse.java:186)
>        at
> org.apache.wicket.markup.html.internal.HeaderResponse.renderJavaScriptReference(HeaderResponse.java:180)
>        at
> org.apache.wicket.markup.html.internal.HeaderResponse.renderJavaScriptReference(HeaderResponse.java:171)
>        at 
> org.wicketstuff.simile.timeline.Timeline.renderHead(Timeline.java:137)
>        at org.apache.wicket.Component.renderHead(Component.java:4459)
>        at org.apache.wicket.Component.renderHead(Component.java:2678)
>        at
> org.apache.wicket.markup.renderStrategy.ChildFirstHeaderRenderStrategy$1.component(ChildFirstHeaderRenderStrategy.java:82)
>        at
> org.apache.wicket.markup.renderStrategy.DeepChildFirstVisitor.visit(DeepChildFirstVisitor.java:96)
>        at
> org.apache.wicket.markup.renderStrategy.DeepChildFirstVisitor.visit(DeepChildFirstVisitor.java:87)
>        at
> org.apache.wicket.markup.renderStrategy.DeepChildFirstVisitor.visit(DeepChildFirstVisitor.java:51)
>        at
> org.apache.wicket.markup.renderStrategy.ChildFirstHeaderRenderStrategy.renderChildHeaders(ChildFirstHeaderRenderStrategy.java:77)
>        at
> org.apache.wicket.markup.renderStrategy.ChildFirstHeaderRenderStrategy.renderHeader(ChildFirstHeaderRenderStrategy.java:56)
>        at
> org.apache.wicket.markup.html.internal.HtmlHeaderContainer.onComponentTagBody(HtmlHeaderContainer.java:134)
>        at
> org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:72)
>        at 
> org.apache.wicket.Component.internalRenderComponent(Component.java:2539)
>        at 
> org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1534)
>        at org.apache.wicket.Component.internalRender(Component.java:2369)
>        at org.apache.wicket.Component.render(Component.java:2297)
>        at 
> org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1432)
>        at 
> org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1596)
>        at org.apache.wicket.Page.onRender(Page.java:912)
>        at org.apache.wicket.markup.html.WebPage.onRender(WebPage.java:140)
>        at org.apache.wicket.Component.internalRender(Component.java:2369)
>        at org.apache.wicket.Component.render(Component.java:2297)
>        at org.apache.wicket.Page.renderPage(Page.java:1043)
>        at
> org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:105)
>        at
> org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:224)
>        at
> org.apache.wicket.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:167)
>        at
> org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:781)
>        at
> org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
>        at
> org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:255)
>        at
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:212)
>        at
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:283)
>        at
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:185)
>        at
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:241)
>        at
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326)
>        at
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:479)
>        at
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
>        at
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520)
>        at
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
>        at
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:940)
>        at
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)
>        at
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
>        at
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:874)
>        at
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
>        at
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
>        at org.eclipse.jetty.server.Server.handle(Server.java:349)
>        at
> org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441)
>        at
> org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:904)
>        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:565)
>        at 
> org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:217)
>        at
> org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:50)
>        at
> org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector.java:245)
>        at
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)
>        at
> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)
>        at java.lang.Thread.run(Thread.java:662)
>
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/wicketstuff-simile-timeline-1-5-5-Access-denied-to-resource-error-tp4649855.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to