Jump to content

Recommended Posts

Posted (edited)

Hello! I haver a error but I do not know what Mod is causing It, please help!

 

[19:14:43] [main/ERROR] [LaunchWrapper]: Unable to launch


java.lang.reflect.InvocationTargetException: null
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_271]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_271]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_271]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_271]
        at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
        at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_271]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_271]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_271]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_271]
        at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:117) [magma.jar:e69a953]
        at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:66) [magma.jar:e69a953]
Caused by: java.lang.VerifyError: Bad type on operand stack
Exception Details:
  Location:
    net/minecraft/entity/projectile/EntityPotion.func_190543_a(Lnet/minecraft/util/math/RayTraceResult;Ljava/util/List;)V @407: invokestatic
  Reason:
    Type 'java/util/Iterator' (current frame, stack[9]) is not assignable to 'net/minecraft/potion/PotionEffect'
  Current Frame:
    bci: @407
    flags: { }
    locals: { 'net/minecraft/entity/projectile/EntityPotion', 'net/minecraft/util/math/RayTraceResult', 'java/util/List', 'net/minecraft/util/math/AxisAlignedBB', 'java/util/List', 'java/util/HashMap', 'org/bukkit/event/entity/PotionSplashEvent', 'java/util/Iterator', top, top, double, double_2nd, 'org/bukkit/entity/LivingEntity', 'net/minecraft/entity/EntityLivingBase', 'java/util/Iterator', 'net/minecraft/potion/PotionEffect', 'net/minecraft/potion/Potion' }
    stack: { 'net/minecraft/potion/Potion', 'net/minecraft/entity/projectile/EntityPotion', 'net/minecraft/entity/EntityLivingBase', 'net/minecraft/entity/EntityLivingBase', integer, double, double_2nd, 'net/minecraft/entity/projectile/EntityPotion', 'org/bukkit/event/entity/PotionSplashEvent', 'java/util/Iterator' }
  Bytecode:
    0x0000000: 2ab6 00ff 1401 0014 0102 1401 00b6 0109
    0x0000010: 4e2a b400 6413 010b 2db6 012f 3a04 bb01
    0x0000020: 3159 b701 333a 0519 04b9 00a4 0100 9a00
    0x0000030: 6c19 04b9 0112 0100 3a06 1906 b900 cc01
    0x0000040: 0099 0059 1906 b900 d001 00c0 010b 3a07
    0x0000050: 1907 b601 3699 0042 2a19 07b6 0116 3908
    0x0000060: 1808 1401 1798 9c00 310f 1808 b801 3c14
    0x0000070: 0100 6f67 390a 1907 2bb4 0140 a600 060f
    0x0000080: 390a 1905 1907 b601 44c0 0146 180a b801
    0x0000090: 4bb9 0151 0300 57a7 ffa3 2a19 05b8 0157
    0x00000a0: 3a06 1906 b601 5c9a 014e 2cc6 014a 2cb9
    0x00000b0: 00a4 0100 9a01 4119 06b6 0160 b901 6301
    0x00000c0: 003a 0719 07b9 00cc 0100 9901 2b19 07b9
    0x00000d0: 00d0 0100 c001 463a 0c19 0cc1 0165 9a00
    0x00000e0: 06a7 ffe2 190c c001 65b6 0169 3a0d 1906
    0x00000f0: 190c b601 6d39 0a2c b901 1201 003a 0e19
    0x0000100: 0eb9 00cc 0100 9900 ec19 0eb9 00d0 0100
    0x0000110: c001 6f3a 0f19 0fb6 0173 3a10 2ab4 0064
    0x0000120: b401 769a 0057 2ab6 0179 c101 7b99 004d
    0x0000130: 190d c101 7b99 0045 190d 2ab6 0179 a500
    0x0000140: 3c19 10b8 0181 3611 1511 059f ffb4 1511
    0x0000150: 079f ffae 1511 1007 9fff a715 1110 0f9f
    0x0000160: ffa0 1511 1011 9fff 9915 1110 129f ff92
    0x0000170: 1511 1013 a000 06a7 ff88 1910 b601 8499
    0x0000180: 002b 1910 2a2a b601 7919 0d19 0fb6 0187
    0x0000190: 180a 2a19 0619 0eb8 018d 9a00 09b6 0191
    0x00001a0: a700 0758 5858 57a7 0048 180a 190f b601
    0x00001b0: 9487 6b14 0195 638e 3611 1511 1014 a400
    0x00001c0: 3119 0dbb 016f 5919 1015 1119 0fb6 0187
    0x00001d0: 190f b601 9919 0fb6 019c b701 9f2a 1906
    0x00001e0: 190e b801 a29a 0009 b601 a6a7 0004 58a7
    0x00001f0: ff10 a7fe d1b1
  Stackmap Table:
    full_frame(@58,{Object[#2],Object[#11],Object[#161],Object[#261],Object[#161],Object[#305],Object[#201]},{})
    append_frame(@130,Object[#267],Double,Double)
    chop_frame(@151,2)
    chop_frame(@154,2)
    append_frame(@195,Object[#345],Object[#201])
    full_frame(@228,{Object[#2],Object[#11],Object[#161],Object[#261],Object[#161],Object[#305],Object[#345],Object[#201],Top,Top,Top,Top,Object[#326]},{})
    full_frame(@255,{Object[#2],Object[#11],Object[#161],Object[#261],Object[#161],Object[#305],Object[#345],Object[#201],Top,Top,Double,Object[#326],Object[#267],Object[#201]},{})
    append_frame(@378,Object[#367],Object[#381])
    full_frame(@419,{Object[#2],Object[#11],Object[#161],Object[#261],Object[#161],Object[#305],Object[#345],Object[#201],Top,Top,Double,Object[#326],Object[#267],Object[#201],Object[#367],Object[#381]},{Object[#381],Object[#2],Object[#267],Object[#267],Integer,Double})
    same_frame(@423)
    same_frame(@426)
    full_frame(@494,{Object[#2],Object[#11],Object[#161],Object[#261],Object[#161],Object[#305],Object[#345],Object[#201],Top,Top,Double,Object[#326],Object[#267],Object[#201],Object[#367],Object[#381],Integer},{Object[#267],Object[#367]})
    chop_frame(@495,1)
    chop_frame(@498,2)
    full_frame(@501,{Object[#2],Object[#11],Object[#161],Object[#261],Object[#161],Object[#305],Object[#345]},{})
        at java.lang.Class.getDeclaredConstructors0(Native Method) ~[?:1.8.0_271]
        at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) ~[?:1.8.0_271]
        at java.lang.Class.getConstructor0(Unknown Source) ~[?:1.8.0_271]
        at java.lang.Class.getConstructor(Unknown Source) ~[?:1.8.0_271]
        at net.minecraft.entity.EntityList.func_191303_a(EntityList.java:417) ~[vi.class:?]
        at net.minecraft.entity.EntityList.func_151514_a(EntityList.java:298) ~[vi.class:?]
        at net.minecraft.init.Bootstrap.func_151354_b(Bootstrap.java:779) ~[ni.class:?]
        at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1659) ~[MinecraftServer.class:?]
        ... 12 more

Edited by DaemonUmbra
Removed formatting that clashed with the forum
Posted

1.12 is no longer supported on this forum.

Please update to a modern version of Minecraft to receive support.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

Spoiler

Logs (Most issues require logs to diagnose):

Spoiler

Please post logs using one of the following sites (Thank you Lumber Wizard for the list):

https://gist.github.com/100MB Requires member (Free)

https://pastebin.com/: 512KB as guest, 10MB as Pro ($$$)

https://hastebin.com/: 400KB

Do NOT use sites like Mediafire, Dropbox, OneDrive, Google Drive, or a site that has a countdown before offering downloads.

 

What to provide:

...for Crashes and Runtime issues:

Minecraft 1.14.4 and newer:

Post debug.log

Older versions:

Please update...

 

...for Installer Issues:

Post your installer log, found in the same place you ran the installer

This log will be called either installer.log or named the same as the installer but with .log on the end

Note for Windows users:

Windows hides file extensions by default so the installer may appear without the .jar extension then when the .log is added the log will appear with the .jar extension

 

Where to get it:

Mojang Launcher: When using the Mojang launcher debug.log is found in .minecraft\logs.

 

Curse/Overwolf: If you are using the Curse Launcher, their configurations break Forge's log settings, fortunately there is an easier workaround than I originally thought, this works even with Curse's installation of the Minecraft launcher as long as it is not launched THROUGH Twitch:

Spoiler
  1. Make sure you have the correct version of Forge installed (some packs are heavily dependent on one specific build of Forge)
  2. Make a launcher profile targeting this version of Forge.
  3. Set the launcher profile's GameDir property to the pack's instance folder (not the instances folder, the folder that has the pack's name on it).
  4. Now launch the pack through that profile and follow the "Mojang Launcher" instructions above.

Video:

Spoiler

 

 

 

or alternately, 

 

Fallback ("No logs are generated"):

If you don't see logs generated in the usual place, provide the launcher_log.txt from .minecraft

 

Server Not Starting:

Spoiler

If your server does not start or a command window appears and immediately goes away, run the jar manually and provide the output.

 

Reporting Illegal/Inappropriate Adfocus Ads:

Spoiler

Get a screenshot of the URL bar or copy/paste the whole URL into a thread on the General Discussion board with a description of the Ad.

Lex will need the Ad ID contained in that URL to report it to Adfocus' support team.

 

Posting your mod as a GitHub Repo:

Spoiler

When you have an issue with your mod the most helpful thing you can do when asking for help is to provide your code to those helping you. The most convenient way to do this is via GitHub or another source control hub.

When setting up a GitHub Repo it might seem easy to just upload everything, however this method has the potential for mistakes that could lead to trouble later on, it is recommended to use a Git client or to get comfortable with the Git command line. The following instructions will use the Git Command Line and as such they assume you already have it installed and that you have created a repository.

 

  1. Open a command prompt (CMD, Powershell, Terminal, etc).
  2. Navigate to the folder you extracted Forge’s MDK to (the one that had all the licenses in).
  3. Run the following commands:
    1. git init
    2. git remote add origin [Your Repository's URL]
      • In the case of GitHub it should look like: https://GitHub.com/[Your Username]/[Repo Name].git
    3. git fetch
    4. git checkout --track origin/master
    5. git stage *
    6. git commit -m "[Your commit message]"
    7. git push
  4. Navigate to GitHub and you should now see most of the files.
    • note that it is intentional that some are not synced with GitHub and this is done with the (hidden) .gitignore file that Forge’s MDK has provided (hence the strictness on which folder git init is run from)
  5. Now you can share your GitHub link with those who you are asking for help.

[Workaround line, please ignore]

 

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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