Jump to content

alc_cleanup: 1 device not closed


Recommended Posts

this is my crash report can someone help me fix this, i dont know whats wrong, if you want to see code then ask.


---- Minecraft Crash Report ----

// I bet Cylons wouldn't have this problem.


Time: 16/03/15 21:42

Description: Exception in server tick loop


java.lang.NullPointerException: Exception in server tick loop

at net.minecraft.world.World.setBlockState(World.java:320)

at net.minecraft.world.gen.feature.WorldGenMinable.generate(WorldGenMinable.java:79)

at com.ThreeFoolsStudios.ArcaneMod.OreGeneration.generateOre(OreGeneration.java:42)

at com.ThreeFoolsStudios.ArcaneMod.OreGeneration.generateOverWorld(OreGeneration.java:28)

at com.ThreeFoolsStudios.ArcaneMod.OreGeneration.generate(OreGeneration.java:22)

at net.minecraftforge.fml.common.registry.GameRegistry.generateWorld(GameRegistry.java:106)

at net.minecraft.world.gen.ChunkProviderServer.populate(ChunkProviderServer.java:270)

at net.minecraft.world.chunk.Chunk.populateChunk(Chunk.java:1126)

at net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:180)

at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:122)

at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:92)

at net.minecraft.server.MinecraftServer.initialWorldChunkLoad(MinecraftServer.java:302)

at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:112)

at net.minecraft.server.integrated.IntegratedServer.startServer(IntegratedServer.java:126)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:438)

at java.lang.Thread.run(Thread.java:745)



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



-- System Details --


Minecraft Version: 1.8

Operating System: Windows 8.1 (amd64) version 6.3

Java Version: 1.8.0_40, Oracle Corporation

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation

Memory: 810332416 bytes (772 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)

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

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

FML: MCP v9.10 FML v8.0.20.1295 Minecraft Forge 4 mods loaded, 4 mods active

mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available

