Jump to content

1 Device Not Closed in Eclipse


DashAhead

Recommended Posts

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

Link to comment
Share on other sites

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.

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.