java.lang.reflect.InvocationTargetException

issuehub.io | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    issuehub.io

    issuehub.io | 7 months ago
    java.lang.reflect.InvocationTargetException
  2. 0

    JedisConnection 连接到codis报错unkown reply

    GitHub | 1 year ago | huntingdream
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'enableRedisKeyspaceNotificationsInitializer' defined in class path resource [org/springframework/session/data/redis/config/annotation/web/http/RedisHttpSessionConfiguration.class]: Invocation of init method failed; nested exception is org.springframework.data.redis.RedisConnectionFailureException: Unknown reply: ; nested exception is redis.clients.jedis.exceptions.JedisConnectionException: Unknown reply:
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. redis.clients.jedis.exceptions.JedisConnectionException

      Unexpected end of stream.

      at redis.clients.util.RedisInputStream.ensureFill()
    2. Jedis
      Jedis.configGet
      1. redis.clients.util.RedisInputStream.ensureFill(RedisInputStream.java:198)
      2. redis.clients.util.RedisInputStream.readByte(RedisInputStream.java:40)
      3. redis.clients.jedis.Protocol.process(Protocol.java:141)
      4. redis.clients.jedis.Protocol.read(Protocol.java:205)
      5. redis.clients.jedis.Connection.readProtocolWithCheckingBroken(Connection.java:297)
      6. redis.clients.jedis.Connection.getBinaryMultiBulkReply(Connection.java:233)
      7. redis.clients.jedis.Connection.getMultiBulkReply(Connection.java:226)
      8. redis.clients.jedis.Jedis.configGet(Jedis.java:2541)
      8 frames
    3. Spring Data Redis
      JedisConnection.getConfig
      1. org.springframework.data.redis.connection.jedis.JedisConnection.getConfig(JedisConnection.java:569)
      1 frame
    4. org.springframework.session
      RedisHttpSessionConfiguration$EnableRedisKeyspaceNotificationsInitializer.afterPropertiesSet
      1. org.springframework.session.data.redis.config.ConfigureNotifyKeyspaceEventsAction.getNotifyOptions(ConfigureNotifyKeyspaceEventsAction.java:69)
      2. org.springframework.session.data.redis.config.ConfigureNotifyKeyspaceEventsAction.configure(ConfigureNotifyKeyspaceEventsAction.java:50)
      3. org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration$EnableRedisKeyspaceNotificationsInitializer.afterPropertiesSet(RedisHttpSessionConfiguration.java:176)
      3 frames
    5. Spring Beans
      DefaultListableBeanFactory.preInstantiateSingletons
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1637)
      2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574)
      3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
      5. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
      6. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
      7. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
      8. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
      9. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
      9 frames
    6. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839)
      2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538)
      2 frames
    7. 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
    8. com.rakuten.point
      PointClubApplication.main
      1. com.rakuten.point.pointclub.PointClubApplication.main(PointClubApplication.java:20)
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    10. Spring Boot Loader
      MainMethodRunner.run
      1. org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:54)
      1 frame
    11. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame