[OPNFLWPLUG-161] Statistics manager loses threads to uncaught exceptions Created: 14/May/14 Updated: 27/Sep/21 Due: 01/Jul/14 Resolved: 29/Jun/14 |
|
| Status: | Resolved |
| Project: | OpenFlowPlugin |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Robert Varga | Assignee: | Anil Vishnoi |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 1007 |
| Description |
|
During testing we have encountered the following: 2014-05-14 09:46:42.603 PDT [request-monitor] ERROR o.o.c.l.b.i.UncaughtExceptionPolicy - Thread Thread[request-monitor,5,main] died because of an uncaught exception While it is true OFP should not throw a runtimeexception here, the statistics manager should not kill its thread. Simple solution is to catch RuntimeException (except InterruptedException) in StatisticsRequestScheduler.run(), log it and continue on. |
| Comments |
| Comment by Anil Vishnoi [ 29/Jun/14 ] |
|
Fixed through https://git.opendaylight.org/gerrit/8438 Thanks |