Jump to content

Can't use JRebel with forge 1.7.10.


ConsoleHack000

Recommended Posts

So ok guys the title describes the main part of the problem. I am using intellij to mod. I installed JRebel Social 6.4.7 and the jrebel minecraft plugin. The problem MIGHT be the thing that I am using 1.7.10. So when I click "Run with JRebel" it launches but it crashes.

Stacktrace:

JRebel: Starting logging to file: C:\Users\DeLL\.jrebel\jrebel.log
2016-08-06 10:19:59 JRebel: Directory 'E:\Games\MC\Modding\ltstf\src\main\resources' will be monitored for changes.
2016-08-06 10:19:59 JRebel: Directory 'E:\Games\MC\Modding\ltstf\out' will be monitored for changes.
2016-08-06 10:20:00 JRebel: Contacting myJRebel server ..
2016-08-06 10:20:02 JRebel:  
2016-08-06 10:20:02 JRebel:  #############################################################
2016-08-06 10:20:02 JRebel:  
2016-08-06 10:20:02 JRebel:  JRebel Legacy Agent 6.4.7 (201607271052)
2016-08-06 10:20:02 JRebel:  (c) Copyright ZeroTurnaround AS, Estonia, Tartu.
2016-08-06 10:20:02 JRebel:  
2016-08-06 10:20:02 JRebel:  Over the last 1 days JRebel prevented
2016-08-06 10:20:02 JRebel:  at least 0 redeploys/restarts saving you about 0 hours.
2016-08-06 10:20:02 JRebel:  
2016-08-06 10:20:02 JRebel:  Licensed to Areg Hovhannisyan (using myJRebel).
2016-08-06 10:20:02 JRebel:  
2016-08-06 10:20:02 JRebel:  
2016-08-06 10:20:02 JRebel:  #############################################################
2016-08-06 10:20:02 JRebel:  
[10:20:02] [main/INFO] [GradleStart]: Extra: []
[10:20:02] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/DeLL/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[10:20:03] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[10:20:03] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[10:20:03] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[10:20:03] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[10:20:03] [main/INFO] [FML]: Forge Mod Loader version 7.99.36.1558 for Minecraft 1.7.10 loading
[10:20:03] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_31, running on Windows 8.1:amd64:6.3, installed at C:\Program Files\Java\jdk1.8.0_31\jre
[10:20:03] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[10:20:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[10:20:03] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin
[10:20:03] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[10:20:03] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[10:20:03] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[10:20:03] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[10:20:03] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[10:20:03] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[10:20:03] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[10:20:03] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[10:20:06] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[10:20:06] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[10:20:06] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[10:20:07] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: java.lang.NoClassDefFoundError: com/zeroturnaround/javarebel/gen/RebelLocator$$1
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at net.minecraftforge.gradle.GradleStartCommon$AccessTransformerTransformer.<clinit>(Unknown Source)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at java.lang.Class.newInstance(Class.java:438)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at net.minecraft.launchwrapper.LaunchClassLoader.registerTransformer(LaunchClassLoader.java:88)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at net.minecraftforge.gradle.tweakers.AccessTransformerTweaker.injectIntoClassLoader(Unknown Source)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at net.minecraft.launchwrapper.Launch.launch(Launch.java:115)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at GradleStart.main(Unknown Source)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at java.lang.reflect.Method.invoke(Method.java:483)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: Caused by: java.lang.ClassNotFoundException: com.zeroturnaround.javarebel.gen.RebelLocator$$1
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    ... 16 more
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: Caused by: java.lang.NullPointerException
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:153)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    ... 18 more
Exception in thread "main" Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release

Process finished with exit code 1

However, I can run minecraft client without JRebel normally. Just in case, here are gradlew.build and rebel.xml files:

 

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: 'forge'

version = "1.0"
group= "net.net23.aregsroom.ltstf" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "Lot'O'Stuff"

minecraft {
    version = "1.7.10-10.13.4.1558-1.7.10"
    runDir = "eclipse"
}


runClient {
    jvmArgs '-javaagent:C:/Users/DeLL/.IdeaIC2016/config/plugins/jr-ide-idea/lib/jrebel/jrebel.jar','-Xmx1g',
            '-Drebel.plugins=E:/Games/MC/Modding/ltstf/jr-minecraft-plugin.jar', 
            '-Drebel.minecraft.skip_reload_handlers=net.minecraft.client.audio.SoundHandler'
}


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"
      
    // 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'
    }
}

 

and the rebel.xml file:

 

<?xml version="1.0" encoding="UTF-8"?>
<application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.zeroturnaround.com" xsi:schemaLocation="http://www.zeroturnaround.com http://www.zeroturnaround.com/alderaan/rebel-2_0.xsd">
    <classpath>
        <dir name="E:\Games\MC\Modding\ltstf\src\main\resources">
        </dir>
        <dir name="E:\Games\MC\Modding\ltstf\out">
        </dir>
    </classpath>
</application>

Currently developing a mod called Lot'O'Stuff for 1.7.10 (I know very well its outdated.)

Link to comment
Share on other sites

Update to a supported version; the rules clearly state only the current Minecraft version is supported. 1.7.10 is old and lacks a lot of the stuff people have worked hard to put into the current releases.

 

If lazy devs haven't updated their mods that you want to use, shake their tree, or rewrite yourself for current Minecraft.

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.