"Trying" and failing to build Spongeforge for FTB ultimate reloaded


#1

Forge Mod Loader version 14.23.5.2811 for Minecraft 1.12.2
Java is OpenJDK 64-Bit Server VM, version 1.8.0_191, running on Linux:amd64:4.15.0-43-generic, installed at /usr/lib/jvm/java-8-openjdk-amd64/jre

I am running FTB ultimate reloaded dedicated server trying to load latest spongeforge-1.12.2-2768-7.1.5 on a forge 14.23.5.2811 server loads ok but the sponge commands are unrecognized when typed in server console letting me believe it hasn’t loaded properly.

I can’t downgrade/upgrade forge without breaking things, so i’ve decided to try my luck building spongeforge for forge 14.23.5.2811

I have edited gradle.properties
name=SpongeForge
implementation=Forge
description=The SpongeAPI implementation for Forge
url=https://www.spongepowered.org
organization=SpongePowered

forgeVersion=1.12.2-14.23.5
forgeBuild=2811

forgeGradlePlugin=net.minecraftforge.gradle.forge
org.gradle.jvmargs=-Xmx3G

run ./gradlew setupDecompWorkspace --refresh-dependencies
and ./gradlew --stracktrace --info --debug

EDIT: just run ./gradlew --stracktrace --info --debug > buildlogdebug its no surprise its almost 100mb txt file

