Bug - dbForge Studio MySql: Click on 'View Schema Update Script' crashes

Discussion of open issues, suggestions and bugs regarding database management and administration tools for MySQL
Post Reply
SchmittDotNet
Posts: 7
Joined: Mon 15 Jun 2020 15:41

Bug - dbForge Studio MySql: Click on 'View Schema Update Script' crashes

Post by SchmittDotNet » Mon 06 Jul 2020 15:04

Hi,
I am using dbForge Studio for MySQL 9.0.338 to connect to Azure Database for MySQL 5.7.29.

These steps cause a crash:
Create a database with one simple table and a stored proc inserting some records into the table.
Create a project and sync with the database.
Make a schema comparison between the database and the project. Result: all equal.
In the comparison toolbar click on 'View Schema Update Script'.

Exception is like this:
=========================
General
=========================
Application: dbForge Studio 2020 for MySQL
Product: Devart dbForge Studio 2020 for MySQL
Product Edition: Enterprise
Product Locale: English
Assembly: dbforgemysql, Version=9.0.338.0, Culture=neutral, PublicKeyToken=09af7300eec23701
C:\Program Files\Devart\dbForge Studio for MySQL\dbforgemysql.exe
Global cache: False
Framework: 4.7.2 or later
HardwareID: 8889-1701-2739-A793-462F-97C8
License Info: Trial period expires in 5 days.


=========================
Exception Information
=========================
Place: 1
ExceptionId: fa0c32b6-855a-4e4c-9d90-05875f523035
Message: Object reference not set to an instance of an object.
Source: Devart.DbForge.LanguageService
TargetSite: Void oo1(Devart.Shell.ICommand, Devart.Shell.CommandStatus ByRef, System.Object)
HelpLink:
Type: System.NullReferenceException
Stack:
at oe.Lei.oo1(ICommand , CommandStatus& , Object )
at Devart.Shell.Common.CommandTargetHelper.UpdateCommand(ICommand command, Object instance)
at Devart.Shell.Common.CommandTargetHelper.UpdateCommand(ICommand command, Object instance)
at Devart.Shell.Controls.ToolWindowControl.UpdateCommand(ICommand command, Object instance)
at Devart.Shell.Controls.ToolWindowControl.UpdateCommand(ICommand command, Object instance)
at Devart.Shell.Studio.Services.CommandBars.CommandService.Ak0(ICommand , Object , IList`1 , Boolean )
at Devart.Shell.Studio.Services.CommandBars.CommandService.UpdateCommand(ICommand command, Object instance)
at jh.cYF.UpdateControls()
at jh.QYu.UpdateControls()
at jh.QYu.Nko(Object , EventArgs )


Additional Stack: at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at Devart.Shell.ServiceManager.HandleException(Object sender, Exception exception)
at jh.QYu.Nko(Object , EventArgs )
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at Devart.Shell.Studio.StudioShell.OnStarted()
at Devart.Shell.ShellBase.Start()
at ˆ‰—™›
‰‰“Œ•›†—˜‰.”›”†‰
‰œ‡–””—Ž–˜’›.‡Œ
‡†‹››˜˜()
at ˆ‰—™›
‰‰“Œ•›†—˜‰.”›”†‰
‰œ‡–””—Ž–˜’›.Œ‰
‡†‰‹•”Š(String[] )

I also sent a bug report.

Regards,
Michael

alexa

Re: Bug - dbForge Studio MySql: Click on 'View Schema Update Script' crashes

Post by alexa » Tue 07 Jul 2020 10:22

We will fix this issue in one of the next product builds and will notify you once it's available for downloading.

Post Reply