reverse engineering throwing object reference exception

Thread is closed for posting
2 posts, 0 answers
  1. Adam
    Adam  avatar
    30 posts
    Member since:
    Jun 2009

    Posted 07 Oct 2009 Link to this post

    Hi I'm getting this error when I try to start the reverse engineer wizard on a project that already has reverse engineered mappings:

    An unexpected OpenAccess Visual Studio Integration error occured.
    You can find the same error information in the Output window, General category.
    Please send this error information to Telerik support.
    Please include as much information as possible (source file, database schema, configuration file).
    Reverse Engineering

    Object reference not set to an instance of an object.
       at OpenAccessRuntime.DataObjects.tools.workbench.classgeneration.codegen.GenField.SetEqualityTest()
       at OpenAccessRuntime.DataObjects.tools.workbench.classgeneration.codegen.GenField.setGenType(GenType _genType)
       at OpenAccessRuntime.DataObjects.tools.workbench.classgeneration.codegen.GenClass.loadRefsFromElement(Element element, IDictionary tableClass)
       at OpenAccessRuntime.DataObjects.tools.workbench.classgeneration.tree.TreeGenModel.loadSettings(Document document)
       at OpenAccessRuntime.DataObjects.tools.workbench.classgeneration.tree.TreeGenModel.loadSettings(FileInfo file)
       at Telerik.OpenAccess.Sdk.Addin.UserControls.Voa.Reverse.Utility.ModelLoader.MakeTreeModel()
  2. Ady
    Admin
    Ady avatar
    589 posts

    Posted 08 Oct 2009 Link to this post

    Hi Adam ,

     After analyzing the reversemapping.config file that you sent via the support ticket it seems that error occurs due to a reference to the table 'AUTH'.'RESOURCE' and the mapping for the table is missing in the file.

    Sincerely yours,
    Ady
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top