Hello

Did you by any chance get a thread dump? That's really strange... It works
fine on Linux, so JLine seems to be the problem... I don't have Windows box
at hand so it'll take more time for me...

regards
Grzegorz Grzybek

2018-01-04 12:59 GMT+01:00 Maurice Betzel <[email protected]>:

> Using platform: Windows 10 x86_64, Java 1.8.0_144, Karaf 4.1.2, Pax Web
> 6.1.0
>
> Trying to install pax-http-whiteboard on karaf lockes up the console.
> To reproduce, start up a clean karaf and add pax-web features:
>
> karaf@root()> feature:repo-add mvn:org.ops4j.pax.web/pax-web-features/6.1.
> 0/xml/features
>
> Installing pax-http-whiteboard:
>
> karaf@root()> feature:install pax-http-whiteboard/6.1.0
>
> JLine gives a exception along the way, log:
>
> 2018-01-04T12:56:00,835 | DEBUG | features-1-thread-1 |
> jline                            | 49 - org.jline - 3.4.0 | Error
> creating JNA based terminal: [6] The handle is invalid.
> com.sun.jna.LastErrorException: [6] The handle is invalid.
>     at com.sun.jna.Native.invokeVoid(Native Method) ~[?:?]
>     at com.sun.jna.Function.invoke(Function.java:408) ~[?:?]
>     at com.sun.jna.Function.invoke(Function.java:354) ~[?:?]
>     at com.sun.jna.Library$Handler.invoke(Library.java:244) ~[?:?]
>     at org.jline.terminal.impl.jna.win.$Proxy52.
> GetConsoleScreenBufferInfo(Unknown Source) ~[?:?]
>     at org.jline.terminal.impl.jna.win.WindowsAnsiOutputStream.
> getConsoleInfo(WindowsAnsiOutputStream.java:92) ~[?:?]
>     at org.jline.terminal.impl.jna.win.WindowsAnsiOutputStream.<
> init>(WindowsAnsiOutputStream.java:86) ~[?:?]
>     at 
> org.jline.terminal.impl.jna.win.JnaWinSysTerminal.<init>(JnaWinSysTerminal.java:38)
> ~[?:?]
>     at 
> org.jline.terminal.impl.jna.JnaSupportImpl.winSysTerminal(JnaSupportImpl.java:25)
> ~[?:?]
>     at org.jline.terminal.TerminalBuilder.doBuild(TerminalBuilder.java:243)
> ~[?:?]
>     at org.jline.terminal.TerminalBuilder.build(TerminalBuilder.java:172)
> ~[?:?]
>     at 
> org.apache.karaf.shell.impl.console.osgi.LocalConsoleManager.start(LocalConsoleManager.java:65)
> ~[?:?]
>     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:2239)
> ~[?:?]
>     at org.apache.felix.framework.Felix.startBundle(Felix.java:2145)
> ~[?:?]
>     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:1346) ~[?:?]
>     at 
> org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:891)
> ~[?:?]
>     at org.apache.karaf.features.internal.service.FeaturesServiceImpl.
> doProvision(FeaturesServiceImpl.java:1233) ~[?:?]
>     at org.apache.karaf.features.internal.service.
> FeaturesServiceImpl.lambda$doProvisionInThread$0(FeaturesServiceImpl.java:1132)
> ~[?:?]
>     at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
>     at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> [?:?]
>     at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> [?:?]
>     at java.lang.Thread.run(Thread.java:748) [?:?]
> 2018-01-04T12:56:00,851 | DEBUG | features-1-thread-1 |
> jline                            | 49 - org.jline - 3.4.0 | Error
> creating JANSI based terminal: Could not get the screen info: T
>
> --
> --
> ------------------
> OPS4J - http://www.ops4j.org - [email protected]
>
> ---
> You received this message because you are subscribed to the Google Groups
> "OPS4J" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
------------------
OPS4J - http://www.ops4j.org - [email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to