java.lang.reflect.UndeclaredThrowableException

This exception has no message.

Samebug tips1

This is a bug that happens in Slide in versions 4.2.0 and before. Update to 4.2.2 or further to fix it.

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

Solutions on the web1409

  • via Terracotta by andrewm, 11 months ago
    This exception has no message.
  • via Terracotta by unimib, 11 months ago
    This exception has no message.
  • via Terracotta by lrohan, 2 weeks ago
    This exception has no message.
  • Stack trace

    • java.lang.reflect.UndeclaredThrowableException at org.springframework.util.ReflectionUtils.rethrowRuntimeException(ReflectionUtils.java:317)[spring-core-4.3.4.RELEASE.jar!/:4.3.4.RELEASE] at org.springframework.cloud.zookeeper.config.ZookeeperPropertySource.findProperties(ZookeeperPropertySource.java:104)[spring-cloud-zookeeper-config-1.0.3.RELEASE.jar!/:1.0.3.RELEASE] at org.springframework.cloud.zookeeper.config.ZookeeperPropertySource.<init>(ZookeeperPropertySource.java:46)[spring-cloud-zookeeper-config-1.0.3.RELEASE.jar!/:1.0.3.RELEASE] at org.springframework.cloud.zookeeper.config.ZookeeperPropertySourceLocator.create(ZookeeperPropertySourceLocator.java:116)[spring-cloud-zookeeper-config-1.0.3.RELEASE.jar!/:1.0.3.RELEASE] at org.springframework.cloud.zookeeper.config.ZookeeperPropertySourceLocator.locate(ZookeeperPropertySourceLocator.java:101)[spring-cloud-zookeeper-config-1.0.3.RELEASE.jar!/:1.0.3.RELEASE] at org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration.initialize(PropertySourceBootstrapConfiguration.java:89)[spring-cloud-context-1.1.6.RELEASE.jar!/:1.1.6.RELEASE] at org.springframework.boot.SpringApplication.applyInitializers(SpringApplication.java:635)[spring-boot-1.4.2.RELEASE.jar!/:1.4.2.RELEASE] at org.springframework.boot.SpringApplication.prepareContext(SpringApplication.java:349)[spring-boot-1.4.2.RELEASE.jar!/:1.4.2.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:313)[spring-boot-1.4.2.RELEASE.jar!/:1.4.2.RELEASE] at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:134)[spring-boot-1.4.2.RELEASE.jar!/:1.4.2.RELEASE] at org.apereo.cas.web.CasWebApplication.main(CasWebApplication.java:61)[cas-server-webapp-init-5.0.2.jar!/:5.0.2] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_111] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_111] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_111] at java.lang.reflect.Method.invoke(Method.java:498)[?:1.8.0_111] at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)[cas-pki-war-1.0.war:?] at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)[cas-pki-war-1.0.war:?] at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)[cas-pki-war-1.0.war:?] at org.springframework.boot.loader.WarLauncher.main(WarLauncher.java:59)[cas-pki-war-1.0.war:?] Caused by: java.net.UnknownHostException: zookeeper1 at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)[?:1.8.0_111] at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928)[?:1.8.0_111] at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323)[?:1.8.0_111] at java.net.InetAddress.getAllByName0(InetAddress.java:1276)[?:1.8.0_111] at java.net.InetAddress.getAllByName(InetAddress.java:1192)[?:1.8.0_111] at java.net.InetAddress.getAllByName(InetAddress.java:1126)[?:1.8.0_111] at org.apache.zookeeper.client.StaticHostProvider.<init>(StaticHostProvider.java:61)[zookeeper-3.4.6.jar!/:3.4.6-1569965] at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:445)[zookeeper-3.4.6.jar!/:3.4.6-1569965] at org.apache.curator.utils.DefaultZookeeperFactory.newZooKeeper(DefaultZookeeperFactory.java:29)[curator-client-2.10.0.jar!/:?] at org.apache.curator.framework.imps.CuratorFrameworkImpl$2.newZooKeeper(CuratorFrameworkImpl.java:150)[curator-framework-2.10.0.jar!/:?] at org.apache.curator.HandleHolder$1.getZooKeeper(HandleHolder.java:94)[curator-client-2.10.0.jar!/:?] at org.apache.curator.HandleHolder.internalClose(HandleHolder.java:128)[curator-client-2.10.0.jar!/:?] at org.apache.curator.HandleHolder.closeAndReset(HandleHolder.java:77)[curator-client-2.10.0.jar!/:?] at org.apache.curator.ConnectionState.reset(ConnectionState.java:217)[curator-client-2.10.0.jar!/:?] at org.apache.curator.ConnectionState.checkTimeouts(ConnectionState.java:193)[curator-client-2.10.0.jar!/:?] at org.apache.curator.ConnectionState.getZooKeeper(ConnectionState.java:88)[curator-client-2.10.0.jar!/:?] at org.apache.curator.CuratorZookeeperClient.getZooKeeper(CuratorZookeeperClient.java:116)[curator-client-2.10.0.jar!/:?] at org.apache.curator.framework.imps.CuratorFrameworkImpl.getZooKeeper(CuratorFrameworkImpl.java:489)[curator-framework-2.10.0.jar!/:?] at org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:214)[curator-framework-2.10.0.jar!/:?] at org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:203)[curator-framework-2.10.0.jar!/:?] at org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:108)[curator-client-2.10.0.jar!/:?] at org.apache.curator.framework.imps.GetChildrenBuilderImpl.pathInForeground(GetChildrenBuilderImpl.java:200)[curator-framework-2.10.0.jar!/:?] at org.apache.curator.framework.imps.GetChildrenBuilderImpl.forPath(GetChildrenBuilderImpl.java:191)[curator-framework-2.10.0.jar!/:?] at org.apache.curator.framework.imps.GetChildrenBuilderImpl.forPath(GetChildrenBuilderImpl.java:38)[curator-framework-2.10.0.jar!/:?] at org.springframework.cloud.zookeeper.config.ZookeeperPropertySource.getChildren(ZookeeperPropertySource.java:116)[spring-cloud-zookeeper-config-1.0.3.RELEASE.jar!/:1.0.3.RELEASE] at org.springframework.cloud.zookeeper.config.ZookeeperPropertySource.findProperties(ZookeeperPropertySource.java:81)[spring-cloud-zookeeper-config-1.0.3.RELEASE.jar!/:1.0.3.RELEASE] ... 17 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

    2 times, 9 months ago
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    37 times, 4 months ago
    113 more bugmates