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

3 posts, 0 answers
  1. Ray
    Ray avatar
    5 posts
    Member since:
    Mar 2011

    Posted 02 Mar 2011 Link to this post

    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. Ady
    Admin
    Ady avatar
    589 posts

    Posted 03 Mar 2011 Link to this post

    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!
  3. DevCraft banner
  4. Ray
    Ray avatar
    5 posts
    Member since:
    Mar 2011

    Posted 04 Mar 2011 Link to this post

    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.
Back to Top