java.lang.IllegalArgumentException: [Assertion failed] - this expression must be true

Spring JIRA | Ben Alex | 7 years 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

    (Logged by Ben on behalf of rj) Entering "script --file ~/Do" then hitting TAB will blow up: {code} balex@tara:~/t2$ roo-dev ____ ____ ____ / __ \/ __ \/ __ \ / /_/ / / / / / / / / _, _/ /_/ / /_/ / /_/ |_|\____/\____/ ENGINEERING BUILD [rev 601:602] Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER. roo> script --file ~/DoException in thread "main" java.lang.IllegalArgumentException: [Assertion failed] - this expression must be true at org.springframework.roo.support.util.Assert.isTrue(Assert.java:65) at org.springframework.roo.support.util.Assert.isTrue(Assert.java:77) at org.springframework.roo.shell.converters.FileConverter.populate(FileConverter.java:42) at org.springframework.roo.shell.converters.FileConverter.getAllPossibleValues(FileConverter.java:35) at org.springframework.roo.shell.SimpleParser.complete(SimpleParser.java:633) at org.springframework.roo.shell.jline.JLineCompletorAdapter.complete(JLineCompletorAdapter.java:30) at jline.ConsoleReader.complete(ConsoleReader.java:832) at jline.ConsoleReader.readLine(ConsoleReader.java:518) at jline.ConsoleReader.readLine(ConsoleReader.java:448) at jline.ConsoleReader.readLine(ConsoleReader.java:300) at org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:150) at org.springframework.roo.bootstrap.Bootstrap.run(Bootstrap.java:114) at org.springframework.roo.bootstrap.Bootstrap.main(Bootstrap.java:53) {code}

    Spring JIRA | 7 years ago | Ben Alex
    java.lang.IllegalArgumentException: [Assertion failed] - this expression must be true
  2. 0

    (Logged by Ben on behalf of rj) Entering "script --file ~/Do" then hitting TAB will blow up: {code} balex@tara:~/t2$ roo-dev ____ ____ ____ / __ \/ __ \/ __ \ / /_/ / / / / / / / / _, _/ /_/ / /_/ / /_/ |_|\____/\____/ ENGINEERING BUILD [rev 601:602] Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER. roo> script --file ~/DoException in thread "main" java.lang.IllegalArgumentException: [Assertion failed] - this expression must be true at org.springframework.roo.support.util.Assert.isTrue(Assert.java:65) at org.springframework.roo.support.util.Assert.isTrue(Assert.java:77) at org.springframework.roo.shell.converters.FileConverter.populate(FileConverter.java:42) at org.springframework.roo.shell.converters.FileConverter.getAllPossibleValues(FileConverter.java:35) at org.springframework.roo.shell.SimpleParser.complete(SimpleParser.java:633) at org.springframework.roo.shell.jline.JLineCompletorAdapter.complete(JLineCompletorAdapter.java:30) at jline.ConsoleReader.complete(ConsoleReader.java:832) at jline.ConsoleReader.readLine(ConsoleReader.java:518) at jline.ConsoleReader.readLine(ConsoleReader.java:448) at jline.ConsoleReader.readLine(ConsoleReader.java:300) at org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:150) at org.springframework.roo.bootstrap.Bootstrap.run(Bootstrap.java:114) at org.springframework.roo.bootstrap.Bootstrap.main(Bootstrap.java:53) {code}

    Spring JIRA | 7 years ago | Ben Alex
    java.lang.IllegalArgumentException: [Assertion failed] - this expression must be true

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      [Assertion failed] - this expression must be true

      at org.springframework.roo.support.util.Assert.isTrue()
    2. org.springframework.roo
      JLineCompletorAdapter.complete
      1. org.springframework.roo.support.util.Assert.isTrue(Assert.java:65)
      2. org.springframework.roo.support.util.Assert.isTrue(Assert.java:77)
      3. org.springframework.roo.shell.converters.FileConverter.populate(FileConverter.java:42)
      4. org.springframework.roo.shell.converters.FileConverter.getAllPossibleValues(FileConverter.java:35)
      5. org.springframework.roo.shell.SimpleParser.complete(SimpleParser.java:633)
      6. org.springframework.roo.shell.jline.JLineCompletorAdapter.complete(JLineCompletorAdapter.java:30)
      6 frames
    3. SBT
      ConsoleReader.readLine
      1. jline.ConsoleReader.complete(ConsoleReader.java:832)
      2. jline.ConsoleReader.readLine(ConsoleReader.java:518)
      3. jline.ConsoleReader.readLine(ConsoleReader.java:448)
      4. jline.ConsoleReader.readLine(ConsoleReader.java:300)
      4 frames
    4. org.springframework.roo
      Bootstrap.main
      1. org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:150)
      2. org.springframework.roo.bootstrap.Bootstrap.run(Bootstrap.java:114)
      3. org.springframework.roo.bootstrap.Bootstrap.main(Bootstrap.java:53)
      3 frames