Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WFLY-3016] prevent NullPointerException in JDR CommandLineMain #5956

Closed
wants to merge 1 commit into from

Conversation

bmaxwell
Copy link
Contributor

Move the prints into the try { } since if standaloneCollect throws an exception, the response object will be null

@wildfly-ci
Copy link

Build 2778 is now running using a merge of 2814fa0

@wildfly-ci
Copy link

Build 2778 outcome was FAILURE using a merge of 2814fa0
Summary: Tests failed: 2 (2 new), passed: 5593, ignored: 78 Build time: 1:34:10

Build problems:

Failed tests detected

java.util.concurrent.ExecutionException: javax.ejb.EJBException: java.io.IOException: Channel Channel ID e0f1d00c (outbound) of Remoting connection 01cba422 to localhost.localdomain/0:0:0:0:0:0:0:1:8180 has been closed
java.util.concurrent.ExecutionException: javax.ejb.EJBException: java.io.IOException: Channel Channel ID e0f1d00c (outbound) of Remoting connection 01cba422 to localhost.localdomain/0:0:0:0:0:0:0:1:8180 has been closed
    at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
    at java.util.concurrent.FutureTask.get(FutureTask.java:111)
    at org.jboss.as.test.clustering.cluster.ejb.remote.RemoteFailoverTestCase.testConcurrentFailover(RemoteFailoverTestCase.java:314)
Caused by: javax.ejb.EJBException: java.io.IOException: Channel Channel ID e0f1d00c (outbound) of Remoting connection 01cba422 to localhost.localdomain/0:0:0:0:0:0:0:1:8180 has been closed
    at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:236)
    at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:181)
    at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:144)
    at com.sun.proxy.$Proxy26.increment(Unknown Source)
    at org.jboss.as.test.clustering.cluster.ejb.remote.RemoteFailoverTestCase$IncrementTask.run(RemoteFailoverTestCase.java:372)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:724)
Caused by: java.io.IOException: Channel Channel ID e0f1d00c (outbound) of Remoting connection 01cba422 to localhost.localdomain/0:0:0:0:0:0:0:1:8180 has been closed
    at org.jboss.ejb.client.remoting.ChannelAssociation$1.handleClose(ChannelAssociation.java:123)
    at org.jboss.ejb.client.remoting.ChannelAssociation$1.handleClose(ChannelAssociation.java:115)
    at org.jboss.remoting3.spi.SpiUtils.safeHandleClose(SpiUtils.java:54)
    at org.jboss.remoting3.spi.AbstractHandleableCloseable$CloseHandlerTask.run(AbstractHandleableCloseable.java:501)
    at org.jboss.remoting3.spi.AbstractHandleableCloseable.runCloseTask(AbstractHandleableCloseable.java:406)
    at org.jboss.remoting3.spi.AbstractHandleableCloseable.closeComplete(AbstractHandleableCloseable.java:277)
    at org.jboss.remoting3.remote.RemoteConnectionChannel.closeAction(RemoteConnectionChannel.java:531)
    at org.jboss.remoting3.spi.AbstractHandleableCloseable.closeAsync(AbstractHandleableCloseable.java:359)
    at org.jboss.remoting3.remote.RemoteConnectionHandler.closeAllChannels(RemoteConnectionHandler.java:401)
    at org.jboss.remoting3.remote.RemoteConnectionHandler.receiveCloseRequest(RemoteConnectionHandler.java:214)
    at org.jboss.remoting3.remote.RemoteReadListener.handleEvent(RemoteReadListener.java:106)
    at org.jboss.remoting3.remote.RemoteReadListener.handleEvent(RemoteReadListener.java:45)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at org.xnio.channels.TranslatingSuspendableChannel.handleReadable(TranslatingSuspendableChannel.java:196)
    at org.xnio.channels.TranslatingSuspendableChannel$1.handleEvent(TranslatingSuspendableChannel.java:110)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at org.xnio.ChannelListeners$DelegatingChannelListener.handleEvent(ChannelListeners.java:1092)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
    at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:87)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:531)
java.lang.AssertionError: Expected code == OK but got 500 for request=http://[0:0:0:0:0:0:0:1]:8180/war2/EJBServlet
java.lang.AssertionError: Expected code == OK but got 500 for request=http://[0:0:0:0:0:0:0:1]:8180/war2/EJBServlet
    at org.junit.Assert.fail(Assert.java:88)
    at org.junit.Assert.assertTrue(Assert.java:41)
    at org.jboss.as.test.integration.web.sso.SSOTestBase.checkAccessAllowed(SSOTestBase.java:196)
    at org.jboss.as.test.integration.web.sso.SSOTestBase.executeFormAuthSingleSignOnTest(SSOTestBase.java:115)
    at org.jboss.as.test.clustering.cluster.sso.ClusteredSingleSignOnTestCase.testFormAuthSingleSignOn(ClusteredSingleSignOnTestCase.java:132)

Failed tests

org.jboss.as.test.clustering.cluster.ejb.remote.RemoteFailoverTestCase(SYNC-tcp).testConcurrentFailover: java.util.concurrent.ExecutionException: javax.ejb.EJBException: java.io.IOException: Channel Channel ID e0f1d00c (outbound) of Remoting connection 01cba422 to localhost.localdomain/0:0:0:0:0:0:0:1:8180 has been closed
    at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
    at java.util.concurrent.FutureTask.get(FutureTask.java:111)

org.jboss.as.test.clustering.cluster.sso.ClusteredSingleSignOnTestCase(SYNC-tcp).testFormAuthSingleSignOn: java.lang.AssertionError: Expected code == OK but got 500 for request=http://[0:0:0:0:0:0:0:1]:8180/war2/EJBServlet
    at org.junit.Assert.fail(Assert.java:88)
    at org.junit.Assert.assertTrue(Assert.java:41)

@bstansberry
Copy link
Contributor

Merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants