By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,045 Members | 1,743 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,045 IT Pros & Developers. It's quick & easy.

AL lib: (EE) alc_cleanup: 1 device not closed

P: 8
I get this error while trying to do "./gradlew runClient".
log:
Expand|Select|Wrap|Line Numbers
  1. Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
  2. [20:21:27] [main/INFO] [GradleStart]: Extra: []
  3. [20:21:27] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, /Users/zhanghaocheng/.gradle/caches/minecraft/assets, --assetIndex, 1.12, --accessToken{REDACTED}, --version, 1.12.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
  4. [20:21:27] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
  5. [20:21:27] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
  6. [20:21:27] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
  7. [20:21:27] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
  8. [20:21:27] [main/INFO] [FML]: Forge Mod Loader version 14.23.5.2768 for Minecraft 1.12.2 loading
  9. [20:21:27] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_181, running on Mac OS X:x86_64:10.14.5, installed at /Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre
  10. [20:21:28] [main/ERROR] [FML]: Apache Maven library folder was not in the format expected. Using default libraries directory.
  11. [20:21:28] [main/ERROR] [FML]: Full: /Users/zhanghaocheng/.gradle/caches/modules-2/files-2.1/org.apache.maven/maven-artifact/3.5.3/7dc72b6d6d8a6dced3d294ed54c2cc3515ade9f4/maven-artifact-3.5.3.jar
  12. [20:21:28] [main/ERROR] [FML]: Trimmed: /users/zhanghaocheng/.gradle/caches/modules-2/files-2.1/org.apache.maven/maven-artifact/3.5.3/
  13. [20:21:28] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
  14. [20:21:28] [main/INFO] [FML]: Detected deobfuscated environment, loading log configs for colored console logs.
  15. 2019-07-07 20:21:28,499 main WARN Disabling terminal, you're running in an unsupported environment.
  16. [20:21:28] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLCorePlugin (net.minecraftforge.fml.relauncher.FMLCorePlugin), we are in deobf and it's a forge core plugin
  17. [20:21:28] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLForgePlugin (net.minecraftforge.classloading.FMLForgePlugin), we are in deobf and it's a forge core plugin
  18. [20:21:28] [main/INFO] [FML]: Searching /Users/zhanghaocheng/Desktop/Steven/forge-1.12.2-14.23.5.2768-mdk/run/./mods for mods
  19. [20:21:28] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
  20. [20:21:28] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
  21. [20:21:28] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
  22. [20:21:28] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
  23. [20:21:28] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
  24. [20:21:28] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
  25. [20:21:28] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
  26. [20:21:28] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
  27. [20:21:28] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
  28. [20:21:29] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
  29. [20:21:29] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
  30. [20:21:29] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
  31. [20:21:29] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
  32. [20:21:29] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
  33. [20:21:29] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
  34. [20:21:29] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
  35. [20:21:30] [main/INFO] [minecraft/Minecraft]: Setting user: Player165
  36. [20:21:33] [main/WARN] [minecraft/GameSettings]: Skipping bad option: lastServer:
  37. [20:21:33] [main/INFO] [minecraft/Minecraft]: LWJGL Version: 2.9.2
  38. [20:21:33] [main/INFO] [FML]: -- System Details --
  39. Details:
  40.     Minecraft Version: 1.12.2
  41.     Operating System: Mac OS X (x86_64) version 10.14.5
  42.     Java Version: 1.8.0_181, Oracle Corporation
  43.     Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
  44.     Memory: 894170312 bytes (852 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
  45.     JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
  46.     IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
  47.     FML: 
  48.     Loaded coremods (and transformers): 
  49.     GL info: ' Vendor: 'NVIDIA Corporation' Version: '2.1 NVIDIA-12.0.23 355.11.10.50.10.103' Renderer: 'NVIDIA GeForce GT 755M OpenGL Engine'
  50. [20:21:33] [main/INFO] [FML]: MinecraftForge v14.23.5.2768 Initialized
  51. [20:21:33] [main/INFO] [FML]: Starts to replace vanilla recipe ingredients with ore ingredients.
  52. [20:21:33] [main/INFO] [FML]: Replaced 1036 ore ingredients
  53. [20:21:33] [main/INFO] [FML]: Searching /Users/zhanghaocheng/Desktop/Steven/forge-1.12.2-14.23.5.2768-mdk/run/./mods for mods
  54. [20:21:33] [main/INFO] [FML]: Mod transportmod is missing the required element 'name'. Substituting transportmod
  55. [20:21:34] [main/INFO] [FML]: Forge Mod Loader has identified 6 mods to load
  56. [20:21:34] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, transportmod, examplemod] at CLIENT
  57. [20:21:34] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, transportmod, examplemod] at SERVER
  58. [20:21:35] [main/INFO] [minecraft/SimpleReloadableResourceManager]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:transportmod, FMLFileResourcePack:Example Mod
  59. [20:21:35] [main/INFO] [FML]: Processing ObjectHolder annotations
  60. [20:21:35] [main/INFO] [FML]: Found 1168 ObjectHolder annotations
  61. [20:21:35] [main/INFO] [FML]: Identifying ItemStackHolder annotations
  62. [20:21:35] [main/INFO] [FML]: Found 0 ItemStackHolder annotations
  63. [20:21:35] [main/INFO] [FML]: Configured a dormant chunk cache size of 0
  64. [20:21:35] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
  65. [20:21:35] [main/INFO] [FML]: Applying holder lookups
  66. [20:21:35] [main/INFO] [FML]: Holder lookups applied
  67. [20:21:35] [main/INFO] [FML]: Applying holder lookups
  68. [20:21:35] [main/INFO] [FML]: Holder lookups applied
  69. [20:21:35] [main/INFO] [FML]: Applying holder lookups
  70. [20:21:35] [main/INFO] [FML]: Holder lookups applied
  71. [20:21:35] [main/INFO] [FML]: Applying holder lookups
  72. [20:21:35] [main/INFO] [FML]: Holder lookups applied
  73. [20:21:35] [main/INFO] [FML]: Injecting itemstacks
  74. [20:21:35] [main/INFO] [FML]: Itemstack injection complete
  75. [20:21:35] [Thread-3/INFO] [FML]: Using sync timing. 200 frames of Display.update took 667229113 nanos
  76. [20:21:36] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Found status: UP_TO_DATE Target: null
  77. [20:21:36] [Sound Library Loader/INFO] [minecraft/SoundManager]: Starting up SoundSystem...
  78. [20:21:36] [Thread-4/INFO] [minecraft/SoundManager]: Initializing LWJGL OpenAL
  79. [20:21:36] [Thread-4/INFO] [minecraft/SoundManager]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
  80. [20:21:36] [Thread-4/INFO] [minecraft/SoundManager]: OpenAL initialized.
  81. [20:21:37] [Sound Library Loader/INFO] [minecraft/SoundManager]: Sound engine started
  82. [20:21:39] [main/INFO] [FML]: Max texture size: 16384
  83. [20:21:39] [main/INFO] [minecraft/TextureMap]: Created: 512x512 textures-atlas
  84. [20:21:40] [main/INFO] [FML]: Applying holder lookups
  85. [20:21:40] [main/INFO] [FML]: Holder lookups applied
  86. [20:21:40] [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629]: ---- Minecraft Crash Report ----
  87. // Quite honestly, I wouldn't worry myself about that.
  88.  
  89. Time: 7/7/19 8:21 PM
  90. Description: There was a severe problem during mod loading that has caused the game to fail
  91.  
  92. net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from transportmod (transportmod)
  93. Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
  94.     at net.minecraftforge.common.crafting.CraftingHelper.parseShaped(CraftingHelper.java:280)
  95.     at net.minecraftforge.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:202)
  96.     at bid.zhanghaocheng.transportmod.TransportMod.init(TransportMod.java:38)
  97.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  98.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  99.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  100.     at java.lang.reflect.Method.invoke(Method.java:498)
  101.     at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:626)
  102.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  103.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  104.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  105.     at java.lang.reflect.Method.invoke(Method.java:498)
  106.     at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
  107.     at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
  108.     at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
  109.     at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
  110.     at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
  111.     at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
  112.     at com.google.common.eventbus.EventBus.post(EventBus.java:217)
  113.     at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:218)
  114.     at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:196)
  115.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  116.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  117.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  118.     at java.lang.reflect.Method.invoke(Method.java:498)
  119.     at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
  120.     at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
  121.     at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
  122.     at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
  123.     at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
  124.     at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
  125.     at com.google.common.eventbus.EventBus.post(EventBus.java:217)
  126.     at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:135)
  127.     at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:744)
  128.     at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:336)
  129.     at net.minecraft.client.Minecraft.init(Minecraft.java:581)
  130.     at net.minecraft.client.Minecraft.run(Minecraft.java:421)
  131.     at net.minecraft.client.main.Main.main(Main.java:118)
  132.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  133.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  134.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  135.     at java.lang.reflect.Method.invoke(Method.java:498)
  136.     at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
  137.     at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
  138.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  139.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  140.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  141.     at java.lang.reflect.Method.invoke(Method.java:498)
  142.     at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
  143.     at GradleStart.main(GradleStart.java:25)
  144.  
  145.  
  146. A detailed walkthrough of the error, its code path and all known details is as follows:
  147. ---------------------------------------------------------------------------------------
  148.  
  149. -- System Details --
  150. Details:
  151.     Minecraft Version: 1.12.2
  152.     Operating System: Mac OS X (x86_64) version 10.14.5
  153.     Java Version: 1.8.0_181, Oracle Corporation
  154.     Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
  155.     Memory: 640684408 bytes (611 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
  156.     JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
  157.     IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
  158.     FML: MCP 9.42 Powered by Forge 14.23.5.2768 6 mods loaded, 6 mods active
  159.     States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
  160.  
  161.     | State | ID           | Version      | Source                           | Signature |
  162.     |:----- |:------------ |:------------ |:-------------------------------- |:--------- |
  163.     | UCHI  | minecraft    | 1.12.2       | minecraft.jar                    | None      |
  164.     | UCHI  | mcp          | 9.42         | minecraft.jar                    | None      |
  165.     | UCHI  | FML          | 8.0.99.99    | forgeSrc-1.12.2-14.23.5.2768.jar | None      |
  166.     | UCHI  | forge        | 14.23.5.2768 | forgeSrc-1.12.2-14.23.5.2768.jar | None      |
  167.     | UCHEE | transportmod | 0.1.0        | bin                              | None      |
  168.     | UCH   | examplemod   | 1.0          | bin                              | None      |
  169.  
  170.     Loaded coremods (and transformers): 
  171.     GL info: ' Vendor: 'NVIDIA Corporation' Version: '2.1 NVIDIA-12.0.23 355.11.10.50.10.103' Renderer: 'NVIDIA GeForce GT 755M OpenGL Engine'
  172. [20:21:40] [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629]: #@!@# Game crashed! Crash report saved to: #@!@# /Users/zhanghaocheng/Desktop/Steven/forge-1.12.2-14.23.5.2768-mdk/run/./crash-reports/crash-2019-07-07_20.21.40-client.txt
  173. AL lib: (EE) alc_cleanup: 1 device not closed
  174.  
  175.  
Code(TransportMod.java):
Expand|Select|Wrap|Line Numbers
  1. package bid.zhanghaocheng.transportmod;
  2.  
  3. import net.minecraft.block.Block;
  4. import net.minecraft.creativetab.CreativeTabs;
  5. import net.minecraft.init.Blocks;
  6. import net.minecraft.init.Items;
  7. import net.minecraft.item.Item;
  8. import net.minecraft.item.ItemStack;
  9. import net.minecraft.util.ResourceLocation;
  10. import net.minecraftforge.event.RegistryEvent;
  11. import net.minecraftforge.fml.common.Mod;
  12. import net.minecraftforge.fml.common.Mod.EventHandler;
  13. import net.minecraftforge.fml.common.event.FMLInitializationEvent;
  14. import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
  15. import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
  16. import net.minecraftforge.fml.common.registry.GameRegistry;
  17.  
  18. @Mod(modid= TransportMod.MODID, version = TransportMod.VERSION)
  19. public class TransportMod {
  20.     public static final String MODID = "transportmod";
  21.     public static final String VERSION = "0.1.0";
  22.     private static Item bus = new Item(),
  23.                         wheel = new Item();
  24.  
  25.     @SubscribeEvent
  26.     public void registerItems(RegistryEvent.Register<Item> event) {
  27.         event.getRegistry().registerAll(bus,wheel);
  28.     }
  29.     @EventHandler
  30.     public void init(FMLInitializationEvent event)
  31.     {
  32.         //Items:
  33.         bus.setUnlocalizedName(MODID+":"+"bus#1");
  34.         bus.setCreativeTab(CreativeTabs.TRANSPORTATION);
  35.         bus.setRegistryName("Bus");
  36.         //Recipes
  37.         ResourceLocation BusR = new ResourceLocation("bus-recipe.json");
  38.         GameRegistry.addShapedRecipe(BusR, null, new ItemStack(TransportMod.bus));
  39.     }
  40. }
  41.  
  42.  
Attachment: The login .txt file
Attached Files
File Type: txt crash-2019-07-07_20.21.40-client.txt (5.8 KB, 7 views)
2 Weeks Ago #1

✓ answered by chrimpylimes

This is solved. I had a problem in my program. I didn't make the texture of the "bus" item. I'm closing it.

Share this Question
Share on Google+
2 Replies


P: 8
Anyone there?
Expand|Select|Wrap|Line Numbers
  1. help me to post this on stack overflow too since i dont hane a stackoverflow account (#^.^#)
2 Weeks Ago #2

P: 8
This is solved. I had a problem in my program. I didn't make the texture of the "bus" item. I'm closing it.
2 Weeks Ago #3

Post your reply

Sign in to post your reply or Sign up for a free account.