java.lang.reflect.UndeclaredThrowableException

GitHub | hdeadman | 2 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0
    samebug tip
    You could be missing na annotation (@Service or @Component) or the <bean> definition in the xml. Also, look if the class where your implementation is located is properly scanned (check "<context:component-scan base-package=")
    via goo.gl
  2. 0

    GIT_REPO ConnectException when starting DiscoveryServerApplication

    GitHub | 4 months ago | arey
    java.lang.IllegalStateException: No directory at file:///${GIT_REPO}
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Unable to authenticate with configuration server

    GitHub | 4 months ago | robscully
    java.lang.IllegalStateException: Could not locate PropertySource and the fail fast property is set, failing

  1. Raggyman 2 times, last 6 months ago
  2. Nikolay Rybak 1 times, last 8 months ago
  3. batwalrus76 37 times, last 3 weeks ago
  4. iferca 1 times, last 1 month ago
  5. Adrien 2 times, last 2 months ago
43 more registered users
49 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.net.UnknownHostException

    zookeeper1

    at java.net.Inet4AddressImpl.lookupAllHostAddr()
  2. Java RT
    InetAddress.getAllByName
    1. java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)[?:1.8.0_111]
    2. java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928)[?:1.8.0_111]
    3. java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323)[?:1.8.0_111]
    4. java.net.InetAddress.getAllByName0(InetAddress.java:1276)[?:1.8.0_111]
    5. java.net.InetAddress.getAllByName(InetAddress.java:1192)[?:1.8.0_111]
    6. java.net.InetAddress.getAllByName(InetAddress.java:1126)[?:1.8.0_111]
    6 frames
  3. Zookeeper
    ZooKeeper.<init>
    1. org.apache.zookeeper.client.StaticHostProvider.<init>(StaticHostProvider.java:61)[zookeeper-3.4.6.jar!/:3.4.6-1569965]
    2. org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:445)[zookeeper-3.4.6.jar!/:3.4.6-1569965]
    2 frames
  4. Curator Client
    DefaultZookeeperFactory.newZooKeeper
    1. org.apache.curator.utils.DefaultZookeeperFactory.newZooKeeper(DefaultZookeeperFactory.java:29)[curator-client-2.10.0.jar!/:?]
    1 frame
  5. Curator Framework
    CuratorFrameworkImpl$2.newZooKeeper
    1. org.apache.curator.framework.imps.CuratorFrameworkImpl$2.newZooKeeper(CuratorFrameworkImpl.java:150)[curator-framework-2.10.0.jar!/:?]
    1 frame
  6. Fabric8
    CuratorZookeeperClient.getZooKeeper
    1. org.apache.curator.HandleHolder$1.getZooKeeper(HandleHolder.java:94)[curator-client-2.10.0.jar!/:?]
    2. org.apache.curator.HandleHolder.internalClose(HandleHolder.java:128)[curator-client-2.10.0.jar!/:?]
    3. org.apache.curator.HandleHolder.closeAndReset(HandleHolder.java:77)[curator-client-2.10.0.jar!/:?]
    4. org.apache.curator.ConnectionState.reset(ConnectionState.java:217)[curator-client-2.10.0.jar!/:?]
    5. org.apache.curator.ConnectionState.checkTimeouts(ConnectionState.java:193)[curator-client-2.10.0.jar!/:?]
    6. org.apache.curator.ConnectionState.getZooKeeper(ConnectionState.java:88)[curator-client-2.10.0.jar!/:?]
    7. org.apache.curator.CuratorZookeeperClient.getZooKeeper(CuratorZookeeperClient.java:116)[curator-client-2.10.0.jar!/:?]
    7 frames
  7. Curator Framework
    GetChildrenBuilderImpl$3.call
    1. org.apache.curator.framework.imps.CuratorFrameworkImpl.getZooKeeper(CuratorFrameworkImpl.java:489)[curator-framework-2.10.0.jar!/:?]
    2. org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:214)[curator-framework-2.10.0.jar!/:?]
    3. org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:203)[curator-framework-2.10.0.jar!/:?]
    3 frames
  8. Fabric8
    RetryLoop.callWithRetry
    1. org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:108)[curator-client-2.10.0.jar!/:?]
    1 frame
  9. Curator Framework
    GetChildrenBuilderImpl.forPath
    1. org.apache.curator.framework.imps.GetChildrenBuilderImpl.pathInForeground(GetChildrenBuilderImpl.java:200)[curator-framework-2.10.0.jar!/:?]
    2. org.apache.curator.framework.imps.GetChildrenBuilderImpl.forPath(GetChildrenBuilderImpl.java:191)[curator-framework-2.10.0.jar!/:?]
    3. org.apache.curator.framework.imps.GetChildrenBuilderImpl.forPath(GetChildrenBuilderImpl.java:38)[curator-framework-2.10.0.jar!/:?]
    3 frames
  10. org.springframework.cloud
    PropertySourceBootstrapConfiguration.initialize
    1. org.springframework.cloud.zookeeper.config.ZookeeperPropertySource.getChildren(ZookeeperPropertySource.java:116)[spring-cloud-zookeeper-config-1.0.3.RELEASE.jar!/:1.0.3.RELEASE]
    2. org.springframework.cloud.zookeeper.config.ZookeeperPropertySource.findProperties(ZookeeperPropertySource.java:81)[spring-cloud-zookeeper-config-1.0.3.RELEASE.jar!/:1.0.3.RELEASE]
    3. org.springframework.cloud.zookeeper.config.ZookeeperPropertySource.<init>(ZookeeperPropertySource.java:46)[spring-cloud-zookeeper-config-1.0.3.RELEASE.jar!/:1.0.3.RELEASE]
    4. org.springframework.cloud.zookeeper.config.ZookeeperPropertySourceLocator.create(ZookeeperPropertySourceLocator.java:116)[spring-cloud-zookeeper-config-1.0.3.RELEASE.jar!/:1.0.3.RELEASE]
    5. org.springframework.cloud.zookeeper.config.ZookeeperPropertySourceLocator.locate(ZookeeperPropertySourceLocator.java:101)[spring-cloud-zookeeper-config-1.0.3.RELEASE.jar!/:1.0.3.RELEASE]
    6. org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration.initialize(PropertySourceBootstrapConfiguration.java:89)[spring-cloud-context-1.1.6.RELEASE.jar!/:1.1.6.RELEASE]
    6 frames
  11. Spring Boot
    SpringApplicationBuilder.run
    1. org.springframework.boot.SpringApplication.applyInitializers(SpringApplication.java:635)[spring-boot-1.4.2.RELEASE.jar!/:1.4.2.RELEASE]
    2. org.springframework.boot.SpringApplication.prepareContext(SpringApplication.java:349)[spring-boot-1.4.2.RELEASE.jar!/:1.4.2.RELEASE]
    3. org.springframework.boot.SpringApplication.run(SpringApplication.java:313)[spring-boot-1.4.2.RELEASE.jar!/:1.4.2.RELEASE]
    4. org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:134)[spring-boot-1.4.2.RELEASE.jar!/:1.4.2.RELEASE]
    4 frames
  12. org.apereo.cas
    CasWebApplication.main
    1. org.apereo.cas.web.CasWebApplication.main(CasWebApplication.java:61)[cas-server-webapp-init-5.0.2.jar!/:5.0.2]
    1 frame
  13. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_111]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_111]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_111]
    4. java.lang.reflect.Method.invoke(Method.java:498)[?:1.8.0_111]
    4 frames
  14. Spring Boot Loader
    WarLauncher.main
    1. org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)[cas-pki-war-1.0.war:?]
    2. org.springframework.boot.loader.Launcher.launch(Launcher.java:87)[cas-pki-war-1.0.war:?]
    3. org.springframework.boot.loader.Launcher.launch(Launcher.java:50)[cas-pki-war-1.0.war:?]
    4. org.springframework.boot.loader.WarLauncher.main(WarLauncher.java:59)[cas-pki-war-1.0.war:?]
    4 frames