Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4303

mounting a home page with package mapper results in invalid url's

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.3, 6.0.0-beta1
    • 1.5.4, 6.0.0-beta1
    • wicket
    • Internet Explorer,Chrome (Probably occurs in any browser)

    Description

      If the transition destination page mountPackage HomePage, which displays a 404 error when you click on the link the normal component.
      This would not be a bug?
      When you reload before click, the issue does not occur.

      Wicket 1.4 this issue does not happen.

      The stack trace below.
      WARN - WicketObjects - Could not resolve class [wicket153mount...]
      java.lang.ClassNotFoundException: wicket153mount///
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:242)
      at org.apache.wicket.application.AbstractClassResolver.resolveClass(AbstractClassResolver.java:108)
      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.PackageMapper.parseRequest(PackageMapper.java:142)
      at org.apache.wicket.request.mapper.AbstractBookmarkableMapper.mapRequest(AbstractBookmarkableMapper.java:263)
      at org.apache.wicket.request.mapper.mount.UnmountedMapperAdapter.mapRequest(UnmountedMapperAdapter.java:73)
      at org.apache.wicket.request.mapper.mount.MountMapper.mapRequest(MountMapper.java:131)
      at org.apache.wicket.request.mapper.CompoundRequestMapper.mapRequest(CompoundRequestMapper.java:130)
      at org.apache.wicket.request.cycle.RequestCycle.resolveRequestHandler(RequestCycle.java:181)
      at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:206)
      at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:280)
      at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:162)
      at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:218)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      at java.lang.Thread.run(Thread.java:595)

      Attachments

        1. wicket153mount.zip
          33 kB
          Masaya Seko
        2. ASF.LICENSE.NOT.GRANTED--screenshot-1.jpg
          38 kB
          Masaya Seko
        3. WICKET-4303WithWicket6.0.zip
          5.37 MB
          Masaya Seko
        4. WICKET-4303WithWicket6.0_120111.zip
          5.37 MB
          Masaya Seko

        Activity

          People

            pete Peter Ertl
            m_seko Masaya Seko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: