Base solution for your next web application
Open Closed

error ocured when running tha aspnet tool Object reference not set to an instance of an object. #11774


User avatar
0
MYBUSINESSDNA created

I regenerate my exiting entity and added a navigatin properties, and got this error

please help or any tips how to fix this

Thanks


9 Answer(s)
  • User Avatar
    1
    ismcagdas created
    Support Team

    Hi @MYBUSINESSDNA

    1. Could you share related json file for this entity ?
    2. Could you share your Power Tools version ?

    Thanks,

  • User Avatar
    0
    MYBUSINESSDNA created

    Thanks for the reply

    the version of power tools is 3.5.1

    this is the json file for this entity https://drive.google.com/file/d/1B7Qyv6Uc_xF-il2KlqqxMnymrfBgnMqZ/view?usp=sharing

  • User Avatar
    0
    m.aliozkaya created
    Support Team

    Hi @MYBUSINESSDNA,

    When I run the project it fails for NRT.UnitOfCompetency.json and RPLSuite.SystemLibrary not found error. Could you share these JSON files too? It could be related to a missing JSON file.

  • User Avatar
    0
    MYBUSINESSDNA created

    HI, what kind of json files you need? or you mean all of them?

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @MYBUSINESSDNA

    Please share all json files under AspNetZeroRadTool folder with [email protected].

    Thanks,

  • User Avatar
    0
    MYBUSINESSDNA created

    heres the folder https://drive.google.com/file/d/1vxFd03XAKwiT2y9VbDqOESTOFroVTrn1/view?usp=sharing

  • User Avatar
    0
    MYBUSINESSDNA created

    the error happens when the entity has master-detail page.

  • User Avatar
    0
    MYBUSINESSDNA created

    here's another error

    -> ElementsAppService.cs is being generated. Warning: System.Exception: Word can not be null. exiting... at AspNetZeroRadTool.FileWizards.FileGenerators.Generic.ReplacerBase.Lower(String word) at AspNetZeroRadTool.FileWizards.FileGenerators.Generic.ReplacerBase.ReplaceAlsoWithLowerCase(String template, String placeholder, String value) at AspNetZeroRadTool.FileWizards.FileGenerators.Generic.NavigationPropertyReplacer.Replace(String template, EntityConfiguration entity, NavigationProperty navigationProperty, NavigationPropertyOneToManyTable navigationPropertyOneToManyTable)

    I already supplied the entity name plural

    still getting errors, I already remove the master-detail still having errors. what happened to this tool? it's a really a blocker to our production now. please help

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @MYBUSINESSDNA

    Could you share the JSON file for this entity with [email protected] ?

    Thanks,