i am a newcomer to the Autodesk development community, and as such i have been following the tutorial related to viewing BIM360 and fusion models. After having completed the tutorial, and trying to run, my program, i get the exception "System.NullReferenceException: 'Object reference not set to an instance of an object.'
credentials 5__1 was null."
as shown in the image
Even though this exception occours, i am still able to continue the debugging session, and i am able to log in to autodesk. However after this login i am faced with this:
For context: in the tutorial this view, is populated with the different projects associated with the account, used for the login. In my case, despite the account being an admin of a project, i am not able to see said project in this view, which is my goal
My question is then, could the exception be the root course for the fact that my view is unpopulated(I.e not showing my projects)? And if so, any idea on how to resolve the issue?
I tried to resovle it myself, and found this question, with a similar premise: Forge API NullReferenceException with Credentials.FromSessionAsync()
I tried following, the code, as posted for an answer, and i found out, that the code marked in 1 does indeed execute before the handler for the "api/forge/callback/oauth" path, however the handler is still executed, and i can see the credentials variable being given a value(And as can be infered from 2 i am able to log in)
Thank you for reading my question, and if i have violated some manners regarding posting question, i do apologise