Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

gradle runClient fails, missing library in gradle dependencies


tesract
 Share

Recommended Posts

I'm trying to use akka inside my scala based mod.

 

The when testing using "gradle runClient" it gives errors, best I can tell its missing the akka library at runtime.  I don't see how to add akka library though.

 

If it helps my project is here: https://github.com/tesract/NilCraft

 

Any advice would be greatly appreciated.

 

Thanks.

 

build.gradle

 

 

buildscript {

    repositories {

        mavenCentral()

        maven {

            name = "forge"

            url = "http://files.minecraftforge.net/maven"

        }

        maven {

            name = "sonatype"

            url = "https://oss.sonatype.org/content/repositories/snapshots/"

        }

    }

    dependencies {

        classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT'

    }

}

 

apply plugin: 'scala'

apply plugin: 'forge'

apply plugin: 'eclipse'

 

group = "com.tesract.NilCraft" // http://maven.apache.org/guides/mini/guide-naming-conventions.html

version = "0.1"

archivesBaseName = "NilCraft-MC-1.8"

 

minecraft {

    version = "1.8-11.14.1.1419"

    runDir = "eclipse"

   

    // the mappings can be changed at any time, and must be in the following format.

    // snapshot_YYYYMMDD  snapshot are built nightly.

    // stable_#            stables are built at the discretion of the MCP team.

    // Use non-default mappings at your own risk. they may not allways work.

    // simply re-run your setup task after changing the mappings to update your workspace.

    mappings = "snapshot_20141130"

}

 

dependencies {

    // you may put jars on which you depend on in ./libs

    // or you may define them like so..

    //compile "some.group:artifact:version:classifier"

    //compile "some.group:artifact:version"

 

compile 'com.typesafe.akka:akka-actor_2.10:2.1.4'

   

    // real examples

    //compile 'com.mod-buildcraft:buildcraft:6.0.8:dev'  // adds buildcraft to the dev env

    //compile 'com.googlecode.efficient-java-matrix-library:ejml:0.24' // adds ejml to the dev env

 

    // for more info...

    // http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html

    // http://www.gradle.org/docs/current/userguide/dependency_management.html

 

}

 

processResources

{

    // this will ensure that this task is redone when the versions change.

    inputs.property "version", project.version

    inputs.property "mcversion", project.minecraft.version

 

    // replace stuff in mcmod.info, nothing else

    from(sourceSets.main.resources.srcDirs) {

        include 'mcmod.info'

               

        // replace version and mcversion

        expand 'version':project.version, 'mcversion':project.minecraft.version

    }

       

    // copy everything else, thats not the mcmod.info

    from(sourceSets.main.resources.srcDirs) {

        exclude 'mcmod.info'

    }

}

 

 

 

gradle runClient

 

 

eb3843@CA02MLEB3843:~/Desktop/forge-1.8-11.14.1.1419-src$ gradle runClient

Starting a new Gradle Daemon for this build (subsequent builds will be faster).

****************************

Powered By MCP:           

http://mcp.ocean-labs.de/ 

Searge, ProfMobius, Fesh0r,

R4wk, ZeuX, IngisKahn, bspkrs

MCP Data version : snapshot_20141130

****************************

:compileApiJava UP-TO-DATE

:compileApiScala UP-TO-DATE

:processApiResources UP-TO-DATE

:apiClasses UP-TO-DATE

:sourceMainJava UP-TO-DATE

:compileJava UP-TO-DATE

:sourceMainScala UP-TO-DATE

:compileScala UP-TO-DATE

:processResources UP-TO-DATE

:classes UP-TO-DATE

:jar UP-TO-DATE

:getVersionJson

:extractUserDev UP-TO-DATE

:extractNatives UP-TO-DATE

:getAssetsIndex

:getAssets

:makeStart SKIPPED

:runClient

[23:50:57] [main/INFO] [GradleStart]: Extra: []

[23:50:57] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, /Users/eb3843/.gradle/caches/minecraft/assets, --assetIndex, 1.8, --accessToken, {REDACTED}, --version, 1.8, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]

[23:50:57] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker

[23:50:57] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker

[23:50:57] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker

[23:50:57] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker

[23:50:57] [main/INFO] [FML]: Forge Mod Loader version 8.99.18.1419 for Minecraft 1.8 loading

[23:50:57] [main/INFO] [FML]: Java is Java HotSpot 64-Bit Server VM, version 1.8.0_45, running on Mac OS X:x86_64:10.10.3, installed at /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre

