org.apache.wicket.WicketRuntimeException

Can't instantiate page using constructor public org.artifactory.webapp.wicket.page.error.InternalErrorPage()

Solutions on the web299

  • via JFrog JIRA by Jan-Willem van Wieren, 1 year ago
    Can't instantiate page using constructor public org.artifactory.webapp.wicket.page.error.InternalErrorPage()
  • via JFrog JIRA by Jan-Willem van Wieren, 10 months ago
    Can't instantiate page using constructor public org.artifactory.webapp.wicket.page.error.InternalErrorPage()
  • via JFrog JIRA by Tal Abramson, 1 year ago
    Can't instantiate page using constructor public org.artifactory.webapp.wicket.page.error.InternalErrorPage()
  • Stack trace

    • org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor public org.artifactory.webapp.wicket.page.error.InternalErrorPage() at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:206)[wicket-1.3.7.jar:1.3.7] at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:57)[wicket-1.3.7.jar:1.3.7] at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:272)[wicket-1.3.7.jar:1.3.7] at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:293)[wicket-1.3.7.jar:1.3.7] at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:240)[wicket-1.3.7.jar:1.3.7] at org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:104)[wicket-1.3.7.jar:1.3.7] at org.apache.wicket.RequestCycle.respond(RequestCycle.java:1254)[wicket-1.3.7.jar:1.3.7] at org.apache.wicket.RequestCycle.step(RequestCycle.java:1321)[wicket-1.3.7.jar:1.3.7] at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1418)[wicket-1.3.7.jar:1.3.7] at org.apache.wicket.RequestCycle.request(RequestCycle.java:532)[wicket-1.3.7.jar:1.3.7] at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:356)[wicket-1.3.7.jar:1.3.7] at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:201)[wicket-1.3.7.jar:1.3.7] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)[catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)[catalina.jar:na] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:165)[artifactory-web-application-2.1.3.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:76)[artifactory-web-application-2.1.3.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)[catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)[catalina.jar:na] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:191)[artifactory-web-application-2.1.3.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:110)[artifactory-web-application-2.1.3.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:91)[artifactory-web-application-2.1.3.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)[catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)[catalina.jar:na] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:54)[artifactory-web-application-2.1.3.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)[catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)[catalina.jar:na] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:54)[artifactory-web-application-2.1.3.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)[catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)[catalina.jar:na] at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)[catalina.jar:na] at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)[catalina.jar:na] at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399)[catalina.jar:na] at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)[catalina.jar:na] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:108)[artifactory-web-application-2.1.3.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:76)[artifactory-web-application-2.1.3.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)[catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)[catalina.jar:na] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:191)[artifactory-web-application-2.1.3.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:110)[artifactory-web-application-2.1.3.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:91)[artifactory-web-application-2.1.3.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)[catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)[catalina.jar:na] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:54)[artifactory-web-application-2.1.3.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)[catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)[catalina.jar:na] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:54)[artifactory-web-application-2.1.3.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)[catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)[catalina.jar:na] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)[catalina.jar:na] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)[catalina.jar:na] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)[catalina.jar:na] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)[catalina.jar:na] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)[catalina.jar:na] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)[catalina.jar:na] at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)[tomcat-ajp.jar:na] at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)[tomcat-ajp.jar:na] at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:775)[tomcat-ajp.jar:na] at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:704)[tomcat-ajp.jar:na] at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:897)[tomcat-ajp.jar:na] at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)[tomcat-util.jar:5.1] at java.lang.Thread.run(Thread.java:619)[na:1.6.0_17] Caused by: java.lang.reflect.InvocationTargetException: null at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[na:1.6.0_17] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)[na:1.6.0_17] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)[na:1.6.0_17] at java.lang.reflect.Constructor.newInstance(Constructor.java:513)[na:1.6.0_17] at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:186)[wicket-1.3.7.jar:1.3.7] ... 60 more Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.AbstractStringBuilder.setLength(AbstractStringBuilder.java:143)[na:1.6.0_17] at java.lang.StringBuffer.setLength(StringBuffer.java:153)[na:1.6.0_17] at org.apache.wicket.protocol.http.RequestUtils.toAbsolutePath(RequestUtils.java:206)[wicket-1.3.7.jar:1.3.7] at org.apache.wicket.protocol.http.RequestUtils.toAbsolutePath(RequestUtils.java:169)[wicket-1.3.7.jar:1.3.7] at org.artifactory.common.wicket.util.WicketUtils.getWicketAppPath(WicketUtils.java:86)[artifactory-web-common-2.1.3.jar:na] at org.artifactory.webapp.wicket.components.container.LogoLinkContainer.<init>(LogoLinkContainer.java:43)[artifactory-web-application-2.1.3.jar:na] at org.artifactory.addon.wicket.WicketAddonsImpl.getHomeLink(WicketAddonsImpl.java:260)[artifactory-web-application-2.1.3.jar:na] at sun.reflect.GeneratedMethodAccessor697.invoke(Unknown Source)[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_17] at java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_17] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)[spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)[spring-aop-2.5.6.jar:2.5.6] at $Proxy47.getHomeLink(Unknown Source)[na:na] at org.artifactory.webapp.wicket.page.base.BasePage.init(BasePage.java:96)[artifactory-web-application-2.1.3.jar:na] at org.artifactory.webapp.wicket.page.base.BasePage.<init>(BasePage.java:63)[artifactory-web-application-2.1.3.jar:na] at org.artifactory.webapp.wicket.page.base.AuthenticatedPage.<init>(AuthenticatedPage.java:41)[artifactory-web-application-2.1.3.jar:na] at org.artifactory.webapp.wicket.page.home.HomePage.<init>(HomePage.java:34)[artifactory-web-application-2.1.3.jar:na] at org.artifactory.webapp.wicket.page.error.BaseMessagePage.<init>(BaseMessagePage.java:28)[artifactory-web-application-2.1.3.jar:na] at org.artifactory.webapp.wicket.page.error.InternalErrorPage.<init>(InternalErrorPage.java:23)[artifactory-web-application-2.1.3.jar:na] ... 65 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.