Skip to content

Instantly share code, notes, and snippets.

▄▄▄▄█▀
╭───────────────────────╮ ▄▄ ▄▄▄█▄▄▀
│ │ ███▄▄▄▄▄▄▄▄▄▄███▄██
│ Encrypt everything! │ ▄▄▄████▄▄▄███████████
│ ├──── ▄▄▄▄▄████▄█████████████
╰───────────────────────╯ ███▄█▄█████████████████▄▄
▀▄███████▄▀ ███████████▄▄
▄▄▄▄███ ███████████▄▄
▄████████ ██████████████
▄███▄█████▄▄ ▀▄████████████
null
java.lang.NullPointerException
at com.demonwav.mcdev.platform.MinecraftModule.lambda$searchAllModulesForFile$4(MinecraftModule.java:264)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.stream.DistinctOps$1$2.accept(DistinctOps.java:175)
at java.util.HashMap$ValueSpliterator.tryAdvance(HashMap.java:1641)
at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
null
java.lang.NullPointerException
at com.demonwav.mcdev.platform.mcp.srg.SrgManager$1.run(SrgManager.java:69)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:635)
at com.intellij.openapi.progress.impl.CoreProgressManager$3.run(CoreProgressManager.java:170)
at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:494)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:443)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:155)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:128)
From 12516b0a27dfa89bf7aeec22c16dab2f77d1800f Mon Sep 17 00:00:00 2001
From: Aaron Hill <[email protected]>
Date: Wed, 3 Aug 2016 18:19:25 -0400
Subject: [PATCH] Fix potion race condition on forge
Signed-off-by: Aaron Hill <[email protected]>
diff --git a/protocol/src/main/java/net/md_5/bungee/protocol/AbstractPacketHandler.java b/protocol/src/main/java/net/md_5/bungee/protocol/AbstractPacketHandler.java
index 6f782c8..2d5fc48 100644
--- a/protocol/src/main/java/net/md_5/bungee/protocol/AbstractPacketHandler.java
diff --git a/BungeeCord-Patches/0004-Configurable-Waterfall-Metrics.patch b/BungeeCord-Patches/0004-Configurable-Waterfall-Metrics.patch
index ebb7ac6..cd750da 100644
--- a/BungeeCord-Patches/0004-Configurable-Waterfall-Metrics.patch
+++ b/BungeeCord-Patches/0004-Configurable-Waterfall-Metrics.patch
@@ -1,4 +1,4 @@
-From 2b4b56de0968e5a63f727123a3becd03df65edeb Mon Sep 17 00:00:00 2001
+From 11eaba725d46660a261f38e5c1a6ebca6ae4ba3d Mon Sep 17 00:00:00 2001
From: Techcable <[email protected]>
Date: Thu, 19 May 2016 10:55:20 -0700
Subject: [PATCH] Configurable Waterfall Metrics
03.09 17:13:13 [Server] INFO [17:13:13] [Server thread/WARN]: Fetching addPacket for removed entity
03.09 17:13:13 [Server] INFO [17:13:13] [Server thread/WARN]: Fetching addPacket for removed entity
03.09 17:13:13 [Server] INFO [17:13:13] [Server thread/WARN]: Fetching addPacket for removed entity
03.09 17:13:11 [Server] INFO [17:13:11] [Server thread/INFO]: - ImSunSunBoy
03.09 17:13:11 [Disconnect] User [17:13:11] [Server thread/INFO]: ImSunSunBoy has disconnected, reason: Timed out
03.09 17:13:11 [Server] INFO io.netty.handler.timeout.ReadTimeoutException
03.09 17:13:11 [Server] INFO [17:13:11] [Netty Epoll Server IO #11/ERROR] [FML]: NetworkDispatcher exception
03.09 17:13:10 [Server] INFO [17:13:10] [Server thread/WARN]: Fetching addPacket for removed entity
03.09 17:12:53 [Server] INFO [17:12:53] [Server thread/INFO]: [Trainer] Xx_FireShock_xX: can some1 please help me get out of this hole? --- Any admin on?
03.09 17:12:46 [Server] INFO [17:12:46] [Server thread/WARN]: Fetching addPacket for removed ent
@Listener
public void onJoin(ClientConnectionEvent.Join event) {
for (Player player: Sponge.getServer().getOnlinePlayers()) {
Scoreboard scoreboard = Scoreboard.builder().build();
Objective powerObjective = Objective.builder().name("other").displayName(Text.of("Power")).criterion(Criteria.DUMMY).build();
scoreboard.addObjective(powerObjective);
for (Player other: Sponge.getServer().getOnlinePlayers()) {
if (other.getUniqueId() == player.getUniqueId()) {
# 1.0
#
# # If you need help with the configuration or have any questions related to Sponge,
# # join us at the IRC or drop by our forums and leave a post.
#
# # IRC: #sponge @ irc.esper.net ( http://webchat.esper.net/?channel=sponge )
# # Forums: https://forums.spongepowered.org/
#
sponge {
[23:54:50] [Server thread/ERROR] [STDERR]: [me.ryanhamshire.griefprevention.GriefPrevention.addLogEntry(GriefPrevention.java:220)]: Jun 27, 2016 11:54:50 PM me.ryanhamshire.griefprevention.GriefPrevention addLogEntry
INFO: GriefPrevention: Found mismatch world UUID in claim file ./gp-test/GriefPreventionData/ClaimData/02c7140c-828c-44eb-9691-7ebac946677f. Expected 90fd7c79-3810-4638-9430-509958883a1a, found null. Updating file with correct UUID...
[23:54:50] [Server thread/ERROR] [STDERR]: [me.ryanhamshire.griefprevention.GriefPrevention.addLogEntry(GriefPrevention.java:220)]: Jun 27, 2016 11:54:50 PM me.ryanhamshire.griefprevention.GriefPrevention addLogEntry
INFO: GriefPrevention: 02c7140c-828c-44eb-9691-7ebac946677f java.lang.Exception: Claim file '02c7140c-828c-44eb-9691-7ebac946677f' has corrupted data and cannot be loaded. Skipping...
at me.ryanhamshire.griefprevention.FlatFileDataStore.loadClaim(FlatFileDataStore.java:332)
at me.ryanhamshire.griefprevention.FlatFileDataStore.loadClaimData(FlatFileDat