java.security.PrivilegedActionException: org.apache.bsf.BSFException: JavaScript Error: Internal Error: The following error occurred while executing this line: c:\BuildDeployScripts\build.xml:338: Remote command failed with exit status -1

ant-user | Eric Fetzer | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Re: sshexec

    ant-user | 2 years ago | Eric Fetzer
    java.security.PrivilegedActionException: org.apache.bsf.BSFException: JavaScript Error: Internal Error: The following error occurred while executing this line: c:\BuildDeployScripts\build.xml:338: Remote command failed with exit status -1
  2. 0

    Re: sshexec

    ant-user | 2 years ago | Peter West
    java.security.PrivilegedActionException: org.apache.bsf.BSFException: JavaScript Error: Internal Error: The following error occurred while executing this line: c:\BuildDeployScripts\build.xml:338: Remote command failed with exit status -1
  3. 0

    Re: sshexec

    ant-user | 2 years ago | Peter West
    java.security.PrivilegedActionException: org.apache.bsf.BSFException: JavaScript Error: Internal Error: The following error occurred while executing this line: c:\BuildDeployScripts\build.xml:338: Remote command failed with exit status -1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: sshexec

    ant-user | 2 years ago | Eric Fetzer
    java.security.PrivilegedActionException: org.apache.bsf.BSFException: JavaScript Error: Internal Error: The following error occurred while executing this line: c:\BuildDeployScripts\build.xml:338: Remote command failed with exit status -1
  6. 0

    RE: sshexec

    ant-user | 2 years ago | Martin Gainty
    java.security.PrivilegedActionException: org.apache.bsf.BSFException: JavaScript Error: Internal Error: The following error occurred while executing this line: c:\BuildDeployScripts\build.xml:338: Remote command failed with exit status -1

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.bsf.BSFException

      JavaScript Error: Internal Error: The following error occurred while executing this line: c:\BuildDeployScripts\build.xml:338: Remote command failed with exit status -1

      at org.apache.bsf.engines.javascript.JavaScriptEngine.handleError()
    2. Bean Scripting Framework
      BSFManager$6.run
      1. org.apache.bsf.engines.javascript.JavaScriptEngine.handleError(JavaScriptEngine.java:195)
      2. org.apache.bsf.engines.javascript.JavaScriptEngine.eval(JavaScriptEngine.java:147)
      3. org.apache.bsf.util.BSFEngineImpl.exec(BSFEngineImpl.java:141)
      4. org.apache.bsf.BSFManager$6.run(BSFManager.java:493)
      4 frames
    3. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(AccessController.java:246)
      1 frame
    4. Bean Scripting Framework
      BSFManager.exec
      1. org.apache.bsf.BSFManager.exec(BSFManager.java:491)
      1 frame
    5. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.util.optional.ScriptRunner.executeScript(ScriptRunner.java:103)
      2. org.apache.tools.ant.taskdefs.optional.Script.execute(Script.java:52)
      3. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
      3 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:618)
      3 frames
    7. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
      2. org.apache.tools.ant.Task.perform(Task.java:348)
      3. org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
      4. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
      4 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:618)
      3 frames
    9. Ant
      MacroInstance.execute
      1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
      2. org.apache.tools.ant.Task.perform(Task.java:348)
      3. org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:391)
      3 frames
    10. Ant-Contrib Tasks
      ForTask.execute
      1. net.sf.antcontrib.logic.ForTask.doSequentialIteration(ForTask.java:259)
      2. net.sf.antcontrib.logic.ForTask.doToken(ForTask.java:268)
      3. net.sf.antcontrib.logic.ForTask.doTheTasks(ForTask.java:299)
      4. net.sf.antcontrib.logic.ForTask.execute(ForTask.java:244)
      4 frames
    11. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
      1 frame
    12. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:618)
      3 frames
    13. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
      2. org.apache.tools.ant.Task.perform(Task.java:348)
      3. org.apache.tools.ant.Target.execute(Target.java:357)
      4. org.apache.tools.ant.Target.performTasks(Target.java:385)
      5. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
      6. org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
      7. org.apache.tools.ant.Project.executeTargets(Project.java:1181)
      8. org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
      9. org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
      10. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
      10 frames
    14. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:618)
      3 frames
    15. Ant
      Sequential.execute
      1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
      2. org.apache.tools.ant.Task.perform(Task.java:348)
      3. org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
      3 frames
    16. Ant-Contrib Tasks
      IfTask.execute
      1. net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
      1 frame
    17. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:618)
      4 frames
    18. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
      2. org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:134)
      3. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
      3 frames
    19. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:618)
      3 frames
    20. Ant
      Sequential.execute
      1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
      2. org.apache.tools.ant.Task.perform(Task.java:348)
      3. org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
      3 frames
    21. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:618)
      4 frames
    22. Ant
      Task.perform
      1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
      2. org.apache.tools.ant.Task.perform(Task.java:348)
      2 frames
    23. Ant-Contrib Tasks
      TryCatchTask.execute
      1. net.sf.antcontrib.logic.TryCatchTask.execute(TryCatchTask.java:207)
      1 frame
    24. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
      1 frame
    25. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:618)
      3 frames
    26. Ant
      Main.startAnt
      1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
      2. org.apache.tools.ant.Task.perform(Task.java:348)
      3. org.apache.tools.ant.Target.execute(Target.java:357)
      4. org.apache.tools.ant.Target.performTasks(Target.java:385)
      5. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
      6. org.apache.tools.ant.Project.executeTarget(Project.java:1298)
      7. org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
      8. org.apache.tools.ant.Project.executeTargets(Project.java:1181)
      9. org.apache.tools.ant.Main.runBuild(Main.java:698)
      10. org.apache.tools.ant.Main.startAnt(Main.java:199)
      10 frames
    27. Apache Ant Launcher
      Launcher.main
      1. org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
      2. org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
      2 frames