Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

So Im trying to run my mod but I get the error: AL lib: (EE) alc_cleanup: 1 device not closed

 

What does this mean and how do I fix it? Minecraft was open but then I closed it.

it means somewhere there is an undefined constructor or error.

Use examples, i have aspergers.

Examples make sense to me.

  • Author

Here you go, this is the error message when I try to run my mod:

 

Description: Initializing game

 

java.lang.IllegalArgumentException: duplicate key: Amethyst

at com.google.common.base.Preconditions.checkArgument(Preconditions.java:119)

at com.google.common.collect.RegularImmutableMap.<init>(RegularImmutableMap.java:67)

at com.google.common.collect.ImmutableMap$Builder.fromEntryList(ImmutableMap.java:249)

at com.google.common.collect.ImmutableMap$Builder.build(ImmutableMap.java:235)

at com.google.common.collect.Maps.uniqueIndex(Maps.java:1168)

at com.google.common.collect.Maps.uniqueIndex(Maps.java:1142)

at cpw.mods.fml.common.Loader.identifyMods(Loader.java:356)

at cpw.mods.fml.common.Loader.loadMods(Loader.java:486)

at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:181)

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

at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:796)

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

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

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

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

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

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

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

 

 

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

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

 

-- Head --

Stacktrace:

at com.google.common.base.Preconditions.checkArgument(Preconditions.java:119)

at com.google.common.collect.RegularImmutableMap.<init>(RegularImmutableMap.java:67)

at com.google.common.collect.ImmutableMap$Builder.fromEntryList(ImmutableMap.java:249)

at com.google.common.collect.ImmutableMap$Builder.build(ImmutableMap.java:235)

at com.google.common.collect.Maps.uniqueIndex(Maps.java:1168)

at com.google.common.collect.Maps.uniqueIndex(Maps.java:1142)

at cpw.mods.fml.common.Loader.identifyMods(Loader.java:356)

at cpw.mods.fml.common.Loader.loadMods(Loader.java:486)

at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:181)

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

 

-- Initialization --

Details:

Stacktrace:

at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:796)

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

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

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

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

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

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

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

 

-- System Details --

Details:

Minecraft Version: 1.6.2

Operating System: Mac OS X (x86_64) version 10.8.4

Java Version: 1.6.0_51, Apple Inc.

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Apple Inc.

Memory: 927999024 bytes (885 MB) / 1060372480 bytes (1011 MB) up to 1060372480 bytes (1011 MB)

JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M

AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

Suspicious classes: FML and Forge are installed

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

FML: MCP v8.04 FML v6.2.55.842 Minecraft Forge 9.10.0.842 5 mods loaded, 0 mods active

mcp{8.04} [Minecraft Coder Pack] (minecraft.jar)

FML{6.2.55.842} [Forge Mod Loader] (coremods)

Forge{9.10.0.842} [Minecraft Forge] (coremods)

Amethyst{0.0.1} [Amethyst] (bin)

Amethyst{0.0.1} [Amethyst] (bin)

Launched Version: 1.6

LWJGL: 2.9.0

OpenGL: AMD Radeon HD 6770M OpenGL Engine GL version 2.1 ATI-1.8.18, ATI Technologies Inc.

Is Modded: Definitely; Client brand changed to 'fml,forge'

Type: Client (map_client.txt)

Resource Pack: Default

Current Language: English (US)

Profiler Position: N/A (disabled)

Vec3 Pool Size: ~~ERROR~~ NullPointerException: null

thats an npe not a device not closed???

 

but anyway post your amethyst class as that seems to be where the npe is located

Use examples, i have aspergers.

Examples make sense to me.

or you just missed the last line woops xD

 

#@!@# Game crashed! Crash report saved to: #@!@# C:\Users\owner\Documents\Rob's Crap\Minecraft\Minecraft 1.62\forge\mcp\jars\.\crash-reports\crash-2013-08-23_01.17.10-client.txt

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

 

but still the npe is causing the device not closed. so post your amethyst class

Use examples, i have aspergers.

Examples make sense to me.

cool, for next time try and interpret the error log,

 

java.lang.IllegalArgumentException: duplicate key: Amethyst

 

first line "duplicate" "amethyst"

 

and your problem was two amethyst packages.

Use examples, i have aspergers.

Examples make sense to me.

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.