org.jvnet.winp.WinpException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Build Artifacts
    via by Matt,
  • User list for the Hudson continuous build server.
    via by Unknown author,
  • I have checked for this defect online but couldn't get a solution. The job doesn't terminate the job correctly. The Jenkins version is the latest one. Some more details are Environment - Windows 7 Jenkins service is started with my user id and pasword. The error that I get is ERROR: Build step failed with exception org.jvnet.winp.WinpException: Failed to read environment variable table error=299 at .\envvar-cmdline.cpp:201 at org.jvnet.winp.Native.getCmdLineAndEnvVars(Native Method) at org.jvnet.winp.WinProcess.parseCmdLineAndEnvVars(WinProcess.java:126) at org.jvnet.winp.WinProcess.getCommandLine(WinProcess.java:102) at org.jvnet.winp.WinProcess.killRecursively(WinProcess.java:66) at hudson.util.ProcessTree$Windows$1.killRecursively(ProcessTree.java:425) at hudson.util.ProcessTree.killAll(ProcessTree.java:141) at hudson.Proc$LocalProc.destroy(Proc.java:379) at hudson.Proc$LocalProc.join(Proc.java:352) at hudson.Launcher$ProcStarter.join(Launcher.java:389) at hudson.tasks.Ant.perform(Ant.java:217) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) at hudson.model.Build$BuildExecution.build(Build.java:205) at hudson.model.Build$BuildExecution.doRun(Build.java:162) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537) at hudson.model.Run.execute(Run.java:1741) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:408
    via by mani sankar,
  • I have checked for this defect online but couldn't get a solution. The job doesn't terminate the job correctly. The Jenkins version is the latest one. Some more details are Environment - Windows 7 Jenkins service is started with my user id and pasword. The error that I get is ERROR: Build step failed with exception org.jvnet.winp.WinpException: Failed to read environment variable table error=299 at .\envvar-cmdline.cpp:201 at org.jvnet.winp.Native.getCmdLineAndEnvVars(Native Method) at org.jvnet.winp.WinProcess.parseCmdLineAndEnvVars(WinProcess.java:126) at org.jvnet.winp.WinProcess.getCommandLine(WinProcess.java:102) at org.jvnet.winp.WinProcess.killRecursively(WinProcess.java:66) at hudson.util.ProcessTree$Windows$1.killRecursively(ProcessTree.java:425) at hudson.util.ProcessTree.killAll(ProcessTree.java:141) at hudson.Proc$LocalProc.destroy(Proc.java:379) at hudson.Proc$LocalProc.join(Proc.java:352) at hudson.Launcher$ProcStarter.join(Launcher.java:389) at hudson.tasks.Ant.perform(Ant.java:217) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) at hudson.model.Build$BuildExecution.build(Build.java:205) at hudson.model.Build$BuildExecution.doRun(Build.java:162) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537) at hudson.model.Run.execute(Run.java:1741) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:408
    via by mani sankar,
    • org.jvnet.winp.WinpException: Failed to read environment variable table error=299 at .\envvar-cmdline.cpp:114 at org.jvnet.winp.Native.getCmdLineAndEnvVars(Native Method) at org.jvnet.winp.WinProcess.parseCmdLineAndEnvVars(WinProcess.java:114) at org.jvnet.winp.WinProcess.getEnvironmentVariables(WinProcess.java:109) at hudson.util.ProcessTree$Windows$1.getEnvironmentVariables(ProcessTree.java:426) at hudson.util.ProcessTree$OSProcess.hasMatchingEnvVars(ProcessTree.java:266) at hudson.util.ProcessTree$Windows.killAll(ProcessTree.java:448) at hudson.Launcher$LocalLauncher.kill(Launcher.java:730) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:483) at hudson.model.Run.run(Run.java:1404) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230)

    Users with the same issue

    Unknown visitor1 times, last one,