Object instance problem in 1.0.2005.1 Designer

Posts   
 
    
Caner
User
Posts: 3
Joined: 19-Jun-2007
# Posted on: 19-Jun-2007 11:55:00   

Hi,

I keep getting the following exception when I try to create a new project or refresh an existing schema. It seems, it's because of progress window and how it tries to access that window. I don't know why, but it started recently and nothing usual fixed the problem. I reinstalled the LLBLGen Pro three times already. I can't continue development until this problem is fixed, so what should I do about it?

-----[Core exception]-------------------- at System.Exception.get_Source() at System.Exception.get_Source() at SD.LLBLGen.Pro.Gui.Forms.ExceptionViewer.ViewExceptionInWindow() at SD.LLBLGen.Pro.Gui.Forms.ExceptionViewer..ctor(Exception exceptionToView) at SD.LLBLGen.Pro.Gui.Forms.NewProjectWizard.CreateNewProject() at SD.LLBLGen.Pro.Gui.Forms.NewProjectWizard._createButton_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Aurelien avatar
Aurelien
Support Team
Posts: 162
Joined: 28-Jun-2006
# Posted on: 19-Jun-2007 15:28:03   

Hi,

what llbl version do you use ? is it the latest ?

Caner
User
Posts: 3
Joined: 19-Jun-2007
# Posted on: 19-Jun-2007 15:41:26   

Aurelien wrote:

Hi,

what llbl version do you use ? is it the latest ?

Just downloaded the latest version from the website...

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 19-Jun-2007 17:02:59   

You are able to load the project into the designer, but when you refresh the project you get this error only or also another error first?

Could you check what the application output window in the designer contains after the refresh?

Frans Bouma | Lead developer LLBLGen Pro
Caner
User
Posts: 3
Joined: 19-Jun-2007
# Posted on: 20-Jun-2007 08:56:50   

Hey,

I don't know what's going on, but it works today... I think it was something about my computer. Thanks anyway, I'm glad it's working fine now...

By the way, maybe you should add an option to preferences that toggles progress window thing?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 20-Jun-2007 09:40:06   

Caner wrote:

Hey,

I don't know what's going on, but it works today... I think it was something about my computer. Thanks anyway, I'm glad it's working fine now...

By the way, maybe you should add an option to preferences that toggles progress window thing?

It's a timing problem. The progress dialog operates on a different thread, and the main thread then wants to cancel it, but it is somehow already canceled. In v2.0 I restructered this so it doesn't happen anymore. I never found the real reason why this happens as the dialog is controlled completely from the main thread (open/close).

Frans Bouma | Lead developer LLBLGen Pro