0

Closed

Periodic NRE, when multiple files (~10) are processed at once

description

Job Critical: 4001 : An unexpected error (NullReferenceException) occured in the job:==================== stack trace begin ====================System.NullReferenceException: Object reference not set to an instance of an object.   at uTILLIty.Rave.Core.Strategy.DefaultConfigurationApplicatorStrategy.Apply(ApplicatorContext applicatorContext) in c:\DEV\CodePlex\Rave\Core\Strategy\DefaultConfigurationApplicatorStrategy.cs:line 44   at uTILLIty.Rave.Core.Manager.ConfigurationManager.Apply(Job job, Configuration configuration, Boolean simulateOnly) in c:\DEV\CodePlex\Rave\Core\Manager\ConfigurationManager.cs:line 179   at uTILLIty.Rave.Service.DirCreatorService.ExecuteJob(Job job) in c:\DEV\CodePlex\Rave\WindowsService\DirCreatorService.cs:line 266   at uTILLIty.Rave.Service.DirCreatorService.ProcessJob(String jobFile) in c:\DEV\CodePlex\Rave\WindowsService\DirCreatorService.cs:line 201====================  stack trace end  ====================
 
 
Job Information: 1001 : Creating directory 'D:\...\SP-PERSP-FIBU\'Job Information: 1001 : Created directory SP-PERSP-FIBU at D:...\SP-PERSP-FIBU\Job Information: 1002 : Removing security-inheritance from directory 'D:\...\SP-PERSP-FIBU\'Job Critical: 4001 : An unexpected error (NullReferenceException) occured in the job:==================== stack trace begin ====================System.NullReferenceException: Object reference not set to an instance of an object.   at uTILLIty.Rave.Core.Strategy.DefaultConfigurationApplicatorStrategy.OnVisitingError(VisitingError visitingError) in c:\DEV\CodePlex\Rave\Core\Strategy\DefaultConfigurationApplicatorStrategy.cs:line 61   at uTILLIty.Rave.Core.Configuration.ConfigurationExtensions.VisitDirectories(Configuration config, Action1 visitor, Action1 errorHandler) in c:\DEV\CodePlex\Rave\Core\Configuration\ConfigurationExtensions.cs:line 117   at uTILLIty.Rave.Core.Strategy.DefaultConfigurationApplicatorStrategy.Apply(ApplicatorContext applicatorContext) in c:\DEV\CodePlex\Rave\Core\Strategy\DefaultConfigurationApplicatorStrategy.cs:line 44   at uTILLIty.Rave.Core.Manager.ConfigurationManager.Apply(Job job, Configuration configuration, Boolean simulateOnly) in c:\DEV\CodePlex\Rave\Core\Manager\ConfigurationManager.cs:line 179   at uTILLIty.Rave.Service.DirCreatorService.ExecuteJob(Job job) in c:\DEV\CodePlex\Rave\WindowsService\DirCreatorService.cs:line 266   at uTILLIty.Rave.Service.DirCreatorService.ProcessJob(String jobFile) in c:\DEV\CodePlex\Rave\WindowsService\DirCreatorService.cs:line 201====================  stack trace end  ====================
Closed Dec 29, 2012 at 4:13 PM by uTILLIty

comments

uTILLIty wrote Dec 29, 2012 at 4:11 PM

DefaultConfigurationApplicatorStrategy was SingleInstanced by the container. But due to wrong object-locking, the context (ApplicatorContext) could be set to NULL by another thread. Both problems were corrected.

uTILLIty wrote Dec 29, 2012 at 4:13 PM

Resolved with changeset 22243: bugfix 1497