You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a problem when trying to build this on windows 10 21H1 x64 using java 17.0.1 from openjdk.
I have replaced some stuff with *** as i don't feel comfortable posting it online.
Also I have removed a lot of network devices and only left the one I am using for the same reason as mentioned previously.
If there is anything else needed to help fix this please let me know and I will provide the necessary information.
gradlew.bat build
FAILURE: Build failed with an exception.
* What went wrong:
Could not create an instance of type org.gradle.initialization.DefaultSettings_Decorated.
> Could not initialize class org.codehaus.groovy.runtime.InvokerHelper
* 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
BUILD FAILED in 0s
gradlew.bat build --debug
03:12:59.528 [INFO] [org.gradle.internal.nativeintegration.services.NativeServices] Initialized native services in: C:\Users\user\.gradle\native
03:12:59.708 [DEBUG] [org.gradle.internal.nativeintegration.services.NativeServices] Native-platform posix files integration is not available. Continuing with fallback.
03:12:59.824 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClient] Executing build 0f787ec4-a102-4a68-a974-f816329f8f7e in daemon client {pid=9972}
03:12:59.838 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface Software Loopback Interface 1
03:12:59.840 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? true
03:12:59.840 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding loopback address /127.0.0.1
03:12:59.841 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding loopback address /0:0:0:0:0:0:0:1
03:12:59.841 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface Microsoft 6to4 Adapter
03:12:59.843 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? false
03:12:59.873 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface Realtek RTL8822BE 802.11ac PCIe Adapter
03:12:59.876 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? false
03:12:59.876 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding remote address /***wlan3
03:12:59.899 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface Realtek RTL8822BE 802.11ac PCIe Adapter-WFP Native MAC Layer LightWeight Filter-0000
03:12:59.902 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? false
03:12:59.979 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface Realtek Gaming GbE Family Controller
03:12:59.982 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? false
03:12:59.982 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding remote address /***
03:12:59.982 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding remote address /***
03:13:00.003 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface Realtek Gaming GbE Family Controller-WFP Native MAC Layer LightWeight Filter-0000
03:13:00.007 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? false
03:13:00.007 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface Realtek Gaming GbE Family Controller-QoS Packet Scheduler-0000
03:13:00.011 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? false
03:13:00.011 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface Realtek Gaming GbE Family Controller-WFP 802.3 MAC Layer LightWeight Filter-000003:13:00.014 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? false
03:13:00.073 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface Realtek RTL8822BE 802.11ac PCIe Adapter-Virtual WiFi Filter Driver-0000
03:13:00.077 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? false
03:13:00.077 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface Realtek RTL8822BE 802.11ac PCIe Adapter-Native WiFi Filter Driver-0000
03:13:00.080 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? false
03:13:00.080 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface Realtek RTL8822BE 802.11ac PCIe Adapter-QoS Packet Scheduler-0000
03:13:00.083 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? false
03:13:00.083 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface Realtek RTL8822BE 802.11ac PCIe Adapter-WFP 802.3 MAC Layer LightWeight Filter-0000
03:13:00.086 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? false
03:13:00.163 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
03:13:00.165 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
03:13:00.171 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
03:13:00.173 [DEBUG] [org.gradle.internal.remote.internal.inet.TcpOutgoingConnector] Attempting to connect to [d352a06a-8a32-4c8f-ba2f-befecabccdaf port:57301, addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]].
03:13:00.173 [DEBUG] [org.gradle.internal.remote.internal.inet.TcpOutgoingConnector] Trying to connect to address /127.0.0.1.
03:13:00.177 [DEBUG] [org.gradle.internal.remote.internal.inet.TcpOutgoingConnector] Connected to address /127.0.0.1:57301.
03:13:00.247 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClient] Connected to daemon DaemonInfo{pid=15728, address=[d352a06a-8a32-4c8f-ba2f-befecabccdaf port:57301, addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]], state=Idle, lastBusy=1639793574572, context=DefaultDaemonContext[uid=2ac646d5-ad98-4893-b6c8-79a9c93af301,javaHome=D:\Programs\java17.0.1,daemonRegistryDir=C:\Users\user\.gradle\daemon,pid=15728,idleTimeout=10800000,priority=NORMAL,daemonOpts=--add-opens,java.base/java.util=ALL-UNNAMED,--add-opens,java.base/java.lang=ALL-UNNAMED,--add-opens,java.base/java.lang.invoke=ALL-UNNAMED,--add-opens,java.prefs/java.util.prefs=ALL-UNNAMED,-XX:MaxMetaspaceSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx512m,-Dfile.encoding=windows-1252,-Duser.country=US,-Duser.language=en,-Duser.variant]}. Dispatching request Build{id=0f787ec4-a102-4a68-a974-f816329f8f7e, currentDir=D:\Downloads\UhcCore-master\UhcCore-master}.
03:13:00.247 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] thread 1: dispatching class org.gradle.launcher.daemon.protocol.Build
03:13:00.253 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClient] Received result org.gradle.launcher.daemon.protocol.BuildStarted@3cfdd820 from daemon DaemonInfo{pid=15728, address=[d352a06a-8a32-4c8f-ba2f-befecabccdaf port:57301, addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]], state=Idle, lastBusy=1639793574572, context=DefaultDaemonContext[uid=2ac646d5-ad98-4893-b6c8-79a9c93af301,javaHome=D:\Programs\java17.0.1,daemonRegistryDir=C:\Users\user\.gradle\daemon,pid=15728,idleTimeout=10800000,priority=NORMAL,daemonOpts=--add-opens,java.base/java.util=ALL-UNNAMED,--add-opens,java.base/java.lang=ALL-UNNAMED,--add-opens,java.base/java.lang.invoke=ALL-UNNAMED,--add-opens,java.prefs/java.util.prefs=ALL-UNNAMED,-XX:MaxMetaspaceSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx512m,-Dfile.encoding=windows-1252,-Duser.country=US,-Duser.language=en,-Duser.variant]} (build should be starting).
03:13:00.254 [INFO] [org.gradle.launcher.daemon.server.exec.LogToClient] The client will now receive all logging from the daemon (pid: 15728). The daemon log file: C:\Users\user\.gradle\daemon\5.1.1\daemon-15728.out.log
03:13:00.254 [INFO] [org.gradle.launcher.daemon.server.exec.LogAndCheckHealth] Starting 8th build in daemon [uptime: 5 mins 8.14 secs, performance: 100%, no major garbage collections]
03:13:00.254 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] The daemon has started executing the build.
03:13:00.254 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] Executing build with daemon context: DefaultDaemonContext[uid=2ac646d5-ad98-4893-b6c8-79a9c93af301,javaHome=D:\Programs\java17.0.1,daemonRegistryDir=C:\Users\user\.gradle\daemon,pid=15728,idleTimeout=10800000,priority=NORMAL,daemonOpts=--add-opens,java.base/java.util=ALL-UNNAMED,--add-opens,java.base/java.lang=ALL-UNNAMED,--add-opens,java.base/java.lang.invoke=ALL-UNNAMED,--add-opens,java.prefs/java.util.prefs=ALL-UNNAMED,-XX:MaxMetaspaceSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx512m,-Dfile.encoding=windows-1252,-Duser.country=US,-Duser.language=en,-Duser.variant]
03:13:00.255 [INFO] [org.gradle.internal.work.DefaultWorkerLeaseService] Using 12 worker leases.
03:13:00.257 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Creating new cache for fileHashes, path D:\Downloads\UhcCore-master\UhcCore-master\.gradle\5.1.1\fileHashes\fileHashes.bin, access org.gradle.cache.internal.DefaultCacheAccess@10db6536
03:13:00.257 [DEBUG] [org.gradle.cache.internal.LockOnDemandCrossProcessCacheAccess] Acquiring file lock for file hash cache (D:\Downloads\UhcCore-master\UhcCore-master\.gradle\5.1.1\fileHashes)
03:13:00.259 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire exclusive lock on file hash cache (D:\Downloads\UhcCore-master\UhcCore-master\.gradle\5.1.1\fileHashes).
03:13:00.259 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on file hash cache (D:\Downloads\UhcCore-master\UhcCore-master\.gradle\5.1.1\fileHashes).
03:13:00.262 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Build operation 'Run build' started
03:13:00.262 [DEBUG] [org.gradle.internal.work.DefaultWorkerLeaseService] Worker lease root.1 started (1 worker(s) in use).
03:13:00.262 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Daemon worker Thread 3: acquired lock on root.1
03:13:00.262 [INFO] [org.gradle.internal.buildevents.BuildLogger] Starting Build
03:13:00.262 [DEBUG] [org.gradle.internal.buildevents.BuildLogger] Gradle user home: C:\Users\user\.gradle
03:13:00.262 [DEBUG] [org.gradle.internal.buildevents.BuildLogger] Current dir: D:\Downloads\UhcCore-master\UhcCore-master
03:13:00.262 [DEBUG] [org.gradle.internal.buildevents.BuildLogger] Settings file: null
03:13:00.262 [DEBUG] [org.gradle.internal.buildevents.BuildLogger] Build file: null
03:13:00.262 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Build operation 'Load build' started
03:13:00.263 [DEBUG] [org.gradle.initialization.buildsrc.BuildSourceBuilder] Gradle source dir does not exist. We leave.
03:13:00.263 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Build operation 'Evaluate settings' started
03:13:00.264 [DEBUG] [org.gradle.initialization.DefaultGradlePropertiesLoader] Found env project properties: []
03:13:00.264 [DEBUG] [org.gradle.initialization.DefaultGradlePropertiesLoader] Found system project properties: []
03:13:00.264 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Completing Build operation 'Evaluate settings'
03:13:00.264 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Build operation 'Evaluate settings' completed
03:13:00.264 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Completing Build operation 'Load build'
03:13:00.264 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Build operation 'Load build' completed
03:13:00.265 [DEBUG] [org.gradle.internal.work.DefaultWorkerLeaseService] Worker lease root.1 completed (0 worker(s) in use)
03:13:00.265 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Daemon worker Thread 3: released lock on root.1
03:13:00.265 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
03:13:00.265 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception.
03:13:00.265 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
03:13:00.265 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:
03:13:00.265 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Could not create an instance of type org.gradle.initialization.DefaultSettings_Decorated.
03:13:00.265 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Could not initialize class org.codehaus.groovy.runtime.InvokerHelper
03:13:00.265 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
03:13:00.265 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Try:
03:13:00.265 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Run with --stacktrace option to get the stack trace. Run with --scan to get full insights.
03:13:00.265 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
03:13:00.265 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Get more help at https://help.gradle.org
03:13:00.265 [ERROR] [org.gradle.internal.buildevents.BuildResultLogger]
03:13:00.266 [ERROR] [org.gradle.internal.buildevents.BuildResultLogger] BUILD FAILED in 1s
03:13:00.266 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Completing Build operation 'Run build'
03:13:00.266 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Build operation 'Run build' completed
03:13:00.268 [DEBUG] [org.gradle.deployment.internal.DefaultDeploymentRegistry] Stopping 0 deployment handles
03:13:00.268 [DEBUG] [org.gradle.deployment.internal.DefaultDeploymentRegistry] Stopped deployment handles
03:13:00.268 [DEBUG] [org.gradle.cache.internal.LockOnDemandCrossProcessCacheAccess] Releasing file lock for file hash cache (D:\Downloads\UhcCore-master\UhcCore-master\.gradle\5.1.1\fileHashes)
03:13:00.268 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on file hash cache (D:\Downloads\UhcCore-master\UhcCore-master\.gradle\5.1.1\fileHashes).
03:13:00.269 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] The daemon has finished executing the build.
03:13:00.301 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientInputForwarder] Dispatching close input message: org.gradle.launcher.daemon.protocol.CloseInput@431c212c
03:13:00.301 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] thread 19: dispatching class org.gradle.launcher.daemon.protocol.CloseInput
03:13:00.373 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClient] Received result Success[value=org.gradle.launcher.exec.BuildActionResult@6986852] from daemon DaemonInfo{pid=15728, address=[d352a06a-8a32-4c8f-ba2f-befecabccdaf port:57301, addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]], state=Idle, lastBusy=1639793574572, context=DefaultDaemonContext[uid=2ac646d5-ad98-4893-b6c8-79a9c93af301,javaHome=D:\Programs\java17.0.1,daemonRegistryDir=C:\Users\user\.gradle\daemon,pid=15728,idleTimeout=10800000,priority=NORMAL,daemonOpts=--add-opens,java.base/java.util=ALL-UNNAMED,--add-opens,java.base/java.lang=ALL-UNNAMED,--add-opens,java.base/java.lang.invoke=ALL-UNNAMED,--add-opens,java.prefs/java.util.prefs=ALL-UNNAMED,-XX:MaxMetaspaceSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx512m,-Dfile.encoding=windows-1252,-Duser.country=US,-Duser.language=en,-Duser.variant]} (build should be done).
03:13:00.373 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] thread 1: dispatching class org.gradle.launcher.daemon.protocol.Finished
03:13:00.373 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] thread 1: connection stop
The text was updated successfully, but these errors were encountered:
XenderLord
changed the title
Building with gralew.bat doesn't work
Building with gradlew.bat doesn't work
Dec 26, 2021
I have a problem when trying to build this on windows 10 21H1 x64 using java 17.0.1 from openjdk.
I have replaced some stuff with *** as i don't feel comfortable posting it online.
Also I have removed a lot of network devices and only left the one I am using for the same reason as mentioned previously.
If there is anything else needed to help fix this please let me know and I will provide the necessary information.
The text was updated successfully, but these errors were encountered: