org.apache.wicket.WicketRuntimeException

Can't instantiate page using constructor public org.artifactory.webapp.wicket.page.deploy.DeployArtifactPage()

Samebug tips1

Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range. Applications can subclass this class to indicate similar exceptions.


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web4226

  • via Unknown by Tal Abramson,
  • via Unknown by Tal Abramson,
  • via Stack Overflow by wangjbao
    ,
  • Stack trace

    • org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor public org.artifactory.webapp.wicket.page.deploy.DeployArtifactPage() at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:168)[wicket-1.3.5.jar:1.3.5] at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:58)[wicket-1.3.5.jar:1.3.5] at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:262)[wicket-1.3.5.jar:1.3.5] at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:283)[wicket-1.3.5.jar:1.3.5] at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:210)[wicket-1.3.5.jar:1.3.5] at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91)[wicket-1.3.5.jar:1.3.5] at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1175)[wicket-1.3.5.jar:1.3.5] at org.apache.wicket.RequestCycle.step(RequestCycle.java:1252)[wicket-1.3.5.jar:1.3.5] at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353)[wicket-1.3.5.jar:1.3.5] at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)[wicket-1.3.5.jar:1.3.5] at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:355)[wicket-1.3.5.jar:1.3.5] at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:200)[wicket-1.3.5.jar:1.3.5] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)[jetty-6.1.14.jar:6.1.14] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:153)[classes/:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:73)[classes/:na] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)[jetty-6.1.14.jar:6.1.14] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:124)[classes/:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:90)[classes/:na] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.Server.handle(Server.java:324)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:533)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403)[jetty-6.1.14.jar:6.1.14] at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)[jetty-6.1.14.jar:6.1.14] at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)[jetty-util-6.1.14.jar:6.1.14] Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[na:1.5.0_16] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)[na:1.5.0_16] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)[na:1.5.0_16] at java.lang.reflect.Constructor.newInstance(Constructor.java:494)[na:1.5.0_16] at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:149)[wicket-1.3.5.jar:1.3.5] ... 34 more Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.RangeCheck(ArrayList.java:546)[na:1.5.0_16] at java.util.ArrayList.get(ArrayList.java:321)[na:1.5.0_16] at org.artifactory.webapp.wicket.page.deploy.ArtifactForm.addTargetRepoDropDown(ArtifactForm.java:130)[classes/:na] at org.artifactory.webapp.wicket.page.deploy.ArtifactForm.<init>(ArtifactForm.java:76)[classes/:na] at org.artifactory.webapp.wicket.page.deploy.DeployArtifactPanel.<init>(DeployArtifactPanel.java:63)[classes/:na] at org.artifactory.webapp.wicket.page.deploy.DeployArtifactPage.<init>(DeployArtifactPage.java:24)[classes/:na] ... 39 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

    slashslash
    2 times, last one
    SteVio1989SteVio1989
    19 times, last one
    Unknown UserUnknown User
    312 times, last one
    rocdayrocday
    Once,
    PilleoPilleo
    12 times, last one
    229 more bugmates