This is a migrated thread and some comments may be shown as answers.

reverse engineering throwing object reference exception

1 Answer 58 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Adam
Top achievements
Rank 1
Adam asked on 07 Oct 2009, 05:49 PM
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()

1 Answer, 1 is accepted

Sort by
0
Ady
Telerik team
answered on 08 Oct 2009, 12:44 PM
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.
Tags
General Discussions
Asked by
Adam
Top achievements
Rank 1
Answers by
Ady
Telerik team
Share this question
or