java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

GitHub | Valdo197 | 5 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to poroszd , rafael and rafael . Or join the community to write better ones.
  1. 0
    samebug tip
    The solution is to run as root using sudo or to set different port in "application.properties" file, e.g. server.port=${port:8181}
  2. 0
    samebug tip
    All look like I had something else running on my machine that was interfering with it. Once I rebooted it runs without issue.
  3. 0
    samebug tip
    See if your keystore is correctly named and if your key files have the right name and are in the right place.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    You're probably missing the JKS keystore file or it's wrongly named, try to put it into the right path.
  6. 0

    Crash on startup

    GitHub | 5 months ago | Valdo197
    java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
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.IllegalStateException

    Tomcat connector in failed state

    at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.start()
  2. Spring Boot
    EmbeddedWebApplicationContext.finishRefresh
    1. org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.start(TomcatEmbeddedServletContainer.java:159)
    2. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.startEmbeddedServletContainer(EmbeddedWebApplicationContext.java:293)
    3. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:141)
    3 frames
  3. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
    1 frame
  4. Spring Boot
    SpringApplication.run
    1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)
    2. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:766)
    3. org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:361)
    4. org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
    5. org.springframework.boot.SpringApplication.run(SpringApplication.java:1191)
    6. org.springframework.boot.SpringApplication.run(SpringApplication.java:1180)
    6 frames
  5. net.dirtydeeds.discordsoundboard
    MainController.main
    1. net.dirtydeeds.discordsoundboard.MainController.main(MainController.java:20)
    1 frame
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  7. Spring Boot Loader
    MainMethodRunner.run
    1. org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:54)
    1 frame
  8. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame