SVN commit hook failing
Hi,
I've just upgraded our Gemini to version 4.2. Also took the new code for the commit hook to use on our SVN server, compiled it and put it in the hooks folder on the SVN machine and configured the config file.
When I'm trying to do a commit now it's crashing with a nullreference exception, this is crash:
Error: Commit failed (details follow):
Error: 'pre-commit' hook failed (did not exit cleanly: apr_exit_why_e was 2, exitcode
Error: was -1073741819). with output:
Error:
Error: Unhandled Exception: System.NullReferenceException: Object reference not set to
Error: an instance of an object.
Error: at CounterSoft.Gemini.SourceControl.SVN.Program.Main(String[] args) in
Error: D:\Projects\Subversion\misc\Gemini\CounterSoft.Gemini.SourceControl.SVN\V4.2\Program.cs:line
Error: 120
Finished!:
Line 120 in the program class is DiagnosticsManager.TraceMessage("Gemini Logged in user: " + GeminiServiceManager.UsersService.WhoAmI().UserName);
The commit hook has always worked perfectly (old gemini version 3.6). Am I missing something for the UsersService or something?
Koen Mevissen
· 1 |
|
Sunday, October 23, 2011, 1:25:19 PM |