-
Bug
-
Resolution: Done
-
Major
-
jbossws-cxf-5.5.0.Final
-
None
[INFO] Running org.jboss.wsf.stack.cxf.addons.transports.undertow.UndertowServerEngineTest
1036Jun 21, 2022 10:52:01 AM io.undertow.Undertow start
1037INFO: starting server: Undertow - 2.2.9.Final
1038Jun 21, 2022 10:52:01 AM org.xnio.Xnio <clinit>
1039INFO: XNIO version 3.8.4.Final
1040Jun 21, 2022 10:52:01 AM org.xnio.nio.NioXnio <clinit>
1041INFO: XNIO NIO Implementation Version 3.8.4.Final
1042Jun 21, 2022 10:52:01 AM org.jboss.threads.Version <clinit>
1043INFO: JBoss Threads version 3.1.0.Final
1044Jun 21, 2022 10:52:02 AM io.undertow.server.Connectors executeRootHandler
1045ERROR: UT005071: Undertow request failed HttpServerExchange{ GET /hello/test}
1046java.io.IOError: java.io.FileNotFoundException: Invalid file path
1047 at org.xnio.channels.Channels$4.run(Channels.java:1103)
1048 at org.xnio.channels.Channels$4.run(Channels.java:1093)
1049 at java.base/java.security.AccessController.doPrivileged(Native Method)
1050 at org.xnio.channels.Channels.<clinit>(Channels.java:1093)
1051 at io.undertow.io.UndertowOutputStream.flush(UndertowOutputStream.java:283)
1052 at org.jboss.wsf.stack.cxf.addons.transports.undertow.UndertowServerEngineTest$MyTestHandler.handleRequest(UndertowServerEngineTest.java:199)
1053 at io.undertow.server.handlers.PathHandler.handleRequest(PathHandler.java:104)
1054 at io.undertow.server.Connectors.executeRootHandler(Connectors.java:387)
1055 at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:852)
1056 at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
1057 at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2019)
1058 at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1558)
1059 at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1423)
1060 at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1280)
1061 at java.base/java.lang.Thread.run(Thread.java:829)
1062Caused by: java.io.FileNotFoundException: Invalid file path
1063 at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:231)
1064 at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:126)
1065 at org.xnio.channels.Channels$4.run(Channels.java:1098)
1066 ... 14 more
1067
1068Jun 21, 2022 10:52:02 AM io.undertow.server.HttpServerExchange endExchange
1069ERROR: UT005090: Unexpected failure
1070java.lang.NoClassDefFoundError: Could not initialize class org.xnio.channels.Channels
1071 at io.undertow.io.UndertowOutputStream.close(UndertowOutputStream.java:348)
1072 at io.undertow.server.HttpServerExchange$DefaultBlockingHttpExchange.close(HttpServerExchange.java:2019)
1073 at io.undertow.server.HttpServerExchange.endExchange(HttpServerExchange.java:1700)
1074 at io.undertow.server.Connectors.executeRootHandler(Connectors.java:427)
1075 at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:852)
1076 at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
1077 at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2019)
1078 at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1558)
1079 at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1423)
1080 at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1280)
1081 at java.base/java.lang.Thread.run(Thread.java:829)
1082
1083Jun 21, 2022 10:52:02 AM io.undertow.Undertow stop
1084[JBWS-3702] FIXME: Add support for https protocol
1085INFO: stopping server: Undertow - 2.2.9.Final
1086Error: Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.257 s <<< FAILURE! - in org.jboss.wsf.stack.cxf.addons.transports.undertow.UndertowServerEngineTest
1087Error: testHandler(org.jboss.wsf.stack.cxf.addons.transports.undertow.UndertowServerEngineTest) Time elapsed: 0.949 s <<< ERROR!
1088java.lang.RuntimeException: java.io.IOException: Premature EOF
1089 at org.jboss.wsf.stack.cxf.addons.transports.undertow.UndertowServerEngineTest.pingServer(UndertowServerEngineTest.java:178)
1090 at org.jboss.wsf.stack.cxf.addons.transports.undertow.UndertowServerEngineTest.testHandler(UndertowServerEngineTest.java:150)
1091Caused by: java.io.IOException: Premature EOF
1092 at org.jboss.wsf.stack.cxf.addons.transports.undertow.UndertowServerEngineTest.pingServer(UndertowServerEngineTest.java:170)
1093 at org.jboss.wsf.stack.cxf.addons.transports.undertow.UndertowServerEngineTest.testHandler(UndertowServerEngineTest.java:150)
1094
1095[INFO]
1096[INFO] Results:
1097[INFO]
1098Error: Errors:
1099Error: UndertowServerEngineTest.testHandler:150->pingServer:178 Runtime java.io.IOExc...
1100[INFO]