Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > Designer> NullReferenceException on firebird database refresh
 

Pages: 1
Designer
NullReferenceException on firebird database refresh
Page:1/1 

  Print all messages in this thread  
Poster Message
wtijsma
User



Location:
Amsterdam
Joined on:
18-Apr-2006 15:46:26
Posted:
252 posts
# Posted on: 01-Jul-2010 18:04:42.  
Hi,

I got a NullReferenceException while refreshing my FireBird database, after making changes to the update scripts (and applying them to the database):

Code:
-----[Core exception]--------------------
at SD.LLBLGen.Pro.ApplicationCore.MetaData.CatalogRefresher.FindRenamedTargets[TElement](HashSet`1 orphanedElements, LogNode parentLogNode, Dictionary`2 elementToNewTargetList, Dictionary`2 allElementsWithMappings, String elementTypeName)
at SD.LLBLGen.Pro.ApplicationCore.MetaData.CatalogRefresher.MigrateEntities()
at SD.LLBLGen.Pro.ApplicationCore.MetaData.CatalogRefresher.MigrateProjectToNewCatalog()
at SD.LLBLGen.Pro.ApplicationCore.MetaData.DatabaseMetaData.RefreshMetaData(IEnumerable`1 populatedCatalogs, LogNode refreshLogNode, Project containingProject, UserConfiguration preferences)
at SD.LLBLGen.Pro.ApplicationCore.MetaData.MetaDataStore.RefreshMetaData(String driverID, IEnumerable`1 populatedCatalogs, Project containingProject, UserConfiguration preferences)
at SD.LLBLGen.Pro.ApplicationCore.ProjectClasses.Project.RefreshMetaData(String driverID, List`1 populatedCatalogs, UserConfiguration preferences)
at SD.LLBLGen.Pro.Gui.Classes.GuiController.PerformRefreshMetaDataAction(String driverID)
at SD.LLBLGen.Pro.Gui.Controls.CatalogExplorer._commandManager_CommandClick(Object sender, CommandEventArgs e)
at Janus.Windows.UI.CommandBars.UICommandCollection.c(Object , CommandEventArgs )
at Janus.Windows.UI.CommandBars.UICommand.ar()
at Janus.Windows.UI.Internal.JNSCZ.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at Janus.Windows.UI.Internal.JNSCZ.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)



Basically what I did was
- create a new entity and table named 'Invoice' in the LLBLGen designer,
- applied the generated SQL update script to the database (can I do this from the designer too?)
- refresh relational model data from database

LLBLGen version:
3.0 Final, June 8th, 2010
Firebird driver version: 2.5.2

Thanks,

Wiebe

EDIT: I keep getting the error consistently on trying to refresh the database.
It also automatically closes my project.
Wiebe Tijsma
http://www.netindustry.nl | http://www.twitter.com/wtijsma
 
Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
37879 posts
# Posted on: 01-Jul-2010 19:12:52.  
Please download the latest v3 version and retry. Some issues were fixed in the refresher lately.

Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
Pages: 1  


Powered by HnD ©2002-2007 Solutions Design
HnD uses LLBLGen Pro

Version: 2.1.12172008 Final.