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

JFrog JIRA | Tal Abramson | 8 years ago
  1. 0

    When a user have permission to deploy to a remote repository (and only to that repository) He will have the deploy tab available but when he will try to access it , he will get a failure and the following exception in the log : 2008-12-29 09:03:17,856 [ERROR] (o.a.w.RequestCycle :1437) - Can't instantiate page using constructor public org.artifactory.webapp.wicket.page.deploy.DeployArtifactPage() 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 common frames omitted 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 common frames omitted

    JFrog JIRA | 8 years ago | Tal Abramson
    org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor public org.artifactory.webapp.wicket.page.deploy.DeployArtifactPage()
  2. 0

    When a user have permission to deploy to a remote repository (and only to that repository) He will have the deploy tab available but when he will try to access it , he will get a failure and the following exception in the log : 2008-12-29 09:03:17,856 [ERROR] (o.a.w.RequestCycle :1437) - Can't instantiate page using constructor public org.artifactory.webapp.wicket.page.deploy.DeployArtifactPage() 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 common frames omitted 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 common frames omitted

    JFrog JIRA | 8 years ago | Tal Abramson
    org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor public org.artifactory.webapp.wicket.page.deploy.DeployArtifactPage()
  3. 0

    Jsoup :eq(n) selector

    Stack Overflow | 5 years ago | wangjbao
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JXL and Apache POI parsing excel with attached image objects

    Stack Overflow | 7 years ago | Fearstruck
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  6. 0

    IndexOutOfBoundsException in the first row of Glazedlist table?

    Stack Overflow | 4 years ago | itro
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

  1. filpgame 1 times, last 2 weeks ago
  2. Aria Pahlavan 6 times, last 2 weeks ago
  3. bmacedo 4 times, last 2 weeks ago
  4. MoYapro 5 times, last 2 weeks ago
  5. Alexandru Popa 12 times, last 2 weeks ago
63 more registered users
32 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IndexOutOfBoundsException

    Index: 0, Size: 0

    at java.util.ArrayList.RangeCheck()
  2. Java RT
    ArrayList.get
    1. java.util.ArrayList.RangeCheck(ArrayList.java:546)[na:1.5.0_16]
    2. java.util.ArrayList.get(ArrayList.java:321)[na:1.5.0_16]
    2 frames
  3. org.artifactory.webapp
    DeployArtifactPage.<init>
    1. org.artifactory.webapp.wicket.page.deploy.ArtifactForm.addTargetRepoDropDown(ArtifactForm.java:130)[classes/:na]
    2. org.artifactory.webapp.wicket.page.deploy.ArtifactForm.<init>(ArtifactForm.java:76)[classes/:na]
    3. org.artifactory.webapp.wicket.page.deploy.DeployArtifactPanel.<init>(DeployArtifactPanel.java:63)[classes/:na]
    4. org.artifactory.webapp.wicket.page.deploy.DeployArtifactPage.<init>(DeployArtifactPage.java:24)[classes/:na]
    4 frames
  4. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[na:1.5.0_16]
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)[na:1.5.0_16]
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)[na:1.5.0_16]
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:494)[na:1.5.0_16]
    4 frames
  5. Wicket Core
    DefaultPageFactory.newPage
    1. org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:149)[wicket-1.3.5.jar:1.3.5]
    2. org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:58)[wicket-1.3.5.jar:1.3.5]
    2 frames
  6. org.apache.wicket
    BookmarkablePageRequestTarget.processEvents
    1. org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:262)[wicket-1.3.5.jar:1.3.5]
    2. org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:283)[wicket-1.3.5.jar:1.3.5]
    3. org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:210)[wicket-1.3.5.jar:1.3.5]
    3 frames
  7. Wicket Request
    AbstractRequestCycleProcessor.processEvents
    1. org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91)[wicket-1.3.5.jar:1.3.5]
    1 frame
  8. Wicket Core
    WicketFilter.doFilter
    1. org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1175)[wicket-1.3.5.jar:1.3.5]
    2. org.apache.wicket.RequestCycle.step(RequestCycle.java:1252)[wicket-1.3.5.jar:1.3.5]
    3. org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353)[wicket-1.3.5.jar:1.3.5]
    4. org.apache.wicket.RequestCycle.request(RequestCycle.java:493)[wicket-1.3.5.jar:1.3.5]
    5. org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:355)[wicket-1.3.5.jar:1.3.5]
    6. org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:200)[wicket-1.3.5.jar:1.3.5]
    6 frames
  9. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)[jetty-6.1.14.jar:6.1.14]
    1 frame
  10. org.artifactory.webapp
    RepoFilter.doFilter
    1. org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:153)[classes/:na]
    2. org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:73)[classes/:na]
    2 frames
  11. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)[jetty-6.1.14.jar:6.1.14]
    1 frame
  12. org.artifactory.webapp
    AccessFilter.doFilter
    1. org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:124)[classes/:na]
    2. org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:90)[classes/:na]
    2 frames
  13. Jetty Server
    SelectChannelEndPoint.run
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)[jetty-6.1.14.jar:6.1.14]
    2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361)[jetty-6.1.14.jar:6.1.14]
    3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)[jetty-6.1.14.jar:6.1.14]
    4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)[jetty-6.1.14.jar:6.1.14]
    5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)[jetty-6.1.14.jar:6.1.14]
    6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)[jetty-6.1.14.jar:6.1.14]
    7. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)[jetty-6.1.14.jar:6.1.14]
    8. org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)[jetty-6.1.14.jar:6.1.14]
    9. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)[jetty-6.1.14.jar:6.1.14]
    10. org.mortbay.jetty.Server.handle(Server.java:324)[jetty-6.1.14.jar:6.1.14]
    11. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)[jetty-6.1.14.jar:6.1.14]
    12. org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)[jetty-6.1.14.jar:6.1.14]
    13. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:533)[jetty-6.1.14.jar:6.1.14]
    14. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207)[jetty-6.1.14.jar:6.1.14]
    15. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403)[jetty-6.1.14.jar:6.1.14]
    16. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)[jetty-6.1.14.jar:6.1.14]
    16 frames
  14. Jetty Util
    BoundedThreadPool$PoolThread.run
    1. org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)[jetty-util-6.1.14.jar:6.1.14]
    1 frame