heres the tail end of the buildlog
08:19:17.416 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Changing state to: SUCCEEDED
08:19:17.417 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Process ‘Gradle Test Executor 2’ finished with exit value 0 (state: SUCCEEDED)
08:19:17.424 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.207 completed (1 in use)
08:19:17.425 [DEBUG] [TestEventLogger]
08:19:17.425 [DEBUG] [TestEventLogger] Gradle Test Run :SpongeCommon:SpongeAPI:test FAILED
08:19:17.428 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.208 started (1 in use).
08:19:17.428 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.209 started (2 in use).
08:19:17.428 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.210 started (3 in use).
08:19:17.428 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.211 started (4 in use).
08:19:17.429 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.210 completed (3 in use)
08:19:17.429 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.212 started (4 in use).
08:19:17.429 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.211 completed (3 in use)
08:19:17.429 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.213 started (4 in use).
08:19:17.429 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.208 completed (3 in use)
08:19:17.430 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.214 started (4 in use).
08:19:17.430 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.213 completed (3 in use)
08:19:17.430 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.212 completed (2 in use)
08:19:17.430 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.215 started (3 in use).
08:19:17.430 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.216 started (4 in use).
08:19:17.431 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.215 completed (3 in use)
08:19:17.431 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.217 started (4 in use).
08:19:17.431 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.217 completed (3 in use)
08:19:17.431 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.218 started (4 in use).
08:19:17.432 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.218 completed (3 in use)
08:19:17.432 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.219 started (4 in use).
08:19:17.432 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.216 completed (3 in use)
08:19:17.432 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.220 started (4 in use).
08:19:17.432 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.219 completed (3 in use)
08:19:17.432 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.221 started (4 in use).
08:19:17.432 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.220 completed (3 in use)
08:19:17.432 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.222 started (4 in use).
08:19:17.433 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.221 completed (3 in use)
08:19:17.433 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.223 started (4 in use).
08:19:17.433 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.222 completed (3 in use)
08:19:17.433 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.224 started (4 in use).
08:19:17.434 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.214 completed (3 in use)
08:19:17.434 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.209 completed (2 in use)
08:19:17.434 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.225 started (3 in use).
08:19:17.434 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.223 completed (2 in use)
08:19:17.434 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.226 started (3 in use).
08:19:17.434 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.226 completed (2 in use)
08:19:17.434 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.227 started (3 in use).
08:19:17.435 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.225 completed (2 in use)
08:19:17.435 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.228 started (3 in use).
08:19:17.435 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.227 completed (2 in use)
08:19:17.435 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.224 completed (1 in use)
08:19:17.435 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.229 started (2 in use).
08:19:17.435 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.228 completed (1 in use)
08:19:17.436 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.230 started (2 in use).
08:19:17.436 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.229 completed (1 in use)
08:19:17.436 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.231 started (2 in use).
08:19:17.436 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.230 completed (1 in use)
08:19:17.436 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.232 started (2 in use).
08:19:17.437 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.233 started (3 in use).
08:19:17.437 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.232 completed (2 in use)
08:19:17.437 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.234 started (3 in use).
08:19:17.437 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.231 completed (2 in use)
08:19:17.438 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.234 completed (1 in use)
08:19:17.438 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.233 completed (1 in use)
08:19:17.438 [INFO] [org.gradle.api.internal.tasks.testing.junit.result.Binary2JUnitXmlReportGenerator] Finished generating test XML results (0.011 secs) into: /home/ftbur/SpongeForge/SpongeCommon/SpongeAPI/build/test-results/test
08:19:17.438 [INFO] [org.gradle.api.internal.tasks.testing.junit.report.DefaultTestReport] Generating HTML test report…
08:19:17.440 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.235 started (1 in use).
08:19:17.440 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.236 started (2 in use).
08:19:17.440 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.237 started (3 in use).
08:19:17.441 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.237 completed (2 in use)
08:19:17.441 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.238 started (3 in use).
08:19:17.442 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.238 completed (2 in use)
08:19:17.442 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.239 started (3 in use).
08:19:17.443 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.239 completed (2 in use)
08:19:17.464 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206.272 completed (1 in use)
08:19:17.464 [INFO] [org.gradle.api.internal.tasks.testing.junit.report.DefaultTestReport] Finished generating test html results (0.026 secs) into: /home/ftbur/SpongeForge/SpongeCommon/SpongeAPI/build/reports/tests/test
08:19:17.465 [DEBUG] [org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter] Removed task artifact state for {} from context.
08:19:17.465 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Finished executing task ‘:SpongeCommon:SpongeAPI:test’
08:19:17.465 [LIFECYCLE] [class org.gradle.internal.buildevents.TaskExecutionLogger] :SpongeCommon:SpongeAPI:test FAILED
08:19:17.465 [INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :SpongeCommon:SpongeAPI:test (Thread[Daemon worker Thread 6,5,main]) completed. Took 8.371 secs.
08:19:17.465 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.206 completed (0 in use)
08:19:17.465 [DEBUG] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] Task worker [Thread[Daemon worker Thread 6,5,main]] finished, busy: 2 mins 12.397 secs, idle: 0.056 secs
08:19:17.472 [LIFECYCLE] [org.gradle.internal.buildevents.BuildResultLogger]
08:19:17.472 [LIFECYCLE] [org.gradle.internal.buildevents.BuildResultLogger] BUILD FAILED
08:19:17.472 [LIFECYCLE] [org.gradle.internal.buildevents.BuildResultLogger]
08:19:17.472 [LIFECYCLE] [org.gradle.internal.buildevents.BuildResultLogger] Total time: 2 mins 16.589 secs
08:19:17.477 [DEBUG] [org.gradle.cache.internal.LockOnDemandCrossProcessCacheAccess] Releasing file lock for file content cache (/home/ftbur/SpongeForge/.gradle/3.4.1/fileContent)
08:19:17.479 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache annotation-processors.bin (/home/ftbur/SpongeForge/.gradle/3.4.1/fileContent/annotation-processors.bin)
08:19:17.479 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on file content cache (/home/ftbur/SpongeForge/.gradle/3.4.1/fileContent).
08:19:17.480 [DEBUG] [org.gradle.cache.internal.LockOnDemandCrossProcessCacheAccess] Releasing file lock for task history cache (/home/ftbur/SpongeForge/.gradle/3.4.1/taskHistory)
08:19:17.480 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache jvmClassSignatures.bin (/home/ftbur/SpongeForge/.gradle/3.4.1/taskHistory/jvmClassSignatures.bin)
08:19:17.480 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache taskHistory.bin (/home/ftbur/SpongeForge/.gradle/3.4.1/taskHistory/taskHistory.bin)
08:19:17.480 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache fileHashes.bin (/home/ftbur/SpongeForge/.gradle/3.4.1/taskHistory/fileHashes.bin)
08:19:17.480 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache fileSnapshots.bin (/home/ftbur/SpongeForge/.gradle/3.4.1/taskHistory/fileSnapshots.bin)
08:19:17.481 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on task history cache (/home/ftbur/SpongeForge/.gradle/3.4.1/taskHistory).
08:19:17.485 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.CachedStoreFactory] Resolution result cache closed. Cache reads: 4, disk reads: 5 (avg: 0.0 secs, total: 0.003 secs)
08:19:17.485 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.CachedStoreFactory] Resolution result cache closed. Cache reads: 0, disk reads: 0 (avg: 0.0 secs, total: 0.0 secs)
08:19:17.486 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.ResolutionResultsStoreFactory] Deleted 2 resolution results binary files in 0.002 secs
08:19:17.486 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Cache Plugin Resolution Cache (/home/ftbur/.gradle/caches/3.4.1/plugin-resolution) was closed 0 times.
08:19:17.487 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on cache directory workerMain (/home/ftbur/.gradle/caches/3.4.1/workerMain).
08:19:17.493 [DEBUG] [org.gradle.process.internal.daemon.WorkerDaemonManager] Stopping 0 worker daemon(s).
08:19:17.493 [INFO] [org.gradle.process.internal.daemon.WorkerDaemonManager] Stopped 0 worker daemon(s).
08:19:17.493 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Cache Generated Gradle JARs cache (/home/ftbur/.gradle/caches/3.4.1/generated-gradle-jars) was closed 0 times.
08:19:17.493 [DEBUG] [org.gradle.deployment.internal.DefaultDeploymentRegistry] Stopping 0 deployment handles
08:19:17.493 [DEBUG] [org.gradle.deployment.internal.DefaultDeploymentRegistry] Stopped deployment handles
08:19:17.493 [DEBUG] [org.gradle.cache.internal.LockOnDemandCrossProcessCacheAccess] Releasing file lock for artifact cache (/home/ftbur/.gradle/caches/modules-2)
08:19:17.494 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache artifact-at-repository.bin (/home/ftbur/.gradle/caches/modules-2/metadata-2.23/artifact-at-repository.bin)
08:19:17.494 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache module-metadata.bin (/home/ftbur/.gradle/caches/modules-2/metadata-2.23/module-metadata.bin)
08:19:17.494 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on artifact cache (/home/ftbur/.gradle/caches/modules-2).
08:19:17.494 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] The daemon has finished executing the build.
08:19:17.583 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientInputForwarder] Dispatching close input message: org.gradle.launcher.daemon.protocol.CloseInput@488d8193
08:19:17.583 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] thread 12: dispatching class org.gradle.launcher.daemon.protocol.CloseInput
08:19:17.584 [INFO] [org.gradle.launcher.daemon.client.DaemonClient] Received result Failure[value=org.gradle.initialization.ReportedException: org.gradle.internal.exceptions.LocationAwareException: Execution failed for task ‘:SpongeCommon:SpongeAPI:test’.] from daemon DaemonInfo{pid=9175, address=[de879065-2082-42b9-bcd6-5e8bd7096281 port:44013, addresses:[/0:0:0:0:0:0:0:1, /127.0.0.1]], state=Idle, lastBusy=1550989676958, context=DefaultDaemonContext[uid=054cc530-c8b2-4d83-824a-b928bf14c3f9,javaHome=/usr/lib/jvm/java-8-openjdk-amd64,daemonRegistryDir=/home/ftbur/.gradle/daemon,pid=9175,idleTimeout=10800000,daemonOpts=-Xmx3G,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant]} (build should be done).
08:19:17.584 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] thread 1: dispatching class org.gradle.launcher.daemon.protocol.Finished
08:19:17.589 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] thread 1: connection stop

