Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-4358

DeploymentException exception has occurred.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Incomplete
    • Affects Version/s: 11.3
    • Fix Version/s: None
    • Component/s: editor - Other
    • Labels:
      None
    • Environment:

      OpenJDK 11.0.2
      Gradle 6.4

      Description

      A org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment$DeploymentException exception has occurred.
      However, the system should continue working without further problems.

      java.lang.RuntimeException: Bad target server ID null
       at org.netbeans.modules.j2ee.deployment.impl.projects.DeploymentTarget.getServer(DeploymentTarget.java:257)
      [catch] at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:172)
      Caused: Deployment error: Bad target server ID null
      See the server log for details.
       at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:269)
      [catch] at org.netbeans.modules.gradle.javaee.execute.DeployHook.deploy(DeployHook.java:95)
       at org.netbeans.modules.gradle.javaee.execute.DeployHook.afterAction(DeployHook.java:59)
       at org.netbeans.modules.gradle.ActionHookMerger.afterAction(ActionHookMerger.java:63)
       at org.netbeans.modules.gradle.ActionProviderImpl.lambda$invokeProjectAction$0(ActionProviderImpl.java:253)
       at org.openide.util.Task.notifyFinished(Task.java:215)
       at org.netbeans.core.execution.ExecutorTaskImpl.finished(ExecutorTaskImpl.java:64)
       at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:150)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nb-user-2019 Netbeans User 2019
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: