Skip to content

Install command errors with no information #41

@jbeers

Description

@jbeers

When trying to run the command box migrate install I get the following output

ERROR (5.6.1+00618)

java.lang.NullPointerException

My datasource configuration works fine within my application - which is running in the ACF commandbox image. My database is the mcr.microsoft.com/azure-sql-edge:latest image. Running box config set verboseErrors=true does not change the output of the command.

Here is my .cfmigrations.json configuration

{
    "default": {
        "manager": "cfmigrations.models.QBMigrationManager",
        "migrationsDirectory": "resources/database/migrations/",
        "seedsDirectory": "resources/database/seeds/",
        "properties": {
            "defaultGrammar": "SqlServerGrammar@qb",
            "schema": "dbo",
            "migrationsTable": "cfmigrations",
            "connectionInfo": {
                "password": "mypassword",
                "connectionString": "jdbc:mssql://localhost:1433?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&useLegacyDatetimeCode=true",
                "class": "com.microsoft.sqlserver.jdbc.SQLServerDriver",
                "username": "coldbox",
                "bundleName": "mssqljdbc4",
                "bundleVersion": "4.0.2206.100"
            }
        }
    }
}

Can anyone help me figure out what I'm doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions