Fatal error: Call to a member function GetHash() on a non-object

0
Our web repository was running well, but today we suddenly got an error when trying to view the pretty colorized version of our Java code.   It simply displays the following:   Fatal error: Call to a member function GetHash() on a non-object in D:\GitStack\gitphp\templates_c\64845d868ba0b5f8377e99661c167a0397b1a1b7.file.blob.tpl.php on line 274   Every file seems to be affected, however plain text view works fine and our repository seems to be intact.   Can anyone help us resolve this issue?
asked February 7, 2013

3 Answers

0
Could you try to run the GitStack service as with the Administrator account? Please follow these steps (but skip the steip 1 and use the the Administrator account instead of wwwuser).
0
Tried running GitStack service as Administrator account, didn't help. Opened up the permissions on all children of D:/GitStack/ folder and that didn't help either.   The frustrating part is that it was working two days ago and now it's not.   I even created a brand new repository for a different application's code base and it is experiencing the same issue: Fatal error: Call to a member function GetHash() on a non-object in D:\GitStack\gitphp\templates_c\64845d868ba0b5f8377e99661c167a0397b1a1b7.file.blob.tpl.php on line 274
0
In a nutshell it seems that blob is broken, blob_plain works.  Links like this don't work: https://<server>/web/index.php?p=<repository>.git&a=blob&h=da49ff40dd7a0d8f066d9d71e98a654a5fda10e3&hb=1821b185db886db15f7b3d4605143a930bc84839&f=src%2Fas%2FTravelTool.as   Links like this do work: https://<server>/web/index.php?p=<repository>.git&a=blob_plain&h=da49ff40dd7a0d8f066d9d71e98a654a5fda10e3&f=src%2Fas%2FTravelTool.as   We have no idea why this would suddenly stop working.

Your Answer

Please login to post questions.