Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.NullPointerException: 	at mekanism.generators.common.tile.turbine.TileEntityTurbineCasing.getMaxEnergy(TileEntityTurbineCasing.java:150)	at mcjty.rftools.apideps.MekanismCompatibility.getMaxEnergyLevel(MekanismCompatibility.java:18)	at mcjty.rftools.varia.EnergyTools.getEnergyLevelMulti(EnergyTools.java:66)	at mcjty.rftools.blocks.screens.modules.EnergyBarScreenModule.getData(EnergyBarScreenModule.java:31)	at mcjty.rftools.blocks.screens.ScreenTileEntity.getScreenData(ScreenTileEntity.java:490)	at mcjty.rftools.blocks.screens.network.PacketGetScreenData.onMessage(PacketGetScreenData.java:54)	at mcjty.rftools.blocks.screens.network.PacketGetScreenData.onMessage(PacketGetScreenData.java:13)	at cpw.mods.fml.common.network.simpleimpl.SimpleChannelHandlerWrapper.channelRead0(SimpleChannelHandlerWrapper.java:37)	at cpw.mods.fml.common.network.simpleimpl.SimpleChannelHandlerWrapper.channelRead0(SimpleChannelHandlerWrapper.java:17)	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98)	at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337)	at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323)	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:101)	at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337)	at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323)	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:101)	at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337)	at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323)	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:101)	at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337)	at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323)	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)	at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111)	at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337)	at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323)	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785)	at io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:169)	at cpw.mods.fml.common.network.internal.FMLProxyPacket.func_148833_a(FMLProxyPacket.java:77)	at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212)	at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:165)	at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:659)	at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:334)	at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)	at fastcraft.at.a(F:978)	at fastcraft.H.aq(F:36)	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:396)	at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)