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

Amareshwari Sriramadasu updated LENS-637:
-----------------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Committed to both master and current-release-line. Thanks [~srinathsmn] !

> 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)

Reply via email to