FML{} [Forge Mod Loader] (forgeSrc-1.8- Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available

Forge{} [Minecraft Forge] (forgeSrc-1.8- Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available

arm{1.0} [Arcane Mod] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available

Profiler Position: N/A (disabled)

Player Count: 0 / 8; []

Type: Integrated Server (map_client.txt)

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

Link to comment
Share on other sites

package com.ThreeFoolsStudios.ArcaneMod;


import java.util.Random;


import com.ThreeFoolsStudios.ArcaneMod.init.ArcaneBlocks;


import net.minecraft.block.Block;

import net.minecraft.block.state.IBlockState;

import net.minecraft.init.Blocks;

import net.minecraft.util.BlockPos;

import net.minecraft.world.World;

import net.minecraft.world.chunk.IChunkProvider;

import net.minecraft.world.gen.feature.WorldGenMinable;

import net.minecraftforge.fml.common.IWorldGenerator;


public class OreGeneration implements IWorldGenerator {


public void generate(Random random, int chunkX, int chunkZ, World world,

IChunkProvider chunkGenerator, IChunkProvider chunkProvider) {

switch (world.provider.getDimensionId()) {

case 0:

generateOverWorld(world, random, chunkX, chunkZ);





public void generateOverWorld(World world, Random rand, int x, int z) {

generateOre(ArcaneBlocks.Necromantic_Crystal, world, rand, x, z, 2, 5, 4, 16, 50, Blocks.stone);



public void generateOre(Block block, World world, Random random,

int chunkX, int chunkZ, int minVeinSize, int maxVeinSize,

int chance, int minY, int maxY, Block generateIn) {


int VeinSize = minVeinSize + random.nextInt(maxVeinSize - minVeinSize);

int heightRange = maxY - minY;

WorldGenMinable gen = new WorldGenMinable(getdefault(block), VeinSize);

for (int i=0; i< chance; i++){

int xRand = chunkX * 16 + random.nextInt(16);

int yRand = random.nextInt(heightRange) + minY;

int zRand = chunkZ * 16 + random.nextInt(16);

gen.generate(world, random, new BlockPos(xRand, yRand, zRand));




private IBlockState getdefault(Block block) {

// TODO Auto-generated method stub

return null;




Link to comment
Share on other sites

   private IBlockState getdefault(Block block) {
      // TODO Auto-generated method stub
      return null;


And when, pray tell, were you going to fill in that stub?

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.


Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.


DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

Thanks it works perfectly now

Diesieben comes in with the sarcastic comment and it just deflects right back!


No offense, diesieben. It was all fun and games :D

I'm back from being gone for... I think its been about a year. I'm pretty sure nobody remembers me, but hello anybody who does!

Link to comment
Share on other sites

Diesieben comes in with the sarcastic comment and it just deflects right back!


No offense, diesieben. It was all fun and games :D

[me=diesieben07]is confuzzled[/me]


He asks for what to put in the method...


please can you put up what I need to put in that stub or a generic version of what I need to put in there

You tell him..


And then he says what I think is asking for code(I may have misinterpreted it) when he asks again

please can you put up what I need to put in that stub or a generic version of what I need to put in there


And then you say your sarcastic comment which means(I told you what to put in the method and youre not going to get any code)

I just did exactly that.


And then he says it works... after he asks for code...

So that sarcastic comment deflected right back!

I'm back from being gone for... I think its been about a year. I'm pretty sure nobody remembers me, but hello anybody who does!

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.

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.

  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffc3fe22b60, pid=15228, tid=5140 # # JRE version: OpenJDK Runtime Environment Microsoft-8035246 (17.0.8+7) (build 17.0.8+7-LTS) # Java VM: OpenJDK 64-Bit Server VM Microsoft-8035246 (17.0.8+7-LTS, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64) # Problematic frame: # C [atio6axx.dll+0x192b60] # # No core dump will be written. Minidumps are not enabled by default on client versions of Windows # # If you would like to submit a bug report, please visit: # https://aka.ms/minecraftjavacrashes # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug i have no idea why please help
    • Considering the financial revolution sparked by cryptocurrencies like Bitcoin, the digital era has opened up a plethora of opportunities. But this exciting new world also comes with a terrible reality: in the harsh, brutal blockchain environment, there's always a danger you could lose your precious digital assets. Services like ADWARE RECOVERY SPECIALIST are not merely recovery agents in this case; they are crypto lifelines, and my own experience attests to their vital importance. I had an amazing time exploring the world of Bitcoin on my own; it was exciting to be in a completely new place and to see the possibility of independent money. However, a careless mistake of choosing the incorrect platform for my investment sent me into total despair. It seemed as though my digital lifeblood, Bitcoin, had been devoured by the blockchain's vicious maw. Overwhelmed with hope, I began a frantic quest for solutions, looking up any clue of assistance on the internet. I discovered  ADWARE RECOVERY SPECIALIST at that point.  Initially, I was filled with misgivings, but their unwavering professionalism and clear communication offered me a glimpse of hope. I set them the very impossible task of locating my missing fortune. The ADWARE RECOVERY SPECIALIST team of professionals meticulously penetrated the labyrinthine depths of the blockchain with the aid of cutting-edge technology and years of honed experience, treating my case with the utmost care and respect and keeping me informed at every turn. I had never encountered anything like the recuperation process. The days of confusing technical jargon and excruciatingly long wait times were over. And then the miraculous happened. My Bitcoin miraculously reappeared in my wallet, coming safe and sound from the digital void in an almost amazing length of time. Integrating  ADWARE RECOVERY SPECIALIST into your Bitcoin recovery process is not as magical as waving a wand, but it sure feels like it with the seamless and effective tools it offers. By following best practices, training your staff, and learning from successful case studies, you can optimize your Bitcoin recovery efforts and stay ahead of potential risks. The future outlook for Bitcoin recovery with ADWARE RECOVERY SPECIALIST looks promising, providing users with the confidence and tools they need to navigate the ever-evolving landscape of digital assets. It was a very happy moment that showcased the ADWARE RECOVERY SPECIALIST team's remarkable talent and dedication. However, my experience serves more purposes than just self-interest; it serves as a sobering reminder of the expanding demand for dependable and trustworthy bitcoin recovery services, such as ADWARE online recovery.
    • Quick-Books is great with regards to coordinating your monetary data. You can decide to live talk with a specialist at Quick-Books to get the answer for your questions. You will actually want to get to the talk going to the landing page and call us +1855-210-1428.
    • Update: I managed to make the item not disappear after crafting, but it doesn't remove any durability. import net.minecraft.enchantment.EnchantmentHelper; import net.minecraft.enchantment.Enchantments; import net.minecraft.enchantment.UnbreakingEnchantment; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; public class NuggetHammer extends Item { private boolean damage; public NuggetHammer(Properties p_i48487_1_) { super(p_i48487_1_); } @Override public int getMaxDamage(ItemStack stack) { return 54 - 1; } public boolean isBarVisible(ItemStack stack) { return false; } @Override public ItemStack getContainerItem(ItemStack stack) { ItemStack copy = stack.copy(); copy.setCount(1); if (!this.damage) return copy; int unbreaking = EnchantmentHelper.getItemEnchantmentLevel(Enchantments.UNBREAKING, stack); for (int i = 0; i < unbreaking; i++) { if (UnbreakingEnchantment.shouldIgnoreDurabilityDrop(stack, unbreaking, random)) return copy; } copy.setDamageValue(stack.getDamageValue() + 1); if (copy.getDamageValue() > stack.getMaxDamage()) return ItemStack.EMPTY; return copy; } }  
  • Topics

  • Create New...

Important Information

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