You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Josh Chappelle (JIRA)" <ji...@apache.org> on 2012/07/26 22:09:34 UTC

[jira] [Created] (WICKET-4678) Image urls not resolving in some cases when using CryptoMapper

Josh Chappelle created WICKET-4678:
--------------------------------------

             Summary: Image urls not resolving in some cases when using CryptoMapper
                 Key: WICKET-4678
                 URL: https://issues.apache.org/jira/browse/WICKET-4678
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.5.7, 1.5.4
         Environment: Windows, Tomcat 6
            Reporter: Josh Chappelle


I'm hitting a problem with images not being found when using CryptoMapper. I have 2 pages in the quickstart. The dynamic image on the second page does not show but it does on the first page. I get to the second page by clicking the "Page 2" link on the first. 

I'm attaching a quickstart to this ticket.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (WICKET-4678) Image urls not resolving in some cases when using CryptoMapper

Posted by "Josh Chappelle (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-4678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13423439#comment-13423439 ] 

Josh Chappelle commented on WICKET-4678:
----------------------------------------

Well, leave it to the quickstart to not perfectly reproduce this. I have been working on this for a week and in my live application it is precisely the CryptoMapper that is the difference maker. However, the quickstart is apparently not accurately reflecting it here. I guess I'm just unable to properly reproduce it outside of my live app.
                
> Image urls not resolving in some cases when using CryptoMapper
> --------------------------------------------------------------
>
>                 Key: WICKET-4678
>                 URL: https://issues.apache.org/jira/browse/WICKET-4678
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.4, 1.5.7
>         Environment: Windows, Tomcat 6
>            Reporter: Josh Chappelle
>            Assignee: Sven Meier
>         Attachments: imagetest.zip
>
>
> I'm hitting a problem with images not being found when using CryptoMapper. I have 2 pages in the quickstart. The dynamic image on the second page does not show but it does on the first page. I get to the second page by clicking the "Page 2" link on the first. 
> I'm attaching a quickstart to this ticket.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (WICKET-4678) Image urls not resolving in some cases when using CryptoMapper

Posted by "Josh Chappelle (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-4678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13423423#comment-13423423 ] 

Josh Chappelle commented on WICKET-4678:
----------------------------------------

When running the quickstart I have noticed the following message in the console when I click the link for page2. Note that "images" is the name of the folder that the images are contained in. It seems that CryptoMapper somehow thinks this is a class.


WARN  - WicketObjects              - Could not resolve class [images]
java.lang.ClassNotFoundException: images
	at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
	at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:424)
	at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:377)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:247)
	at org.apache.wicket.application.AbstractClassResolver.resolveClass(AbstractClassResolver.java:107)
	at org.apache.wicket.util.lang.WicketObjects.resolveClass(WicketObjects.java:68)
	at org.apache.wicket.request.mapper.AbstractComponentMapper.getPageClass(AbstractComponentMapper.java:138)
	at org.apache.wicket.request.mapper.BookmarkableMapper.parseRequest(BookmarkableMapper.java:110)
	at org.apache.wicket.request.mapper.AbstractBookmarkableMapper.mapRequest(AbstractBookmarkableMapper.java:268)
	at org.apache.wicket.request.mapper.CompoundRequestMapper.mapRequest(CompoundRequestMapper.java:132)
	at org.apache.wicket.request.mapper.CryptoMapper.mapRequest(CryptoMapper.java:110)
	at org.apache.wicket.request.cycle.RequestCycle.resolveRequestHandler(RequestCycle.java:184)
	at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:209)
	at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:283)
	at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:188)
	at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:244)
	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.ContextHandlerCollection.handle(ContextHandlerCollection.java:250)
	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)
	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.AsyncHttpConnection.handle(AsyncHttpConnection.java:46)
	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:545)
	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:43)
	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)

                
> Image urls not resolving in some cases when using CryptoMapper
> --------------------------------------------------------------
>
>                 Key: WICKET-4678
>                 URL: https://issues.apache.org/jira/browse/WICKET-4678
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.4, 1.5.7
>         Environment: Windows, Tomcat 6
>            Reporter: Josh Chappelle
>         Attachments: imagetest.zip
>
>
> I'm hitting a problem with images not being found when using CryptoMapper. I have 2 pages in the quickstart. The dynamic image on the second page does not show but it does on the first page. I get to the second page by clicking the "Page 2" link on the first. 
> I'm attaching a quickstart to this ticket.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (WICKET-4678) Image urls not resolving in some cases when using CryptoMapper

Posted by "Sven Meier (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sven Meier closed WICKET-4678.
------------------------------

    Resolution: Invalid
      Assignee: Sven Meier

Remove the cryptoMapper and the image doesn't work either.

Take a look at the Url after switching to page2:

  http://localhost:8080/wicket/bookmarkable/com.redi.imagetest.Page2

Obviously the browser cannot find "images/arrow-up-green.gif" relative to that path.
                
> Image urls not resolving in some cases when using CryptoMapper
> --------------------------------------------------------------
>
>                 Key: WICKET-4678
>                 URL: https://issues.apache.org/jira/browse/WICKET-4678
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.4, 1.5.7
>         Environment: Windows, Tomcat 6
>            Reporter: Josh Chappelle
>            Assignee: Sven Meier
>         Attachments: imagetest.zip
>
>
> I'm hitting a problem with images not being found when using CryptoMapper. I have 2 pages in the quickstart. The dynamic image on the second page does not show but it does on the first page. I get to the second page by clicking the "Page 2" link on the first. 
> I'm attaching a quickstart to this ticket.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (WICKET-4678) Image urls not resolving in some cases when using CryptoMapper

Posted by "Josh Chappelle (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josh Chappelle updated WICKET-4678:
-----------------------------------

    Attachment: imagetest.zip

Here is the quickstart.
                
> Image urls not resolving in some cases when using CryptoMapper
> --------------------------------------------------------------
>
>                 Key: WICKET-4678
>                 URL: https://issues.apache.org/jira/browse/WICKET-4678
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.4, 1.5.7
>         Environment: Windows, Tomcat 6
>            Reporter: Josh Chappelle
>         Attachments: imagetest.zip
>
>
> I'm hitting a problem with images not being found when using CryptoMapper. I have 2 pages in the quickstart. The dynamic image on the second page does not show but it does on the first page. I get to the second page by clicking the "Page 2" link on the first. 
> I'm attaching a quickstart to this ticket.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira