java.lang.IllegalStateException: Could not determine kind: tab-completion-count-1 existing-job disable-string-converter

Spring JIRA | Eric Bottard | 2 years ago
  1. 0

    The XD shell completion crashes on: job launch --name <TAB> gives {noformat} xd:>job launch --name Exception in thread "Spring Shell" java.lang.IllegalStateException: Could not determine kind: tab-completion-count-1 existing-job disable-string-converter at org.springframework.xd.shell.converter.CompletionConverter.determineKind(CompletionConverter.java:109) at org.springframework.xd.shell.converter.CompletionConverter.getAllPossibleValues(CompletionConverter.java:69) at org.springframework.shell.core.SimpleParser.completeAdvanced(SimpleParser.java:857) at org.springframework.shell.core.ParserCompleter.complete(ParserCompleter.java:47) at jline.console.ConsoleReader.complete(ConsoleReader.java:3077) at jline.console.ConsoleReader.readLine(ConsoleReader.java:2501) at jline.console.ConsoleReader.readLine(ConsoleReader.java:2162) at jline.console.ConsoleReader.readLine(ConsoleReader.java:2150) at org.springframework.shell.core.JLineShell.promptLoop(JLineShell.java:522) at org.springframework.shell.core.JLineShell.run(JLineShell.java:179) at java.lang.Thread.run(Thread.java:744) {noformat} Moreover, seems completion generally crashes when the server is not up (which was taken care of previously if I'm not mistaken): xd:>job destroy --name <TAB> {noformat} Exception in thread "Spring Shell" org.springframework.web.client.ResourceAccessException: I/O error on GET request for "http://localhost:9393/jobs/definitions?size=10000&deployments=true":Connection refused; nested exception is java.net.ConnectException: Connection refused at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:561) at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:506) at org.springframework.web.client.RestTemplate.getForObject(RestTemplate.java:243) at org.springframework.xd.rest.client.impl.JobTemplate.list(JobTemplate.java:121) at org.springframework.xd.rest.client.impl.JobTemplate.list(JobTemplate.java:40) at org.springframework.xd.shell.converter.ExistingXDEntityConverter.getAllPossibleValues(ExistingXDEntityConverter.java:72) at org.springframework.shell.core.SimpleParser.completeAdvanced(SimpleParser.java:857) at org.springframework.shell.core.ParserCompleter.complete(ParserCompleter.java:47) at jline.console.ConsoleReader.complete(ConsoleReader.java:3077) at jline.console.ConsoleReader.readLine(ConsoleReader.java:2501) at jline.console.ConsoleReader.readLine(ConsoleReader.java:2162) at jline.console.ConsoleReader.readLine(ConsoleReader.java:2150) at org.springframework.shell.core.JLineShell.promptLoop(JLineShell.java:522) at org.springframework.shell.core.JLineShell.run(JLineShell.java:179) at java.lang.Thread.run(Thread.java:744) Caused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:579) at java.net.Socket.connect(Socket.java:528) at sun.net.NetworkClient.doConnect(NetworkClient.java:180) at sun.net.www.http.HttpClient.openServer(HttpClient.java:432) at sun.net.www.http.HttpClient.openServer(HttpClient.java:527) at sun.net.www.http.HttpClient.<init>(HttpClient.java:211) at sun.net.www.http.HttpClient.New(HttpClient.java:308) at sun.net.www.http.HttpClient.New(HttpClient.java:326) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:996) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:932) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:850) at org.springframework.http.client.SimpleBufferingClientHttpRequest.executeInternal(SimpleBufferingClientHttpRequest.java:78) at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48) at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:52) {noformat}

    Spring JIRA | 2 years ago | Eric Bottard
    java.lang.IllegalStateException: Could not determine kind: tab-completion-count-1 existing-job disable-string-converter
  2. 0

    The XD shell completion crashes on: job launch --name <TAB> gives {noformat} xd:>job launch --name Exception in thread "Spring Shell" java.lang.IllegalStateException: Could not determine kind: tab-completion-count-1 existing-job disable-string-converter at org.springframework.xd.shell.converter.CompletionConverter.determineKind(CompletionConverter.java:109) at org.springframework.xd.shell.converter.CompletionConverter.getAllPossibleValues(CompletionConverter.java:69) at org.springframework.shell.core.SimpleParser.completeAdvanced(SimpleParser.java:857) at org.springframework.shell.core.ParserCompleter.complete(ParserCompleter.java:47) at jline.console.ConsoleReader.complete(ConsoleReader.java:3077) at jline.console.ConsoleReader.readLine(ConsoleReader.java:2501) at jline.console.ConsoleReader.readLine(ConsoleReader.java:2162) at jline.console.ConsoleReader.readLine(ConsoleReader.java:2150) at org.springframework.shell.core.JLineShell.promptLoop(JLineShell.java:522) at org.springframework.shell.core.JLineShell.run(JLineShell.java:179) at java.lang.Thread.run(Thread.java:744) {noformat} Moreover, seems completion generally crashes when the server is not up (which was taken care of previously if I'm not mistaken): xd:>job destroy --name <TAB> {noformat} Exception in thread "Spring Shell" org.springframework.web.client.ResourceAccessException: I/O error on GET request for "http://localhost:9393/jobs/definitions?size=10000&deployments=true":Connection refused; nested exception is java.net.ConnectException: Connection refused at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:561) at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:506) at org.springframework.web.client.RestTemplate.getForObject(RestTemplate.java:243) at org.springframework.xd.rest.client.impl.JobTemplate.list(JobTemplate.java:121) at org.springframework.xd.rest.client.impl.JobTemplate.list(JobTemplate.java:40) at org.springframework.xd.shell.converter.ExistingXDEntityConverter.getAllPossibleValues(ExistingXDEntityConverter.java:72) at org.springframework.shell.core.SimpleParser.completeAdvanced(SimpleParser.java:857) at org.springframework.shell.core.ParserCompleter.complete(ParserCompleter.java:47) at jline.console.ConsoleReader.complete(ConsoleReader.java:3077) at jline.console.ConsoleReader.readLine(ConsoleReader.java:2501) at jline.console.ConsoleReader.readLine(ConsoleReader.java:2162) at jline.console.ConsoleReader.readLine(ConsoleReader.java:2150) at org.springframework.shell.core.JLineShell.promptLoop(JLineShell.java:522) at org.springframework.shell.core.JLineShell.run(JLineShell.java:179) at java.lang.Thread.run(Thread.java:744) Caused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:579) at java.net.Socket.connect(Socket.java:528) at sun.net.NetworkClient.doConnect(NetworkClient.java:180) at sun.net.www.http.HttpClient.openServer(HttpClient.java:432) at sun.net.www.http.HttpClient.openServer(HttpClient.java:527) at sun.net.www.http.HttpClient.<init>(HttpClient.java:211) at sun.net.www.http.HttpClient.New(HttpClient.java:308) at sun.net.www.http.HttpClient.New(HttpClient.java:326) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:996) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:932) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:850) at org.springframework.http.client.SimpleBufferingClientHttpRequest.executeInternal(SimpleBufferingClientHttpRequest.java:78) at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48) at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:52) {noformat}

    Spring JIRA | 2 years ago | Eric Bottard
    java.lang.IllegalStateException: Could not determine kind: tab-completion-count-1 existing-job disable-string-converter
  3. 0

    GeoServer / Mailing Lists

    sourceforge.net | 1 year ago
    java.lang.IllegalStateException: Could not determine feature type for generated element. Must specify explicitly in schema.xsd.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Crash on 2database access with encryption enabled

    GitHub | 2 years ago | iflatness
    io.realm.exceptions.RealmMigrationNeededException

    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

      Could not determine kind: tab-completion-count-1 existing-job disable-string-converter

      at org.springframework.xd.shell.converter.CompletionConverter.determineKind()
    2. org.springframework.xd
      CompletionConverter.getAllPossibleValues
      1. org.springframework.xd.shell.converter.CompletionConverter.determineKind(CompletionConverter.java:109)
      2. org.springframework.xd.shell.converter.CompletionConverter.getAllPossibleValues(CompletionConverter.java:69)
      2 frames
    3. org.springframework.shell
      ParserCompleter.complete
      1. org.springframework.shell.core.SimpleParser.completeAdvanced(SimpleParser.java:857)
      2. org.springframework.shell.core.ParserCompleter.complete(ParserCompleter.java:47)
      2 frames
    4. SBT
      ConsoleReader.readLine
      1. jline.console.ConsoleReader.complete(ConsoleReader.java:3077)
      2. jline.console.ConsoleReader.readLine(ConsoleReader.java:2501)
      3. jline.console.ConsoleReader.readLine(ConsoleReader.java:2162)
      4. jline.console.ConsoleReader.readLine(ConsoleReader.java:2150)
      4 frames
    5. org.springframework.shell
      JLineShell.run
      1. org.springframework.shell.core.JLineShell.promptLoop(JLineShell.java:522)
      2. org.springframework.shell.core.JLineShell.run(JLineShell.java:179)
      2 frames
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:744)
      1 frame