[23:50:57] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation

[23:50:57] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker

[23:50:57] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin

[23:50:57] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin

[23:50:57] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker

[23:50:57] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker

[23:50:57] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker

[23:50:57] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker

[23:50:57] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker

[23:50:57] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper

[23:50:58] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!

[23:50:58] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing

[23:50:58] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper

[23:50:58] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker

[23:50:59] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker

[23:50:59] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker

[23:50:59] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker

[23:50:59] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}

[23:51:00] [Client thread/INFO]: Setting user: Player187

[23:51:03] [Client thread/INFO]: LWJGL Version: 2.9.2

[23:51:03] [Client thread/INFO] [sTDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:233]: ---- Minecraft Crash Report ----

// Hi. I'm Minecraft, and I'm a crashaholic.

 

Time: 6/17/15 11:51 PM

Description: Loading screen debug info

 

This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR

 

 

A detailed walkthrough of the error, its code path and all known details is as follows:

---------------------------------------------------------------------------------------

 

-- System Details --

Details:

Minecraft Version: 1.8

Operating System: Mac OS X (x86_64) version 10.10.3

Java Version: 1.8.0_45, Oracle Corporation

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation

Memory: 253128672 bytes (241 MB) / 385351680 bytes (367 MB) up to 1908932608 bytes (1820 MB)

JVM Flags: 0 total;

IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0

FML:

Loaded coremods (and transformers):

GL info: ' Vendor: 'Intel Inc.' Version: '2.1 INTEL-10.6.20' Renderer: 'Intel HD Graphics 5000 OpenGL Engine'

[23:51:03] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization

[23:51:03] [Client thread/INFO] [FML]: MinecraftForge v11.14.1.1419 Initialized

[23:51:03] [Client thread/INFO] [FML]: Replaced 204 ore recipies

[23:51:03] [Client thread/INFO] [FML]: Preloading CrashReport classes

[23:51:03] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization

[23:51:03] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer

[23:51:03] [Client thread/INFO] [FML]: Searching /Users/eb3843/Desktop/forge-1.8-11.14.1.1419-src/eclipse/mods for mods

[23:51:06] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load

[23:51:06] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, NilCraft] at CLIENT

[23:51:06] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, NilCraft] at SERVER

[23:51:06] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Nil Craft

[23:51:06] [Client thread/INFO] [FML]: Processing ObjectHolder annotations

[23:51:06] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations

[23:51:07] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0

[23:51:08] [Client thread/WARN] [FML]: =============================================================

[23:51:08] [Client thread/WARN] [FML]: MOD HAS DIRECT REFERENCE System.exit() THIS IS NOT ALLOWED REROUTING TO FML!

[23:51:08] [Client thread/WARN] [FML]: Offendor: akka/actor/ActorSystemImpl$$anon$2.uncaughtException(Ljava/lang/Thread;Ljava/lang/Throwable;)V

[23:51:08] [Client thread/WARN] [FML]: Use FMLCommonHandler.exitJava instead

[23:51:08] [Client thread/WARN] [FML]: =============================================================

[23:51:08] [Client thread/WARN] [FML]: =============================================================

[23:51:08] [Client thread/WARN] [FML]: MOD HAS DIRECT REFERENCE System.exit() THIS IS NOT ALLOWED REROUTING TO FML!

[23:51:08] [Client thread/WARN] [FML]: Offendor: akka/actor/ActorSystemImpl$$anon$2.uncaughtException(Ljava/lang/Thread;Ljava/lang/Throwable;)V

[23:51:08] [Client thread/WARN] [FML]: Use FMLCommonHandler.exitJava instead

[23:51:08] [Client thread/WARN] [FML]: =============================================================

[23:51:08] [Client thread/INFO] [FML]: Applying holder lookups

[23:51:08] [Client thread/INFO] [FML]: Holder lookups applied

[23:51:08] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue

[23:51:08] [Client thread/ERROR] [FML]:

mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized

FML{8.99.18.1419} [Forge Mod Loader] (forgeSrc-1.8-11.14.1.1419.jar) Unloaded->Constructed->Pre-initialized

Forge{11.14.1.1419} [Minecraft Forge] (forgeSrc-1.8-11.14.1.1419.jar) Unloaded->Constructed->Pre-initialized

