[jboss-jira] [JBoss JIRA] (JGRP-2489) TcpConnection.Receiver#run should use logger to handle exception rather than rely on UncaughtExceptionHandler
Radoslav Husar (Jira)
issues at jboss.org
Wed Jul 15 11:20:00 EDT 2020
[ https://issues.redhat.com/browse/JGRP-2489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Radoslav Husar updated JGRP-2489:
---------------------------------
Fix Version/s: 4.2.5
> TcpConnection.Receiver#run should use logger to handle exception rather than rely on UncaughtExceptionHandler
> -------------------------------------------------------------------------------------------------------------
>
> Key: JGRP-2489
> URL: https://issues.redhat.com/browse/JGRP-2489
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 4.2.4
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
> Priority: Minor
> Fix For: 4.2.5
>
>
> An example of an exception being non-standardly thusly logged to stderr:
> {code}
> [0m[31m15:09:28,663 ERROR [stderr] (Connection.Receiver [10.128.3.125:7600 - 10.131.0.184:32825]-11,ee,hsc-1-2d7n4) Exception in thread "Connection.Receiver [10.128.3.125:7600 - 10.131.0.184:32825]-11,ee,hsc-1-2d7n4" java.lang.RuntimeException: failed handling message from 10.131.0.184:7600: java.io.IOException: Stream closed
> [0m[31m15:09:28,663 ERROR [stderr] (Connection.Receiver [10.128.3.125:7600 - 10.131.0.184:32825]-11,ee,hsc-1-2d7n4) at org.jgroups at 4.2.4.Final-redhat-00001//org.jgroups.blocks.cs.TcpConnection$Receiver.run(TcpConnection.java:309)
> [0m[31m15:09:28,663 ERROR [stderr] (Connection.Receiver [10.128.3.125:7600 - 10.131.0.184:32825]-11,ee,hsc-1-2d7n4) at org.jboss.as.clustering.common at 7.4.0.CD20-redhat-00001//org.jboss.as.clustering.context.ContextReferenceExecutor.execute(ContextReferenceExecutor.java:49)
> [0m[31m15:09:28,663 ERROR [stderr] (Connection.Receiver [10.128.3.125:7600 - 10.131.0.184:32825]-11,ee,hsc-1-2d7n4) at org.jboss.as.clustering.common at 7.4.0.CD20-redhat-00001//org.jboss.as.clustering.context.ContextualExecutor$1.run(ContextualExecutor.java:70)
> [0m[31m15:09:28,663 ERROR [stderr] (Connection.Receiver [10.128.3.125:7600 - 10.131.0.184:32825]-11,ee,hsc-1-2d7n4) at java.base/java.lang.Thread.run(Thread.java:834)
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list