java.lang.reflect.InvocationTargetException

Exception #2442568

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web9

  • via GitHub by dimon7147
    ,
  • via GitHub by mcbleazz
    ,
  • via GitHub by mibby
    ,
  • Stack trace

    • java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at skinsrestorer.shared.utils.ReflectionUtil.invokeMethod(ReflectionUtil.java:96) at skinsrestorer.shared.utils.YamlConfig.save(YamlConfig.java:119) at skinsrestorer.shared.utils.YamlConfig.set(YamlConfig.java:47) at skinsrestorer.shared.storage.SkinStorage.removePlayerSkin(SkinStorage.java:47) at skinsrestorer.shared.storage.SkinStorage.getPlayerSkin(SkinStorage.java:185) at skinsrestorer.shared.storage.SkinStorage.getOrCreateSkinForPlayer(SkinStorage.java:207) at skinsrestorer.bukkit.listeners.SkinsPacketHandler.write(SkinsPacketHandler.java:75) at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658) at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716) at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706) at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741) at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895) at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240) at net.minecraft.server.v1_10_R1.NetworkManager$4.run(NetworkManager.java:200) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:380) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357) at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException at org.yaml.snakeyaml.emitter.Emitter.expectNode(Emitter.java:400) at org.yaml.snakeyaml.emitter.Emitter.access$1600(Emitter.java:62) at org.yaml.snakeyaml.emitter.Emitter$ExpectBlockMappingSimpleValue.expect(Emitter.java:641) at org.yaml.snakeyaml.emitter.Emitter.emit(Emitter.java:216) at org.yaml.snakeyaml.serializer.Serializer.serializeNode(Serializer.java:181) at org.yaml.snakeyaml.serializer.Serializer.serializeNode(Serializer.java:205) at org.yaml.snakeyaml.serializer.Serializer.serializeNode(Serializer.java:206) at org.yaml.snakeyaml.serializer.Serializer.serializeNode(Serializer.java:206) at org.yaml.snakeyaml.serializer.Serializer.serialize(Serializer.java:112) at org.yaml.snakeyaml.Yaml.dumpAll(Yaml.java:243) at org.yaml.snakeyaml.Yaml.dumpAll(Yaml.java:206) at org.yaml.snakeyaml.Yaml.dump(Yaml.java:181) at org.bukkit.configuration.file.YamlConfiguration.saveToString(YamlConfiguration.java:39) at org.bukkit.configuration.file.FileConfiguration.save(FileConfiguration.java:68) ... 21 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.