NilCraft{@VERSION@} [Nil Craft] (NilCraft-MC-1.8-0.1.jar) Unloaded->Constructed->Errored

[23:51:08] [Client thread/ERROR] [FML]: The following problems were captured during this phase

[23:51:08] [Client thread/ERROR] [FML]: Caught exception from NilCraft

java.lang.ExceptionInInitializerError

at com.tesract.nilcraft.NilCraft$.preInit(NilCraft.scala:26) ~[NilCraft-MC-1.8-0.1.jar:?]

at com.tesract.nilcraft.NilCraft.preInit(NilCraft.scala) ~[NilCraft-MC-1.8-0.1.jar:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_45]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45]

at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45]

at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:537) ~[forgeSrc-1.8-11.14.1.1419.jar:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_45]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45]

at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45]

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]

at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]

at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) ~[forgeSrc-1.8-11.14.1.1419.jar:?]

at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[forgeSrc-1.8-11.14.1.1419.jar:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1]8.0_45

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45]

at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45]

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]

at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]

at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:119) [LoadController.class:?]

at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:527) [Loader.class:?]

at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:246) [FMLClientHandler.class:?]

at net.minecraft.client.Minecraft.startGame(Minecraft.java:446) [Minecraft.class:?]

at net.minecraft.client.Minecraft.run(Minecraft.java:356) [Minecraft.class:?]

at net.minecraft.client.main.Main.main(Main.java:117) [Main.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_45]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45]

at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45]

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]

at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]

at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]

at GradleStart.main(Unknown Source) [start/:?]

Caused by: java.lang.ClassNotFoundException: akka.cluster.ClusterActorRefProvider

at net.minecraft.launchwrapper.LaunchClassLoader.findaunchClassLoader.java:191) ~[launchwrapper-1.11.jar:?]

at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_45]

at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_45]

at java.lang.Class.forName0(Native Method) ~[?:1.8.0_45]

at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_45]

at akka.actor.ReflectiveDynamicAccess$$anonfun$getClassFor$1.apply(DynamicAccess.scala:68) ~[ReflectiveDynamicAccess$$anonfun$getClassFor$1.class:?]

at akka.actor.ReflectiveDynamicAccess$$anonfun$getClassFor$1.apply(DynamicAccess.scala:67) ~[ReflectiveDynamicAccess$$anonfun$getClassFor$1.class:?]

at scala.util.Try$.apply(Try.scala:191) ~[Try$.class:?]

at akka.actor.ReflectiveDynamicAccess.getClassFor(DynamicAccess.scala:67) ~[ReflectiveDynamicAccess.class:?]

at akka.actor.ReflectiveDynamicAccess.createInstanceFor(DynamicAccess.scala:85) ~[ReflectiveDynamicAccess.class:?]

at akka.actor.ActorSystemImpl.<init>(ActorSystem.scala:543) ~[ActorSystemImpl.class:?]

at akka.actor.ActorSystem$.apply(ActorSystem.scala:110) ~[ActorSystem$.class:?]

at akka.actor.ActorSystem$.apply(ActorSystem.scala:92) ~[ActorSystem$.class:?]

at com.tesract.nilcraft.package$.<init>(package.scala:17) ~[package$.class:?]

at com.tesract.nilcraft.package$.<clinit>(package.scala) ~[package$.class:?]

... 41 more

Caused by: java.lang.NullPointerException

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.11.jar:?]

at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_45]

at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_45]

at java.lang.Class.forName0(Native Method) ~[?:1.8.0_45]

at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_45]

at akka.actor.ReflectiveDynamicAccess$$anonfun$getClassFor$1.apply(DynamicAccess.scala:68) ~[ReflectiveDynamicAccess$$anonfun$getClassFor$1.class:?]

at akka.actor.ReflectiveDynamicAccess$$anonfun$getClassFor$1.apply(DynamicAccess.scala:67) ~[ReflectiveDynamicAccess$$anonfun$getClassFor$1.class:?]

at scl.Try$.apply(Try.scala:191) ~[Try$.class:?]

at akka.actor.ReflectiveDynamicAccess.getClassFor(DynamicAccess.scala:67) ~[ReflectiveDynamicAccess.class:?]

at akka.actor.ReflectiveDynamicAccess.createInstanceFor(DynamicAccess.scala:85) ~[ReflectiveDynamicAccess.class:?]

at akka.actor.ActorSystemImpl.<init>(ActorSystem.scala:543) ~[ActorSystemImpl.class:?]

