Challenge login in via swinguiclient

After launching the swingui via metasfresh-dist-swingui.launch I was prompted for credentials to the database then redirected to the below window

error0

After login a got the below error

error 1

How can I solve this

Hi @Walton,
I had the same error the other day.
Looks like your locally checked-out code is too far ahead of your local database.
Running the locally checked-out migration scripts should help.
AFAIR there is also an eclipse .launch config for that…

Best regards
Tobi

Am using the .launch miration script but the port number returned is null even after setting it in the migration.properties file.

[INFO ] ScriptsApplier - Migrating SQLDatabase [dbType=postgresql, dbHostname=localhost, dbPort=null, dbName=metasfresh, dbUser=metasfresh, dbPassword=****] using ScriptScannerProviderWrapper [scriptScanner=GloballyOrderedScannerDecorator{WorkspaceScriptScanner{workspaceDir=C:\Users\Walton\eclipse-workspace\Metafresh, supportedFileExtensions=[sql]}}]

This causes the below error

Exception in thread “main” java.lang.RuntimeException: Failed to get a JDBC connection. Please check your config for : SQLDatabase [dbType=postgresql, dbHostname=localhost, dbPort=null, dbName=metasfresh, dbUser=metasfresh, dbPassword=****]

Any assistance on this