Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

I am getting Exception in thread "DisconnectableInputStream source reader" in sample project.
Started by ammar71 Oct 13 2019 03:09 PM

2 replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

ammar71

[GLOBAL: userInfoPane.html]
ammar71
  • Enthusiast

  • 60 posts
  • Corona SDK

Hi,

For few days now I have been getting this error every time I tried to do an Android build (on my Win10 PC).

Exception in thread "DisconnectableInputStream source reader" org.gradle.api.UncheckedIOException: java.io.IOException: Access is denied
23:40:37.168  	at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:61)
23:40:37.168  	at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:41)
23:40:37.168  	at org.gradle.util.DisconnectableInputStream$1.run(DisconnectableInputStream.java:125)
23:40:37.168  	at java.lang.Thread.run(Thread.java:748)
23:40:37.168  Caused by: java.io.IOException: Access is denied

I am not sure if this error is related to my PC/Windows system or is it on the server side?

 

What I tried so far:

1- Uninstalled all Java versions from my PC and then installed java version "1.8.0_221"

2- Uninstalled Corona and then installed corona Build=2019.3540

3- I started a new project and selected a "Tab Bar Application".

4- I tried to build this new app for Android but I got the above error.

 

The full build log can be found here:

https://justpaste.it/2mlo8

 

Anyone else having this issue?

 

Is gradle a tool on my PC that I need to upgrade?

 

Thanks.



[TOPIC: post.html]
#2

yosu

[GLOBAL: userInfoPane.html]
yosu
  • Contributor

  • 525 posts
  • Corona SDK

hi

 

I had the same issue. I just rebuild it and it works. I am using 2019.3540 build.

19:55:05.569  @ver > NUL
19:55:05.569  Exception in thread "DisconnectableInputStream source reader" org.gradle.api.UncheckedIOException: java.io.IOException: Access is denied
19:55:05.569  	at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:61)
19:55:05.569  	at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:41)
19:55:05.569  	at org.gradle.util.DisconnectableInputStream$1.run(DisconnectableInputStream.java:125)
19:55:05.569  	at java.lang.Thread.run(Thread.java:748)
19:55:05.569  Caused by: java.io.IOException: Access is denied
19:55:05.569  	at java.io.FileInputStream.readBytes(Native Method)
19:55:05.569  	at java.io.FileInputStream.read(FileInputStream.java:255)
19:55:05.569  	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
19:55:05.569  	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
19:55:05.569  	at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
19:55:05.569  	at org.gradle.util.DisconnectableInputStream$1.run(DisconnectableInputStream.java:96)
19:55:05.569  	... 1 more
19:55:05.569  Error while fetching plugins
19:55:05.569  SPLASH	nil
19:55:05.569  ERROR: unable to fetch plugin download location for plugin.calendar (com.coronalabs). Error message: 
19:55:05.569  
19:55:05.569  
19:55:05.569  FAILURE: Build failed with an exception.
19:55:05.569  
19:55:05.569  * Where:
19:55:05.569  Build file 'C:\Users\X\AppData\Local\Temp\Corona Labs\CLtmpa06916\template\app\build.gradle.kts' line: 597
19:55:05.569  
19:55:05.569  * What went wrong:
19:55:05.569  Error while fetching plugins
19:55:05.569  
19:55:05.569  * Try:
19:55:05.569  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.
19:55:05.569  
19:55:05.569  * Get more help at https://help.gradle.org
19:55:05.569  
19:55:05.569  BUILD FAILED in 50s
19:55:05.569  Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
19:55:05.887  Android build failed (1) after 54 seconds

  • elder2041 likes this

[TOPIC: post.html]
#3

nappa

[GLOBAL: userInfoPane.html]
nappa
  • Enthusiast

  • 63 posts
  • Corona SDK

me too..

 

Corona version is 2019.3547(2019.11.1).

11:47:58.267  Testing credentials for 'C:\Program Files (x86)\Corona Labs\Corona\Resources\debug.keystore': 
11:47:59.817  jar signed.
11:47:59.817  
11:47:59.817  Warning: 
11:47:59.817  The signer's certificate is self-signed.
11:47:59.817  
11:47:59.817  The timestamp will expire on 2030-10-17.
11:47:59.817  Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
11:48:03.395  Using custom build id from app bundle: 00000 (AppSettings.lua)
11:48:03.395  
11:48:03.395  Using custom Build Id 00000
11:48:14.224  @ver > NUL
11:48:14.224  Exception in thread "DisconnectableInputStream source reader" org.gradle.api.UncheckedIOException: java.io.IOException:  A N Z X     ۂ   ܂    B
11:48:14.224  	at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:61)
11:48:14.224  	at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:41)
11:48:14.224  	at org.gradle.util.DisconnectableInputStream$1.run(DisconnectableInputStream.java:125)
11:48:14.224  	at java.lang.Thread.run(Thread.java:748)
11:48:14.224  Caused by: java.io.IOException:  A N Z X     ۂ   ܂    B
11:48:14.224  	at java.io.FileInputStream.readBytes(Native Method)
11:48:14.224  	at java.io.FileInputStream.read(FileInputStream.java:255)
11:48:14.224  	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
11:48:14.224  	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
11:48:14.224  	at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
11:48:14.224  	at org.gradle.util.DisconnectableInputStream$1.run(DisconnectableInputStream.java:96)
11:48:14.224  	... 1 more
11:48:14.224  Error while fetching plugins
11:48:14.224  
11:48:14.224  
11:48:14.224  FAILURE: Build failed with an exception.
11:48:14.224  
11:48:14.224  * Where:
11:48:14.224  Build file 'C:\Users\ryo\AppData\Local\Temp\Corona Labs\CLtmpa20276\template\app\build.gradle.kts' line: 597
11:48:14.224  
11:48:14.224  * What went wrong:
11:48:14.224  Error while fetching plugins
11:48:14.224  
11:48:14.224  * Try:
11:48:14.224  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.
11:48:14.224  
11:48:14.224  * Get more help at https://help.gradle.org
11:48:14.224  
11:48:14.224  BUILD FAILED in 8s
11:48:14.224  Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
11:48:14.661  Android build failed (1) after 11 seconds




[topic_controls]
[/topic_controls]