{"action":"created","issue":{"url":"https://api.github.com/repos/micdoodle8/Galacticraft/issues/3155","repository_url":"https://api.github.com/repos/micdoodle8/Galacticraft","labels_url":"https://api.github.com/repos/micdoodle8/Galacticraft/issues/3155/labels{/name}","comments_url":"https://api.github.com/repos/micdoodle8/Galacticraft/issues/3155/comments","events_url":"https://api.github.com/repos/micdoodle8/Galacticraft/issues/3155/events","html_url":"https://github.com/micdoodle8/Galacticraft/issues/3155","id":295011472,"number":3155,"title":"Crash log from CreativeTabGC.displayAllRelevantItems uses printStackTrace()","user":{"login":"mezz","id":916092,"avatar_url":"https://avatars1.githubusercontent.com/u/916092?v=4","gravatar_id":"","url":"https://api.github.com/users/mezz","html_url":"https://github.com/mezz","followers_url":"https://api.github.com/users/mezz/followers","following_url":"https://api.github.com/users/mezz/following{/other_user}","gists_url":"https://api.github.com/users/mezz/gists{/gist_id}","starred_url":"https://api.github.com/users/mezz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mezz/subscriptions","organizations_url":"https://api.github.com/users/mezz/orgs","repos_url":"https://api.github.com/users/mezz/repos","events_url":"https://api.github.com/users/mezz/events{/privacy}","received_events_url":"https://api.github.com/users/mezz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-07T05:27:53Z","updated_at":"2018-02-07T09:59:02Z","closed_at":"2018-02-07T09:59:02Z","author_association":"NONE","body":"\r\nMinecraft version: 1.12.2\r\nGalacticraft version: 1.12.2-4.0.1.128\r\nForge version: 1.12.2-14.23.1.2608\r\n\r\nSingle player (SSP) or Multiplayer (SMP)?\r\nBoth\r\n\r\nGalacticraft add-ons and other mods installed?\r\nextraplanets, JEI\r\n\r\nPlease provide screenshots / crash report / log as needed.\r\nSnippet of log:\r\n```\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: com.google.common.collect.Ordering$IncomparableValueException: Cannot compare value: Item:(com.mjr.extraplanets.items.ItemBasicBattery@3b0da7cf),Meta:(100)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat com.google.common.collect.ExplicitOrdering.rank(ExplicitOrdering.java:45)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat com.google.common.collect.ExplicitOrdering.compare(ExplicitOrdering.java:39)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat com.google.common.collect.ByFunctionOrdering.compare(ByFunctionOrdering.java:43)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat java.util.TimSort.binarySort(Unknown Source)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat java.util.TimSort.sort(Unknown Source)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat java.util.Arrays.sort(Unknown Source)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat java.util.List.sort(Unknown Source)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat java.util.Collections.sort(Unknown Source)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat micdoodle8.mods.galacticraft.core.util.CreativeTabGC.func_78018_a(CreativeTabGC.java:50)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat mezz.jei.plugins.vanilla.ingredients.ItemStackListFactory.create(ItemStackListFactory.java:47)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat mezz.jei.plugins.vanilla.VanillaPlugin.registerIngredients(VanillaPlugin.java:96)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat mezz.jei.startup.JeiStarter.registerIngredients(JeiStarter.java:129)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat mezz.jei.startup.JeiStarter.start(JeiStarter.java:46)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat mezz.jei.startup.ProxyCommonClient.loadComplete(ProxyCommonClient.java:118)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat mezz.jei.JustEnoughItems.loadComplete(JustEnoughItems.java:54)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat java.lang.reflect.Method.invoke(Unknown Source)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:606)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat java.lang.reflect.Method.invoke(Unknown Source)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat com.google.common.eventbus.EventBus.post(EventBus.java:217)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:278)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:256)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat java.lang.reflect.Method.invoke(Unknown Source)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat com.google.common.eventbus.EventBus.post(EventBus.java:217)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:148)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:728)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:352)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:534)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:377)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat net.minecraft.client.main.Main.main(SourceFile:123)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat java.lang.reflect.Method.invoke(Unknown Source)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat net.minecraft.launchwrapper.Launch.launch(Launch.java:135)\r\n[21:33:51] [main/INFO] [STDERR/jei]: [micdoodle8.mods.galacticraft.core.util.CreativeTabGC:func_78018_a:53]: \tat net.minecraft.launchwrapper.Launch.main(Launch.java:28)\r\n```\r\nFull log: https://gist.github.com/Vitali8/676abb0da286b78631fca17743e8eb57\r\n\r\n### Report:\r\n\r\nI saw this crashing in a report given to me for an unrelated issue. I realize this is mainly a extraplanets issue (reported here: https://github.com/MJRLegends/ExtraPlanets/issues/237) but please use a log4j log and do not use printStackTrace. If you add an exception as the last parameter in a log4j log call, it will print the stack trace more nicely instead of to stdout:\r\nhttps://github.com/micdoodle8/Galacticraft/blob/ee0b9ac667b477623a53236d2b63fb95e56ac1f0/src/main/java/micdoodle8/mods/galacticraft/core/util/CreativeTabGC.java#L53\r\ncan be\r\n```java\r\nlogger.error(\"Crashed while sorting creative tab.\", e);\r\n```"},"comment":{"url":"https://api.github.com/repos/micdoodle8/Galacticraft/issues/comments/363717084","html_url":"https://github.com/micdoodle8/Galacticraft/issues/3155#issuecomment-363717084","issue_url":"https://api.github.com/repos/micdoodle8/Galacticraft/issues/3155","id":363717084,"user":{"login":"radfast","id":6842258,"avatar_url":"https://avatars2.githubusercontent.com/u/6842258?v=4","gravatar_id":"","url":"https://api.github.com/users/radfast","html_url":"https://github.com/radfast","followers_url":"https://api.github.com/users/radfast/followers","following_url":"https://api.github.com/users/radfast/following{/other_user}","gists_url":"https://api.github.com/users/radfast/gists{/gist_id}","starred_url":"https://api.github.com/users/radfast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radfast/subscriptions","organizations_url":"https://api.github.com/users/radfast/orgs","repos_url":"https://api.github.com/users/radfast/repos","events_url":"https://api.github.com/users/radfast/events{/privacy}","received_events_url":"https://api.github.com/users/radfast/received_events","type":"User","site_admin":false},"created_at":"2018-02-07T09:59:02Z","updated_at":"2018-02-07T09:59:02Z","author_association":"COLLABORATOR","body":">  com.mjr.extraplanets.items.ItemBasicBattery"}}
{"actor":{"display_login":"radfast"}}