Object reference not set to an instance of an object

We just upgraded our Octopus to v2019.1.9

Now we have a lot of users seeing error “Object reference not set to an instance of an object.”

In server log, we see
2019-02-27 09:38:56.3741 10900 19 ERROR Unhandled error on request: https://octopusdeploy/api/Spaces-1/projects/all 00bb6647dd4b413d8a6749d8db3befb0 by test : Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.

The site become un-useable now, could you please help?

Thanks,

Ge

We found a workaround - scope the project groups for Everyone team to “All Projects”. Although “All Projects” group is an empty group.

If we don’t specify any scope in Everyone team, users see those “not set to an instance of an object” error.

Is this by design or a bug?

Users see those errors when clicking Projects, Library, Tasks, and Configuration.

Same problem with Tasks view.

I ended up have to create a empty environment and scope Everyone team to that empty environment. So users can view tasks in their environment.

Hi Ge,

I am very sorry that you are going through all this pain, this definitely does not sound right.

Are you able to provide me with the logs of the server, the easiest way is to go to Configuration > Diagnostics


and then send us the zip file.

Regards
John

Hi John,

The file cannot be uploaded due to the size.

Can I email you the zip file?

Thanks,

Ge

We are having the exact same issue with multiple users, would like to see a solution to this.

Hi Ge,

Can you please upload your file to https://file.ac/ubntnl6aDpo/

Regards
John

Hi GudmundurMagnusson

You can also upload you diagnostics file to https://file.ac/ubntnl6aDpo/

Regards
John

I can’t. Our company blocks file upload.

Are there any other options?

Hi Ge,

Can you please email it to john.simons(at)octopus.com

Regards
John

Hi Ge,

If the zip is still too large, just send us the log files zipped.

Regards
John

Sent.

Thanks!

Hi Ge,

Thanks a lot for the logs.

I am still trying to figure out how to reproduce this issue, would you be able to send me a permissions export for the user that is/was getting these errors?
To export the permissions go to Configuration > Test Permissions and then select the user you were using and space and finally click the “Export User Permissions” button. This should download a file that contains all the permissions for this user. If you can attach that file would be great.

Regards
John

Hi Ge,

I was able to reproduce the issue successfully.

I ended up raising this issue.

Once we fix this issue, you should be able to revert that changes you did to Everyone team.

Regards
John

Thanks for your help!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.