AdaskoTheBeAsT/Typewriter

How to get details from errors

luizfbicalho opened this issue · 3 comments

I have this errors in my templates,

15:12:59.865 ERROR: Error rendering template. Cannot get identifier 'ImportReference'. Source path: C:\ProjetosGIT\Tenper\Biblioteca Autenticacao\MC.ASpnetCore.Identity.Controllers\Configuracao\ConstantesPermissao.cs
System.NullReferenceException: Object reference not set to an instance of an object.
   at __Typewriter.Template.ModelProperties(Class clas)
   at __Typewriter.Template.ImportReference(Class clas)
15:12:59.877 ERROR: Error rendering template. Cannot get identifier 'AssociationProperties'. Source path: C:\ProjetosGIT\Tenper\Biblioteca Autenticacao\MC.ASpnetCore.Identity.Controllers\Configuracao\ConstantesPermissao.cs
System.NullReferenceException: Object reference not set to an instance of an object.
   at __Typewriter.Template.ModelProperties(Class clas)
   at __Typewriter.Template.AssociationProperties(Class clas)

How can I inspect or understand whats going on, could put the line numbers on the stack trace?

Hi,

Can you share some fragment in github repo to reproduce?

I think that I wrote really bad my question, this case is solved, but my issue is that I think that would be better to have more information like this for example

   at __Typewriter.Template.ModelProperties(Class clas) at line 26
   at __Typewriter.Template.AssociationProperties(Class clas) at line 52

indeed but still - due to lack of time is not something which I will have time to deal with in near time