Is there any way to bypass test errors or is that a bad idea?

I will try building an even newer version in hopes of it succeeding and report back my novice experiences…


#2

just tried building against 2814 same thing

:testmods:build
:SpongeCommon:SpongeAPI:javadoc
/home/ftbur/SpongeForge-2814/SpongeForge/SpongeCommon/SpongeAPI/src/main/java/org/spongepowered/api/util/CatalogBuilder.java:69: warning - Tag @link: reference not found: C
/home/ftbur/SpongeForge-2814/SpongeForge/SpongeCommon/SpongeAPI/src/main/java/org/spongepowered/api/util/CatalogBuilder.java:69: warning - Tag @link: reference not found: C
/home/ftbur/SpongeForge-2814/SpongeForge/SpongeCommon/SpongeAPI/src/main/java/org/spongepowered/api/util/CatalogBuilder.java:69: warning - Tag @link: reference not found: C
/home/ftbur/SpongeForge-2814/SpongeForge/SpongeCommon/SpongeAPI/src/main/java/org/spongepowered/api/util/CatalogBuilder.java:69: warning - Tag @link: reference not found: C
/home/ftbur/SpongeForge-2814/SpongeForge/SpongeCommon/SpongeAPI/src/main/java/org/spongepowered/api/util/CatalogBuilder.java:69: warning - Tag @link: reference not found: C
/home/ftbur/SpongeForge-2814/SpongeForge/SpongeCommon/SpongeAPI/src/main/java/org/spongepowered/api/util/CatalogBuilder.java:69: warning - Tag @link: reference not found: C
/home/ftbur/SpongeForge-2814/SpongeForge/SpongeCommon/SpongeAPI/src/main/java/org/spongepowered/api/event/item/inventory/DropItemEvent.java:87: warning - Tag @link: reference not found: ChangeBlockEvent.Break
/home/ftbur/SpongeForge-2814/SpongeForge/SpongeCommon/SpongeAPI/src/main/java/org/spongepowered/api/event/item/inventory/DropItemEvent.java:87: warning - Tag @link: reference not found: DestructEntityEvent.Death
/home/ftbur/SpongeForge-2814/SpongeForge/SpongeCommon/SpongeAPI/src/main/java/org/spongepowered/api/service/context/Context.java:53: warning - Tag @link: reference not found: Map.Entry
/home/ftbur/SpongeForge-2814/SpongeForge/SpongeCommon/SpongeAPI/src/main/java/org/spongepowered/api/util/CatalogBuilder.java:69: warning - Tag @link: reference not found: C
/home/ftbur/SpongeForge-2814/SpongeForge/SpongeCommon/SpongeAPI/src/main/java/org/spongepowered/api/util/CatalogBuilder.java:69: warning - Tag @link: reference not found: C
/home/ftbur/SpongeForge-2814/SpongeForge/SpongeCommon/SpongeAPI/src/main/java/org/spongepowered/api/util/CatalogBuilder.java:69: warning - Tag @link: reference not found: C
/home/ftbur/SpongeForge-2814/SpongeForge/SpongeCommon/SpongeAPI/src/main/java/org/spongepowered/api/util/CatalogBuilder.java:69: warning - Tag @link: reference not found: C
/home/ftbur/SpongeForge-2814/SpongeForge/SpongeCommon/SpongeAPI/src/main/java/org/spongepowered/api/util/CatalogBuilder.java:69: warning - Tag @link: reference not found: C
/home/ftbur/SpongeForge-2814/SpongeForge/SpongeCommon/SpongeAPI/src/main/java/org/spongepowered/api/util/CatalogBuilder.java:69: warning - Tag @link: reference not found: C
15 warnings
:SpongeCommon:SpongeAPI:javadocJar
:SpongeCommon:SpongeAPI:shadowJar
:SpongeCommon:SpongeAPI:sourceJar
:SpongeCommon:SpongeAPI:assemble
:SpongeCommon:SpongeAPI:checkLicenseAp
:SpongeCommon:SpongeAPI:checkLicenseMain
:SpongeCommon:SpongeAPI:checkLicenseTest
:SpongeCommon:SpongeAPI:checkLicenses
:SpongeCommon:SpongeAPI:checkstyleAp SKIPPED
:SpongeCommon:SpongeAPI:checkstyleMain SKIPPED
:SpongeCommon:SpongeAPI:checkstyleTest SKIPPED
:SpongeCommon:SpongeAPI:test

