karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Lietz (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (KARAF-4901) Make warning for "Unable to create a system terminal" less verbose
Date Fri, 27 Jan 2017 17:01:24 GMT

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

Oliver Lietz reopened KARAF-4901:
---------------------------------

> Make warning for "Unable to create a system terminal" less verbose
> ------------------------------------------------------------------
>
>                 Key: KARAF-4901
>                 URL: https://issues.apache.org/jira/browse/KARAF-4901
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-shell
>    Affects Versions: 4.1.0
>         Environment: Mac, Pax Exam
>            Reporter: Oliver Lietz
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>
> {noformat}
> 2016-12-20T11:23:11,705 | WARN  | pool-3-thread-1  |                                
 | 165 - org.jline - 3.1.1 | Creating a dumb terminal
> java.lang.IllegalStateException: Unable to create a system terminal
> 	at org.jline.terminal.TerminalBuilder.doBuild(TerminalBuilder.java:177) ~[?:?]
> 	at org.jline.terminal.TerminalBuilder.build(TerminalBuilder.java:149) ~[?:?]
> 	at org.apache.karaf.shell.impl.console.osgi.LocalConsoleManager.start(LocalConsoleManager.java:63)
~[?:?]
> 	at org.apache.karaf.shell.impl.console.osgi.Activator.start(Activator.java:114) ~[?:?]
> 	at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:697)
~[?:?]
> 	at org.apache.felix.framework.Felix.activateBundle(Felix.java:2226) ~[?:?]
> 	at org.apache.felix.framework.Felix.startBundle(Felix.java:2144) ~[?:?]
> 	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998) ~[?:?]
> 	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984) ~[?:?]
> 	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1281)
~[?:?]
> 	at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:890) ~[?:?]
> 	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1170)
~[?:?]
> 	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$0(FeaturesServiceImpl.java:1069)
~[?:?]
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:?]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:?]
> 	at java.lang.Thread.run(Thread.java:745) [?:?]
> 	Suppressed: com.sun.jna.LastErrorException: [25] Inappropriate ioctl for device
> 		at com.sun.jna.Native.invokeVoid(Native Method) ~[?:?]
> 		at com.sun.jna.Function.invoke(Function.java:374) ~[?:?]
> 		at com.sun.jna.Function.invoke(Function.java:323) ~[?:?]
> 		at com.sun.jna.Library$Handler.invoke(Library.java:236) ~[?:?]
> 		at com.sun.proxy.$Proxy48.ttyname_r(Unknown Source) ~[?:?]
> 		at org.jline.terminal.impl.jna.osx.OsXNativePty.current(OsXNativePty.java:34) ~[?:?]
> 		at org.jline.terminal.impl.jna.JnaNativePty.current(JnaNativePty.java:38) ~[?:?]
> 		at org.jline.terminal.TerminalBuilder.doBuild(TerminalBuilder.java:210) ~[?:?]
> 		at org.jline.terminal.TerminalBuilder.build(TerminalBuilder.java:149) ~[?:?]
> 		at org.apache.karaf.shell.impl.console.osgi.LocalConsoleManager.start(LocalConsoleManager.java:63)
~[?:?]
> 		at org.apache.karaf.shell.impl.console.osgi.Activator.start(Activator.java:114) ~[?:?]
> 		at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:697)
~[?:?]
> 		at org.apache.felix.framework.Felix.activateBundle(Felix.java:2226) ~[?:?]
> 		at org.apache.felix.framework.Felix.startBundle(Felix.java:2144) ~[?:?]
> 		at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998) ~[?:?]
> 		at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984) ~[?:?]
> 		at org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1281)
~[?:?]
> 		at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:890) ~[?:?]
> 		at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1170)
~[?:?]
> 		at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$0(FeaturesServiceImpl.java:1069)
~[?:?]
> 		at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
> 		at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[?:?]
> 		at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[?:?]
> 		at java.lang.Thread.run(Thread.java:745) [?:?]
> 	Suppressed: java.io.IOException: Not a tty
> 		at org.jline.terminal.impl.ExecPty.current(ExecPty.java:43) ~[?:?]
> 		at org.jline.terminal.TerminalBuilder.doBuild(TerminalBuilder.java:219) ~[?:?]
> 		at org.jline.terminal.TerminalBuilder.build(TerminalBuilder.java:149) ~[?:?]
> 		at org.apache.karaf.shell.impl.console.osgi.LocalConsoleManager.start(LocalConsoleManager.java:63)
~[?:?]
> 		at org.apache.karaf.shell.impl.console.osgi.Activator.start(Activator.java:114) ~[?:?]
> 		at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:697)
~[?:?]
> 		at org.apache.felix.framework.Felix.activateBundle(Felix.java:2226) ~[?:?]
> 		at org.apache.felix.framework.Felix.startBundle(Felix.java:2144) ~[?:?]
> 		at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998) ~[?:?]
> 		at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984) ~[?:?]
> 		at org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1281)
~[?:?]
> 		at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:890) ~[?:?]
> 		at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1170)
~[?:?]
> 		at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$0(FeaturesServiceImpl.java:1069)
~[?:?]
> 		at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
> 		at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[?:?]
> 		at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[?:?]
> 		at java.lang.Thread.run(Thread.java:745) [?:?]
> 	Caused by: java.io.IOException: Error executing 'tty': not a tty
> 		at org.jline.utils.ExecHelper.exec(ExecHelper.java:42) ~[?:?]
> 		at org.jline.terminal.impl.ExecPty.current(ExecPty.java:40) ~[?:?]
> 		... 17 more
> {noformat}



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

Mime
View raw message