at akka.actor.ActorSystem$.apply(ActorSystem.scala:110) ~[ActorSystem$.class:?]

at akka.actor.ActorSystem$.apply(ActorSystem.scala:92) ~[ActorSystem$.class:?]

at com.tesract.nilcraft.package$.<init>(package.scala:17) ~[package$.class:?]

at com.tesract.nilcraft.package$.<clinit>(package.scala) ~[package$.class:?]

... 41 more

[23:51:08] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:663]: ---- Minecraft Crash Report ----

// Hey, that tickles! Hehehe!

 

Time: 6/17/15 11:51 PM

Description: There was a severe problem during mod loading that has caused the game to fail

 

net.minecraftforge.fml.common.LoaderException: java.lang.ExceptionInInitializerError

at net.minecraftforge.fml.common.LoadController.transition(LoadController.java:163)

at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:529)

at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:246)

at net.minecraft.client.Minecraft.startGame(Minecraft.java:446)

at net.minecraft.client.Minecraft.run(Minecraft.java:356)

at net.minecraft.client.main.Main.main(Main.java:117)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)

at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)

at GradleStart.main(Unknown Source)

Caused by: java.lang.ExceptionInInitializerError

at com.tesract.nilcraft.NilCraft$.preInit(NilCraft.scala:26)

at com.tesract.nilcraft.NilCraft.preInit(NilCraft.scala)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:537)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatidAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)

at com.google.common.eventbus.EventBus.post(EventBus.java:275)

at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)

at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:190)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)

at com.google.common.eventbus.EventBus.post(EventBus.java:275)

at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:119)

at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:527)

... 12 more

Caused by: java.lang.ClassNotFoundException: akka.cluster.ClusterActorRefProvider

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)

at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:348)

at akka.actor.ReflectiveDynamicAccess$$anonfun$getClassFor$1.apply(DynamicAccla:68)a

at akka.actor.ReflectiveDynamicAccess$$anonfun$getClassFor$1.apply(DynamicAccess.scala:67)

at scala.util.Try$.apply(Try.scala:191)

at akka.actor.ReflectiveDynamicAccess.getClassFor(DynamicAccess.scala:67)

at akka.actor.ReflectiveDynamicAccess.createInstanceFor(DynamicAccess.scala:85)

at akka.actor.ActorSystemImpl.<init>(ActorSystem.scala:543)

at akka.actor.ActorSystem$.apply(ActorSystem.scala:110)

at akka.actor.ActorSystem$.apply(ActorSystem.scala:92)

at com.tesract.nilcraft.package$.<init>(package.scala:17)

at com.tesract.nilcraft.package$.<clinit>(package.scala)

... 41 more

Caused by: java.lang.NullPointerException

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182)

... 55 more

 

 

A detailed walkthrough of the error, its code path and all known details is as follows:

---------------------------------------------------------------------------------------

 

-- System Details --

Details:

Minecraft Version: 1.8

Operating System: Mac OS X (x86_64) version 10.10.3

Java Version: 1.8.0_45, Oracle Corporation

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation

Memory: 348836872 bytes (332 MB) / 533200896 bytes (508 MB) up to 1908932608 bytes (1820 MB)

JVM Flags: 0 total;

IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0

FML: MCP v9.10 FML v8.99.18.1419 Minecraft Forge 11.14.1.1419 4 mods loaded, 4 mods active

mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized

FML{8.99.18.1419} [Forge Mod Loader] (forgeSrc-1.8-11.14.1.1419.jar) Unloaded->Constructed->Pre-initialized

Forge{11.14.1.1419} [Minecraft Forge] (forgeSrc-1.8-11.14.1.1419.jar) Unloaded->Constructed->Pre-initialized

NilCraft{@VERSION@} [Nil Craft] (NilCraft-MC-1.8-0.1.jar) Unloaded->Constructed->Errored

Loaded coremods (and transformers):

GL info: ' Vendor: 'Intel Inc.' Version: '2.1 INTEL-10.6.20' Renderer: 'Intel HD Graphics 5000 OpenGL Engine'

[23:51:08] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:663]: #@!@# Game crashed! Crash report saved to: #@!@# /Users/eb3843/Desktop/forge-1.8-11.14.1.1419-src/eclipse/./crash-reports/crash-2015-06-17_23.51.08-client.txt

:runClient FAILED

 

FAILURE: Build failed with an exception.

 

