Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Program hangs while writing the command #75

Open
samrajcse opened this issue Dec 30, 2020 · 0 comments
Open

Program hangs while writing the command #75

samrajcse opened this issue Dec 30, 2020 · 0 comments

Comments

@samrajcse
Copy link

Hi Team,

I am using latest version of jpowershell and I am getting frequent program hang in writeBytes. I write the O365 powershell command and perform operations. At somepoint it stucks like this.

Jconsole stack trace:

java.io.FileOutputStream.writeBytes(Native Method)
java.io.FileOutputStream.write(FileOutputStream.java:326)
java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)

  • locked java.io.BufferedOutputStream@124f31bf
    java.io.BufferedOutputStream.flush(BufferedOutputStream.java:141)
  • locked java.io.BufferedOutputStream@15c49962
    sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:297)
    sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
  • locked java.io.OutputStreamWriter@15795f01
    java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
    java.io.PrintWriter.newLine(PrintWriter.java:482)
  • locked java.io.OutputStreamWriter@15795f01
    java.io.PrintWriter.println(PrintWriter.java:629)
    java.io.PrintWriter.println(PrintWriter.java:740)
  • locked java.io.OutputStreamWriter@15795f01
    com.profesorfalken.jpowershell.PowerShell.executeCommand(PowerShell.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant