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

Firebird - reverse mapping - "Object reference not set to an instance of an object"

2 Answers 134 Views
Data Access Free Edition
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ray
Top achievements
Rank 1
Ray asked on 02 Mar 2011, 10:57 PM
Greetings!

I have searched the forums (as well as on Google) and cannot find any reference to my particular situation.  I am hoping that someone may offer assistance.

I have Visual Studio 2010 Professional version 10.0.30319.1 RTMRel.
I downloaded the free version of Telerik to see if I could use it with Firebird.  I am following the OpenAccess-MadeEasy.pdf document.
When I select "Reverse Mapping (Tables to Classes)" option, the Reverse Mapping window opens with the Reverse engineering progress window that stops halfway through with the following message:

"An unexpected OpenAccess Visual Studio Integration error occurred.  [text snipped]"

Here is the extra information from the Output window:

--------------------------------------------------------

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.Relational.sql.InterbaseSqlDriver.getDBSchema(Connection con, ControlParams controlParams)
   at OpenAccessRuntime.DataObjects.tools.workbench.classgeneration.tree.TreeGenModel.getTables(SqlDriver sqlDriver, Connection con)
   at OpenAccessRuntime.DataObjects.tools.workbench.classgeneration.tree.TreeGenModel.buildMetadata(String user, String password, String props)
   at Telerik.OpenAccess.Sdk.Addin.UserControls.Voa.Reverse.Utility.ModelLoader.LoadDatabaseSchema()
   at Telerik.OpenAccess.Sdk.Addin.UserControls.Voa.Reverse.Utility.ModelLoader.MakeTreeModel()

--------------------------------------------------------

I am hoping that someone has some ides on how to solve this problem.  As you can imagine, it is a showstopper.

Thank you!

-Ray.

2 Answers, 1 is accepted

Sort by
0
Ady
Telerik team
answered on 03 Mar 2011, 03:42 PM
Hi Ray,

 This seems to be a problem while reading the Firebird database. We are not able to reproduce this error with our test database. Is it possible to send us a sample database which reproduces this error?

Looking forward to resolving this issue for you.

All the best,
Ady
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Ray
Top achievements
Rank 1
answered on 04 Mar 2011, 07:58 PM
Ady, thank you for your reply.

It was indeed a problem with the particular database.  I was able to find a database that worked and now all is well.
Thanks!

-Ray.
Tags
Data Access Free Edition
Asked by
Ray
Top achievements
Rank 1
Answers by
Ady
Telerik team
Ray
Top achievements
Rank 1
Share this question
or