* What went wrong:

Execution failed for task ':runClient'.

> Process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/bin/java'' finished with non-zero exit value 255

 

* 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: 26.589 secs

 

Link to comment
Share on other sites

I figured it out.

 

application.conf had:

    provider = "akka.cluster.ClusterActorRefProvider"

 

cluster isn't part of akka-actor its part of akka-cluster.

 

I've switched to

    provider = "akka.actor.LocalActorRefProvider"

 

instead.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Are you using Fabric? I'm not sure if this forum would be the right place then.
    • server failed to start and gives me "Failed to load data packs, can't proceed with server load. You can either fix your data packs or reset to vanilla with --safeMode" error when i look in my logs. its updated to the latest version of forge(40.1.0), and I don't have any data packs installed as far as I know. And I will upload the full logs if asked as i dont know how to attach a document to this post.  
    • Pioneer Craft [modded] {1.18.2} {SMP} {Community} {Light Roleplay} We are Pioneer Craft and we seek you !!! We are building a community of passionate players to build, trade, and share some laughs with. Are you tired of playing alone? Or are you here seeking a server with dedicated members; a server where you are not overlooked and can voice your opinions? If you are interested in these things too, then come join us in Pioneer Craft! Our server is player built and driven. We have a custom mod pack with mods chosen by our community to suit our needs. We have designed our server for player driven roleplay! There will be four communities which will each be self-sufficient. We encourage and seek builders who want to create a beautiful world to live in. This is a whitelist server and we are looking for dedicated applicants and experienced builders. Applications are located on our website which can be accessed through the discord. Other than the application questions, we are requesting photos of your prior builds which will be taken into consideration. Please show photos of your builds in the share-your-work section of the discord. The server uses CurseForge to run. This server is for mature members (16+) . Discord (must join): https://discord.gg/c4uJvb29CN
    • Pioneer Craft [modded] {1.18.2} {SMP} {Community} {Light Roleplay} We are Pioneer Craft and we seek you !!! We are building a community of passionate players to build, trade, and share some laughs with. Are you tired of playing alone? Or are you here seeking a server with dedicated members; a server where you are not overlooked and can voice your opinions? If you are interested in these things too, then come join us in Pioneer Craft! Our server is player built and driven. We have a custom mod pack with mods chosen by our community to suit our needs. We have designed our server for player driven roleplay! There will be four communities which will each be self-sufficient. We encourage and seek builders who want to create a beautiful world to live in. This is a whitelist server and we are looking for dedicated applicants and experienced builders. Applications are located on our website which can be accessed through the discord. Other than the application questions, we are requesting photos of your prior builds which will be taken into consideration. Please show photos of your builds in the share-your-work section of the discord. The server uses CurseForge to run. This server is for mature members (16+) . Discord (must join): https://discord.gg/c4uJvb29CN 
    • Update: I didn't need capabilities. In fact, I didn't need to override applyEffectTick at all. But it seems like I need reflections. The increased hitbox size now works for both entity and block collision--with a little drawback. This is what it looks like so far: // this event handler checks every tick if the living entity has the "big" effect @SubscribeEvent public static void entitySizeChange(LivingEvent.LivingUpdateEvent event) { LivingEntity livingEntity = event.getEntityLiving(); if (livingEntity.getActiveEffectsMap() != null && livingEntity.hasEffect(ModEffects.BIG.get())) { EntityDimensions newDims = livingEntity.getDimensions(livingEntity.getPose()).scale(8.0F, 2.0F); try { // using reflection Field field = Entity.class.getDeclaredField("dimensions"); field.setAccessible(true); field.set(livingEntity, newDims); // setting the living entity's EntityDimensions EntityDimensions newEntityDimensions = (EntityDimensions) field.get(livingEntity); livingEntity.setBoundingBox(newEntityDimensions.makeBoundingBox( // setting the living entity's AABB livingEntity.getX(), livingEntity.getY(), livingEntity.getZ() )); } catch (NoSuchFieldException | IllegalAccessException e) { e.printStackTrace(); } } }   The aforementioned drawback is that, when the effect wears off, the living entity's still keeps its bigger hitbox until it changes pose (i.e. my player crouching). Given that the EntityEvent.Size event fires whenever an entity changes pose, should I manually fire it with EVENT_BUS::post when that entity's effect wears off? If so, where? I tried manually firing EntityEvent.Size on my overridden removeAttributeModifiers(), but to no avail. 
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.