You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Raghavendra Singh (JIRA)" <ji...@apache.org> on 2015/07/03 16:12:04 UTC

[jira] [Closed] (LENS-637) Jline version mismatch causing lens-cli.sh to fail

     [ https://issues.apache.org/jira/browse/LENS-637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raghavendra Singh closed LENS-637.
----------------------------------

> Jline version mismatch causing lens-cli.sh to fail
> --------------------------------------------------
>
>                 Key: LENS-637
>                 URL: https://issues.apache.org/jira/browse/LENS-637
>             Project: Apache Lens
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 2.2
>            Reporter: Varadharajan
>            Assignee: Varadharajan
>            Priority: Blocker
>             Fix For: 2.2
>
>         Attachments: LENS-637.01.patch
>
>
> lens-cli.sh on execution will fail with the below error because of another version of jline was in classpath [included transitively by spark-core_2.10]. 
> [ERROR] Terminal initialization failed; falling back to unsupported
> java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but interface was expected
> 	at jline.TerminalFactory.create(TerminalFactory.java:101)
> 	at jline.TerminalFactory.get(TerminalFactory.java:159)
> 	at jline.console.ConsoleReader.<init>(ConsoleReader.java:227)
> 	at jline.console.ConsoleReader.<init>(ConsoleReader.java:219)
> 	at jline.console.ConsoleReader.<init>(ConsoleReader.java:207)
> 	at org.springframework.shell.core.JLineShell.createConsoleReader(JLineShell.java:250)
> 	at org.springframework.shell.core.JLineShell.run(JLineShell.java:112)
> 	at java.lang.Thread.run(Thread.java:745)
> Exception in thread "Spring Shell" java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but interface was expected
> 	at jline.console.ConsoleReader.<init>(ConsoleReader.java:228)
> 	at jline.console.ConsoleReader.<init>(ConsoleReader.java:219)
> 	at jline.console.ConsoleReader.<init>(ConsoleReader.java:207)
> 	at org.springframework.shell.core.JLineShell.createConsoleReader(JLineShell.java:250)
> 	at org.springframework.shell.core.JLineShell.run(JLineShell.java:112)
> 	at java.lang.Thread.run(Thread.java:745)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)