-
Bug
-
Resolution: Done
-
Major
-
None
Executing embed-server --admin-only=false will cause an NPE due to the fix in WFCORE-4358.
LogManager error of type FLUSH_FAILURE: Error on flush java.lang.NullPointerException at org.jboss.as.cli.embedded.ThreadLocalContextSelector.getStdioContext(ThreadLocalContextSelector.java:72) at org.jboss.stdio.StdioContext$1.getDelegate(StdioContext.java:148) at org.jboss.stdio.StdioContext$DelegatingPrintStream.write(StdioContext.java:264) at org.jboss.logmanager.handlers.UncloseableOutputStream.write(UncloseableOutputStream.java:44) at org.jboss.logmanager.handlers.UncloseableOutputStream.write(UncloseableOutputStream.java:44) at org.jboss.logmanager.handlers.UninterruptibleOutputStream.write(UninterruptibleOutputStream.java:84) at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221) at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291) at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:295) at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141) at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229) at java.io.BufferedWriter.flush(BufferedWriter.java:254) at org.jboss.logmanager.handlers.WriterHandler.safeFlush(WriterHandler.java:170) at org.jboss.logmanager.handlers.WriterHandler.flush(WriterHandler.java:139) at org.jboss.logmanager.ExtHandler.doPublish(ExtHandler.java:105) at org.jboss.logmanager.handlers.WriterHandler.doPublish(WriterHandler.java:67) at org.jboss.logmanager.ExtHandler.publish(ExtHandler.java:77) at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:333) at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:341) at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:341) at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:341) at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:341) at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:341) at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:341) at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:341) at org.jboss.logmanager.Logger.logRaw(Logger.java:850) at org.jboss.logmanager.Logger.log(Logger.java:802) at org.jboss.logmanager.Logger.log(Logger.java:814) at org.jboss.logging.JBossLogManagerLogger.doLog(JBossLogManagerLogger.java:42) at org.jboss.logging.Logger.error(Logger.java:1518) at org.jboss.logging.DelegatingBasicLogger.error(DelegatingBasicLogger.java:714) at org.jboss.jca.deployers.common.AbstractDsDeployer.createObjectsAndInjectValue(AbstractDsDeployer.java:328)
This is like due to the TCCL being null. This can always be a possibility and should be checked for a null value.
- clones
-
WFCORE-4436 NPE with the CLI embedded server when in admin-only mode
- Resolved
- is incorporated by
-
JBEAP-19271 (7.2.z) Upgrade WildFly Core from 6.0.27.Final-redhat-00001 to 6.0.28.Final-redhat-00001
- Closed
- is related to
-
JBEAP-19307 (7.2.z) WFCORE-4458 - StackOverflowError during server start
- Closed
- relates to
-
JBEAP-19308 (7.2.z) WFCORE-4359 - CommandFormatException: Invalid syntax... when using tab completion
- Closed