[ 
https://issues.apache.org/jira/browse/NETBEANS-2038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Laszlo Kishalmi updated NETBEANS-2038:
--------------------------------------
    Labels: 11.0-vc2 pull-request-available  (was: pull-request-available)

> Anomalous termination of gradle task
> ------------------------------------
>
>                 Key: NETBEANS-2038
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2038
>             Project: NetBeans
>          Issue Type: Bug
>          Components: projects - Gradle
>    Affects Versions: 11.0
>            Reporter: Alessandro Falappa
>            Assignee: Laszlo Kishalmi
>            Priority: Minor
>              Labels: 11.0-vc2, pull-request-available
>             Fix For: 11.0
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> Generate a Gradle Spring Boot project on  
> [http://start.spring.io|http://start.spring.io/] adding the *Web* dependency.
> Unzip the download archive and open it in NetBeans.
> In the Navigator right click on the _bootRun_ task and choose _Run Task..._ 
> from the context menu. The project compiles and starts directly from the 
> build folder (the bootRun is a task provided by the spring boot gradle 
> plugin) and should run an embedded Tomcat server listening on port 8080.
> Stop the task clicking the red stop button in the output window.
> The task stops but the launched gradle process reports an abnormal 
> termination in the output window:
> {code:java}
> Could not read standard output of command 
> '/usr/lib/jvm/java-8-oracle/bin/java'.
> java.io.IOException: Stream closed
> at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:170)
> at java.io.BufferedInputStream.read1(BufferedInputStream.java:291)
> at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
> at java.io.FilterInputStream.read(FilterInputStream.java:107)
> at 
> org.gradle.process.internal.streams.ExecOutputHandleRunner.forwardContent(ExecOutputHandleRunner.java:61)
> at 
> org.gradle.process.internal.streams.ExecOutputHandleRunner.run(ExecOutputHandleRunner.java:51)
> at 
> org.gradle.internal.operations.CurrentBuildOperationPreservingRunnable.run(CurrentBuildOperationPreservingRunnable.java:42)
> at 
> org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
> at 
> org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at 
> org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
> at java.lang.Thread.run(Thread.java:748)
> > Task :bootRun FAILED
> FAILURE: Build failed with an exception.
> * What went wrong:
> Execution failed for task ':bootRun'.
> > Process 'command '/usr/lib/jvm/java-8-oracle/bin/java'' finished with 
> > non-zero exit value 143
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or 
> --debug option to get more log output. Run with --scan to get full insights.
> * Get more help at https://help.gradle.org
> Deprecated Gradle features were used in this build, making it incompatible 
> with Gradle 5.0.
> Use '--warning-mode all' to show the individual deprecation warnings.
> See 
> https://docs.gradle.org/4.10.2/userguide/command_line_interface.html#sec:command_line_warnings
> BUILD FAILED in 50s
> 3 actionable tasks: 1 executed, 2 up-to-date
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to