MantisBT - opensim
View Issue Details
0007793opensim[REGION] OpenSim Corepublic2015-12-27 11:432015-12-27 15:08
djphil 
Robert Adams 
normalminorrandom
assignedopen 
PCWindowsSeven
 
 
Grid (Multiple Regions per Sim)
BulletSim
.NET / Windows32
None
Firestorm, Singularity
0007793: [BASE HTTP SERVER] System Invalid Operation Exception
Sometimes i get this red alert on my simulator console
(tested with OpenSim v0.8.x and 0.9.x)

20:26:58 - [BASE HTTP SERVER]: HandleRequest() threw exception System.InvalidOpe
rationException: La collection a été modifiée après l'instanciation de l'énuméra
teur.
à System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resourc
e)
à System.Collections.Generic.SortedSet1.Enumerator.MoveNext() à System.Collections.Generic.SortedDictionary2.Enumerator.MoveNext()
à System.Collections.Generic.SortedDictionary`2.KeyCollection.Enumerator.Move
Next()
à OpenSim.Framework.Monitoring.StatsManager.GetStatsAsOSDMap(String pCategory
Name, String pContainerName, String pStatName) dans k:\OSGRID\opensim-43c8e23\Op
enSim\Framework\Monitoring\StatsManager.cs:ligne 265
à OpenSim.Framework.Monitoring.StatsManager.HandleStatsRequest(Hashtable requ
est) dans k:\OSGRID\opensim-43c8e23\OpenSim\Framework\Monitoring\StatsManager.cs
:ligne 312
à OpenSim.Framework.Servers.HttpServer.BaseHttpServer.HandleContentVerbs(OSHt
tpRequest request, OSHttpResponse response) dans k:\OSGRID\opensim-43c8e23\OpenS
im\Framework\Servers\HttpServer\BaseHttpServer.cs:ligne 1653
à OpenSim.Framework.Servers.HttpServer.BaseHttpServer.HandleHTTPRequest(OSHtt
pRequest request, OSHttpResponse response) dans k:\OSGRID\opensim-43c8e23\OpenSi
m\Framework\Servers\HttpServer\BaseHttpServer.cs:ligne 1555
à OpenSim.Framework.Servers.HttpServer.BaseHttpServer.HandleRequest(OSHttpReq
uest request, OSHttpResponse response) dans k:\OSGRID\opensim-43c8e23\OpenSim\Fr
amework\Servers\HttpServer\BaseHttpServer.cs:ligne 632
Just refresh the "ManagedStats" page ...
(http://domain.com:9000/ManagedStats/ [^])
No tags attached.
Issue History
2015-12-27 11:43djphilNew Issue
2015-12-27 15:06Robert AdamsAssigned To => Robert Adams
2015-12-27 15:06Robert AdamsStatusnew => assigned
2015-12-27 15:08Robert AdamsNote Added: 0029892

Notes
(0029892)
Robert Adams   
2015-12-27 15:08   
This is an odd error as the data structure is not supposed to change while running but only at startup time. There must have been some dynamic stats added. In either case, I added locking around the data structure search and that should resolve the error. This doesn't happen in my test setup so test in your setup with the latest sources.