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

JFrog JIRA | Murray Carr | 7 years ago
  1. 0

    Can deploy to glassfish v3 but cannot go to home page. Here is stack trace org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor public org.artifactory.webapp.wicket.page.home.HomePage() 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.processEvents(BookmarkablePageRequestTarget.java:210) [wicket-1.3. 7.jar:1.3.7] at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1239) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.RequestCycle.step(RequestCycle.java:1316) [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:256) [web-core.jar:3.0-b74b] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215) [web-core.jar:3.0-b74b] 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:256) [web-core.jar:3.0-b74b] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215) [web-core.jar:3.0-b74b] 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:256) [web-core.jar:3.0-b74b] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215) [web-core.jar:3.0-b74b] 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:256) [web-core.jar:3.0-b74b] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215) [web-core.jar:3.0-b74b] 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:256) [web-core.jar:3.0-b74b] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215) [web-core.jar:3.0-b74b] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277) [web-core.jar:3.0-b74b] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188) [web-core.jar:3.0-b74b] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641) [web-core.jar:3.0-b74b] at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97) [web-glue.jar:3.0-b74b] at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85) [web-glue.jar:3.0-b74b] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185) [web-core.jar:3.0-b74b] at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:332) [web-core.jar:3.0-b74b] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:233) [web-core.jar:3.0-b74b] at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165) [kernel.jar:3.0-b74b] at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791) [grizzly-http.jar:1.9.18-k] at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693) [grizzly-http.jar:1.9.18-k] at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954) [grizzly-http.jar:1.9.18-k] at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170) [grizzly-http.jar:1.9.18-k] at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135) [grizzly-framework.jar:1.9.18-k] at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102) [grizzly-framework.jar:1.9.18-k] at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88) [grizzly-framework.jar:1.9.18-k] at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76) [grizzly-http.jar:1.9.18-k] at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53) [grizzly-framework.jar:1.9.18-k] at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57) [grizzly-framework.jar:1.9.18-k] at com.sun.grizzly.ContextTask.run(ContextTask.java:69) [grizzly-framework.jar:1.9.18-k] at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330) [grizzly-utils.jar:1.9.18-k] at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309) [grizzly-utils.jar:1.9.18-k] 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] ... 51 common frames omitted Caused by: java.lang.NullPointerException: Artifactory system properties are not bound to the current thread at org.artifactory.common.property.ArtifactorySystemProperties.get(ArtifactorySystemProperties.java:79) [artifactory-config-2.1.3.jar:na] at org.artifactory.common.ConstantValues.getString(ConstantValues.java:87) [artifactory-config-2.1.3.jar:na] at org.artifactory.config.CentralConfigServiceImpl.getVersionInfo(CentralConfigServiceImpl.java:189) [artifactory-core-2.1.3.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17] 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 $Proxy304.getVersionInfo(Unknown Source) [na:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17] |#]

    JFrog JIRA | 7 years ago | Murray Carr
    org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor public org.artifactory.webapp.wicket.page.home.HomePage()
  2. 0

    Can deploy to glassfish v3 but cannot go to home page. Here is stack trace org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor public org.artifactory.webapp.wicket.page.home.HomePage() 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.processEvents(BookmarkablePageRequestTarget.java:210) [wicket-1.3. 7.jar:1.3.7] at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1239) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.RequestCycle.step(RequestCycle.java:1316) [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:256) [web-core.jar:3.0-b74b] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215) [web-core.jar:3.0-b74b] 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:256) [web-core.jar:3.0-b74b] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215) [web-core.jar:3.0-b74b] 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:256) [web-core.jar:3.0-b74b] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215) [web-core.jar:3.0-b74b] 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:256) [web-core.jar:3.0-b74b] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215) [web-core.jar:3.0-b74b] 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:256) [web-core.jar:3.0-b74b] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215) [web-core.jar:3.0-b74b] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277) [web-core.jar:3.0-b74b] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188) [web-core.jar:3.0-b74b] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641) [web-core.jar:3.0-b74b] at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97) [web-glue.jar:3.0-b74b] at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85) [web-glue.jar:3.0-b74b] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185) [web-core.jar:3.0-b74b] at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:332) [web-core.jar:3.0-b74b] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:233) [web-core.jar:3.0-b74b] at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165) [kernel.jar:3.0-b74b] at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791) [grizzly-http.jar:1.9.18-k] at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693) [grizzly-http.jar:1.9.18-k] at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954) [grizzly-http.jar:1.9.18-k] at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170) [grizzly-http.jar:1.9.18-k] at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135) [grizzly-framework.jar:1.9.18-k] at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102) [grizzly-framework.jar:1.9.18-k] at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88) [grizzly-framework.jar:1.9.18-k] at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76) [grizzly-http.jar:1.9.18-k] at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53) [grizzly-framework.jar:1.9.18-k] at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57) [grizzly-framework.jar:1.9.18-k] at com.sun.grizzly.ContextTask.run(ContextTask.java:69) [grizzly-framework.jar:1.9.18-k] at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330) [grizzly-utils.jar:1.9.18-k] at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309) [grizzly-utils.jar:1.9.18-k] 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] ... 51 common frames omitted Caused by: java.lang.NullPointerException: Artifactory system properties are not bound to the current thread at org.artifactory.common.property.ArtifactorySystemProperties.get(ArtifactorySystemProperties.java:79) [artifactory-config-2.1.3.jar:na] at org.artifactory.common.ConstantValues.getString(ConstantValues.java:87) [artifactory-config-2.1.3.jar:na] at org.artifactory.config.CentralConfigServiceImpl.getVersionInfo(CentralConfigServiceImpl.java:189) [artifactory-core-2.1.3.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17] 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 $Proxy304.getVersionInfo(Unknown Source) [na:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17] |#]

    JFrog JIRA | 7 years ago | Murray Carr
    org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor public org.artifactory.webapp.wicket.page.home.HomePage()
  3. 0

    GitHub comment 86#173679716

    GitHub | 10 months ago | tshak
    java.lang.NullPointerException: properties
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Geronimo Deployment Error

    geronimo-user | 8 years ago | VijayR
    java.lang.NullPointerException: You have accessed the java:comp jndi context on a thread that has not initialized it
  6. 0

    Re: Geronimo Deployment Error

    geronimo-user | 8 years ago | chi runhua
    java.lang.NullPointerException: You have accessed the java:comp jndi context on a thread that has not initialized it

    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.NullPointerException

      Artifactory system properties are not bound to the current thread

      at org.artifactory.common.property.ArtifactorySystemProperties.get()
    2. org.artifactory.common
      ConstantValues.getString
      1. org.artifactory.common.property.ArtifactorySystemProperties.get(ArtifactorySystemProperties.java:79)[artifactory-config-2.1.3.jar:na]
      2. org.artifactory.common.ConstantValues.getString(ConstantValues.java:87)[artifactory-config-2.1.3.jar:na]
      2 frames
    3. org.artifactory.config
      CentralConfigServiceImpl.getVersionInfo
      1. org.artifactory.config.CentralConfigServiceImpl.getVersionInfo(CentralConfigServiceImpl.java:189)[artifactory-core-2.1.3.jar:na]
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_17]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_17]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_17]
      4. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_17]
      4 frames
    5. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)[spring-aop-2.5.6.jar:2.5.6]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)[spring-aop-2.5.6.jar:2.5.6]
      2 frames
    6. Unknown
      $Proxy304.getVersionInfo
      1. $Proxy304.getVersionInfo(Unknown Source)[na:na]
      1 frame
    7. Java RT
      NativeMethodAccessorImpl.invoke0
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_17]
      1 frame