org.spongepowered.api.command.CommandSpecTest > testNoArgsFunctional FAILED
java.lang.IllegalStateException: Sponge has not been initialized!
at com.google.common.base.Preconditions.checkState(Preconditions.java:444)
at org.spongepowered.api.Sponge.check(Sponge.java:77)
at org.spongepowered.api.Sponge.getCauseStackManager(Sponge.java:269)
at org.spongepowered.api.command.dispatcher.SimpleDispatcher.process(SimpleDispatcher.java:338)
at org.spongepowered.api.command.CommandSpecTest.testNoArgsFunctional(CommandSpecTest.java:57)

443 tests completed, 1 failed
:SpongeCommon:SpongeAPI:test FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:SpongeCommon:SpongeAPI:test’.

There were failing tests. See the report at: file:///home/ftbur/SpongeForge-2814/SpongeForge/SpongeCommon/SpongeAPI/build/reports/tests/test/index.html

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 2 mins 36.414 secs
ftbur@localhost:~/SpongeForge-2814/SpongeForge$

is it just me doing something wrong or is it just not working?


#3

Stack trace is useless, that’s just showing which part of Gradle caused the error. You already know which part of Gradle caused the error, it’s the test suite.

That would probably be where to look. Meanwhile,

FTB Ultimate is a big name modpack. Sponge is the only way to get server plugins. Ergo, six thousand people already had your exact problem. Here’s one of them.


#4

Hi there thanks for the quick response. I tried the fix mentioned I’m not having any luck with it, also just disabled the plugin foamfix from loading and spongeforge still isn’t loading.

Here is the logs before i disabled foamfix
http://139.162.20.198/ftbur_logs.7z


#5

I seem to have fixed what ever was causing it to not load correctly.

  1. try the foamfix config changes.
  2. try renaming spongeforge to _aspongeforge to get in early with mixins, something else is polluting mixins before spongeforge is loaded.
  3. for the sake of simplicity also rename spongeforge plugins to _worldedit _vanish _luckperms so that those plugins also get loaded before everything else and are easy find when you need to look for them.

#6

Those are the two most common SpongeForge quick-fixes for modpacks, i.e. the FoamFix config and renaming SF to get past an old_mixin conflict with a coremod.

In future, can you please put stack traces and log files into a separate link (e.g. GitHub gist)? It saves a lot of space and makes it easier to read the thread.


#7

It was #2 then, because a mod was loading an outdated version of Mixin first.
#3 isn’t a thing, Sponge loads plugins independently of Forge loading mods.


#8

Just for reference, I have fixed your original test failing problem as I was getting it too.