org.apache.wicket.WicketRuntimeException

Can't instantiate page using constructor 'public org.artifactory.webapp.wicket.page.config.general.GeneralConfigPage()'. Might be it doesn't exist, may be it is not visible (public).

Samebug tips8

You might've forgot to add a dependency or it's written wrong. Also, you might be using incompatible versions of Java and Hibernate. More on this here: https://goo.gl/SjSlRA


rafaelrafael

jsp-api and servlet-api jars must NOT be deployed by your web app. They should be marked as provided but not deployed by your app.


rafaelrafael

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

Solutions on the web13942

  • via Unknown by John Cartwright,
  • via Unknown by John Cartwright,
  • Stack trace

    • org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor 'public org.artifactory.webapp.wicket.page.config.general.GeneralConfigPage()'. Might be it doesn't exist, may be it is not visible (public). at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:196)[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:68)[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:47)[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.DefaultMapperContext.newPageInstance(DefaultMapperContext.java:103)[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.request.handler.PageProvider.resolvePageInstance(PageProvider.java:264)[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.request.handler.PageProvider.getPageInstance(PageProvider.java:165)[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.request.handler.RenderPageRequestHandler.getPage(RenderPageRequestHandler.java:160)[wicket-core-1.5.5.jar:1.5.5] at org.artifactory.common.wicket.application.ResponsePageSupport.fetchPageFromHandler(ResponsePageSupport.java:60)[artifactory-web-common-3.5.1.jar:na] at org.artifactory.common.wicket.application.ResponsePageSupport.onRequestHandlerResolved(ResponsePageSupport.java:45)[artifactory-web-common-3.5.1.jar:na] at org.apache.wicket.request.cycle.RequestCycleListenerCollection$5.notify(RequestCycleListenerCollection.java:145)[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.request.cycle.RequestCycleListenerCollection$5.notify(RequestCycleListenerCollection.java:143)[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)[wicket-util-1.5.5.jar:1.5.5] at org.apache.wicket.request.cycle.RequestCycleListenerCollection.onRequestHandlerResolved(RequestCycleListenerCollection.java:141)[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.request.cycle.RequestCycleListenerCollection$5.notify(RequestCycleListenerCollection.java:145)[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.request.cycle.RequestCycleListenerCollection$5.notify(RequestCycleListenerCollection.java:143)[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)[wicket-util-1.5.5.jar:1.5.5] at org.apache.wicket.request.cycle.RequestCycleListenerCollection.onRequestHandlerResolved(RequestCycleListenerCollection.java:141)[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:254)[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:212)[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:283)[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:185)[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:241)[wicket-core-1.5.5.jar:1.5.5] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)[catalina.jar:7.0.56] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)[catalina.jar:7.0.56] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:173)[artifactory-web-application-3.5.1.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:85)[artifactory-web-application-3.5.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)[catalina.jar:7.0.56] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)[catalina.jar:7.0.56] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:314)[artifactory-web-application-3.5.1.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:190)[artifactory-web-application-3.5.1.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:152)[artifactory-web-application-3.5.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)[catalina.jar:7.0.56] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)[catalina.jar:7.0.56] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:67)[artifactory-web-application-3.5.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)[catalina.jar:7.0.56] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)[catalina.jar:7.0.56] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:92)[artifactory-web-application-3.5.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)[catalina.jar:7.0.56] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)[catalina.jar:7.0.56] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)[catalina.jar:7.0.56] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)[catalina.jar:7.0.56] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)[catalina.jar:7.0.56] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)[catalina.jar:7.0.56] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)[catalina.jar:7.0.56] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)[catalina.jar:7.0.56] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)[tomcat-coyote.jar:7.0.56] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)[tomcat-coyote.jar:7.0.56] at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)[tomcat-coyote.jar:7.0.56] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[na:1.7.0_60] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[na:1.7.0_60] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)[tomcat-coyote.jar:7.0.56] at java.lang.Thread.run(Thread.java:745)[na:1.7.0_60] Caused by: java.lang.reflect.InvocationTargetException: null at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[na:1.7.0_60] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)[na:1.7.0_60] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[na:1.7.0_60] at java.lang.reflect.Constructor.newInstance(Constructor.java:526)[na:1.7.0_60] at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:177)[wicket-core-1.5.5.jar:1.5.5] ... 51 more Caused by: org.apache.commons.lang.SerializationException: java.lang.ClassNotFoundException: org.artifactory.descriptor.config.CentralConfigDescriptorImpl at org.apache.commons.lang.SerializationUtils.deserialize(SerializationUtils.java:166)[commons-lang-2.6.jar:2.6] at org.apache.commons.lang.SerializationUtils.deserialize(SerializationUtils.java:193)[commons-lang-2.6.jar:2.6] at org.apache.commons.lang.SerializationUtils.clone(SerializationUtils.java:81)[commons-lang-2.6.jar:2.6] at org.artifactory.config.CentralConfigServiceImpl.getMutableDescriptor(CentralConfigServiceImpl.java:221)[artifactory-core-3.5.1.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_60] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[na:1.7.0_60] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_60] at java.lang.reflect.Method.invoke(Method.java:606)[na:1.7.0_60] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)[spring-aop-4.1.4.RELEASE.jar:4.1.4.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201)[spring-aop-4.1.4.RELEASE.jar:4.1.4.RELEASE] at com.sun.proxy.$Proxy33.getMutableDescriptor(Unknown Source)[na:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_60] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[na:1.7.0_60] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_60] at java.lang.reflect.Method.invoke(Method.java:606)[na:1.7.0_60] at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:416)[wicket-ioc-1.5.5.jar:1.5.5] at org.apache.wicket.proxy.$Proxy110.getMutableDescriptor(Unknown Source)[na:1.5.5] at org.artifactory.webapp.wicket.page.config.general.GeneralConfigPage.<init>(GeneralConfigPage.java:67)[artifactory-web-application-3.5.1.jar:na] ... 56 more Caused by: java.lang.ClassNotFoundException: org.artifactory.descriptor.config.CentralConfigDescriptorImpl at java.net.URLClassLoader$1.run(URLClassLoader.java:366)[na:1.7.0_60] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)[na:1.7.0_60] at java.security.AccessController.doPrivileged(Native Method)[na:1.7.0_60] at java.net.URLClassLoader.findClass(URLClassLoader.java:354)[na:1.7.0_60] at java.lang.ClassLoader.loadClass(ClassLoader.java:425)[na:1.7.0_60] at java.lang.ClassLoader.loadClass(ClassLoader.java:358)[na:1.7.0_60] at java.lang.Class.forName0(Native Method)[na:1.7.0_60] at java.lang.Class.forName(Class.java:270)[na:1.7.0_60] at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:625)[na:1.7.0_60] at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1612)[na:1.7.0_60] at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1517)[na:1.7.0_60] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)[na:1.7.0_60] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)[na:1.7.0_60] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)[na:1.7.0_60] at org.apache.commons.lang.SerializationUtils.deserialize(SerializationUtils.java:163)[commons-lang-2.6.jar:2.6] ... 73 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

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    1195 more bugmates