Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.
This repository was archived by the owner on May 14, 2025. It is now read-only.

Blank screen on launch task screen when several platforms are set up #2007

@juanpablo-santos

Description

@juanpablo-santos

Description:
Going from the list of tasks to any task and then to the launch screen we get this:
image

with the following js error message showing up on console:

ERROR TypeError: l.builderDeploymentProperties.apps[_] is undefined
    populate http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    populate http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    3415/ngOnInit/this.builder$< http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    it http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    _next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    it http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    _next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    it http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    _next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    te http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    _next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    nJ http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    _next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    it http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    _next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    _next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    it http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    _next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    it http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    _next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    Aa http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    _next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    te http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    _next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    al http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    _next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    _ http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    invokeTask http://XXXXXXXXXXXX/dashboard/polyfills.8016d76663dfb23c.js:1
    onInvokeTask http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    invokeTask http://XXXXXXXXXXXX/dashboard/polyfills.8016d76663dfb23c.js:1
    runTask http://XXXXXXXXXXXX/dashboard/polyfills.8016d76663dfb23c.js:1
    invokeTask http://XXXXXXXXXXXX/dashboard/polyfills.8016d76663dfb23c.js:1
    Z http://XXXXXXXXXXXX/dashboard/polyfills.8016d76663dfb23c.js:1
    N http://XXXXXXXXXXXX/dashboard/polyfills.8016d76663dfb23c.js:1
    B http://XXXXXXXXXXXX/dashboard/polyfills.8016d76663dfb23c.js:1
main.075ae770a907eece.js:1:58415

Release versions:

{
  "versions": {
    "implementation": {
      "name": "spring-cloud-dataflow-server",
      "version": "2.11.2"
    },
    "core": {
      "name": "Spring Cloud Data Flow Core",
      "version": "2.11.2"
    },
    "dashboard": {
      "name": "Spring Cloud Dataflow UI",
      "version": "3.4.2"
    },
    "shell": {
      "name": "Spring Cloud Data Flow Shell",
      "version": "2.11.2",
      "url": "https://repo.maven.apache.org/maven2/org/springframework/cloud/spring-cloud-dataflow-shell/2.11.2/spring-cloud-dataflow-shell-2.11.2.jar"
    }
  },
  "features": {
    "streams": true,
    "tasks": true,
    "schedules": true,
    "monitoringDashboardType": "GRAFANA"
  },
  "runtimeEnvironment": {
    "appDeployer": {
      "deployerImplementationVersion": "2.11.2",
      "deployerName": "Spring Cloud Skipper Server",
      "deployerSpiVersion": "2.11.2",
      "javaVersion": "17.0.9",
      "platformApiVersion": "",
      "platformClientVersion": "",
      "platformHostVersion": "",
      "platformSpecificInfo": {
        "default": "kubernetes"
      },
      "platformType": "Skipper Managed",
      "springBootVersion": "2.7.18",
      "springVersion": "5.3.31"
    },
    "taskLaunchers": [
      {
        "deployerImplementationVersion": "unknown",
        "deployerName": "KubernetesTaskLauncher",
        "deployerSpiVersion": "unknown",
        "javaVersion": "17.0.9",
        "platformApiVersion": "v1",
        "platformClientVersion": "unknown",
        "platformHostVersion": "unknown",
        "platformSpecificInfo": {
          "namespace": "scdf",
          "master-url": "XXXXXXXXXXXXXXXXXX"
        },
        "platformType": "Kubernetes",
        "springBootVersion": "2.7.18",
        "springVersion": "5.3.31"
      },
      {
        "deployerImplementationVersion": "unknown",
        "deployerName": "KubernetesTaskLauncher",
        "deployerSpiVersion": "unknown",
        "javaVersion": "17.0.9",
        "platformApiVersion": "v1",
        "platformClientVersion": "unknown",
        "platformHostVersion": "unknown",
        "platformSpecificInfo": {
          "namespace": "scdf",
          "master-url": "XXXXXXXXXXXXXXXXXX"
        },
        "platformType": "Kubernetes",
        "springBootVersion": "2.7.18",
        "springVersion": "5.3.31"
      },
      {
        "deployerImplementationVersion": "unknown",
        "deployerName": "KubernetesTaskLauncher",
        "deployerSpiVersion": "unknown",
        "javaVersion": "17.0.9",
        "platformApiVersion": "v1",
        "platformClientVersion": "unknown",
        "platformHostVersion": "unknown",
        "platformSpecificInfo": {
          "namespace": "scdf",
          "master-url": "XXXXXXXXXXXXXXXXXX"
        },
        "platformType": "Kubernetes",
        "springBootVersion": "2.7.18",
        "springVersion": "5.3.31"
      },
      {
        "deployerImplementationVersion": "unknown",
        "deployerName": "KubernetesTaskLauncher",
        "deployerSpiVersion": "unknown",
        "javaVersion": "17.0.9",
        "platformApiVersion": "v1",
        "platformClientVersion": "unknown",
        "platformHostVersion": "unknown",
        "platformSpecificInfo": {
          "namespace": "scdf",
          "master-url": "XXXXXXXXXXXXXXXXXX"
        },
        "platformType": "Kubernetes",
        "springBootVersion": "2.7.18",
        "springVersion": "5.3.31"
      }
    ]
  },
  "monitoringDashboardInfo": {
    "url": "https://grafana.sanitas.dom",
    "source": "default-scdf-source",
    "refreshInterval": 15
  },
  "security": {
    "isAuthentication": true,
    "isAuthenticated": true,
    "username": "pmason",
    "roles": [
      "ROLE_CREATE",
      "ROLE_DEPLOY",
      "ROLE_DESTROY",
      "ROLE_MANAGE",
      "ROLE_MODIFY",
      "ROLE_SCHEDULE",
      "ROLE_VIEW"
    ]
  },
  "git": {
    "commit": "86b53e0"
  }
}

Custom apps:
N/A, happens with every task

Steps to reproduce:
Happens if these two conditions are met:

  • there are several platforms defined
  • you get to the launch screen through tasks list -> task -> launch; if you create a task and then go to the launch screen you get the expected screen

Screenshots:
provided above.

Additional context:
Current workaround is to go to the Freetext section, where some predefined properties appear, and then back again to the Builder section, and we have our Builder screen back.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions