{"action":"created","issue":{"url":"https://api.github.com/repos/enhanced-portals/enhanced-portals/issues/181","labels_url":"https://api.github.com/repos/enhanced-portals/enhanced-portals/issues/181/labels{/name}","comments_url":"https://api.github.com/repos/enhanced-portals/enhanced-portals/issues/181/comments","events_url":"https://api.github.com/repos/enhanced-portals/enhanced-portals/issues/181/events","html_url":"https://github.com/enhanced-portals/enhanced-portals/issues/181","id":57839274,"number":181,"title":"Compatibility Issue with ThermalExpansion?","user":{"login":"katzenpapst","id":8077005,"avatar_url":"https://avatars.githubusercontent.com/u/8077005?v=3","gravatar_id":"","url":"https://api.github.com/users/katzenpapst","html_url":"https://github.com/katzenpapst","followers_url":"https://api.github.com/users/katzenpapst/followers","following_url":"https://api.github.com/users/katzenpapst/following{/other_user}","gists_url":"https://api.github.com/users/katzenpapst/gists{/gist_id}","starred_url":"https://api.github.com/users/katzenpapst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katzenpapst/subscriptions","organizations_url":"https://api.github.com/users/katzenpapst/orgs","repos_url":"https://api.github.com/users/katzenpapst/repos","events_url":"https://api.github.com/users/katzenpapst/events{/privacy}","received_events_url":"https://api.github.com/users/katzenpapst/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-16T18:51:36Z","updated_at":"2015-02-16T20:01:16Z","closed_at":null,"body":"Hi,\r\n\r\njust attempted to add Enhanced Portals to my installation. As soon as I do this, no world can be loaded, Minecraft dies with this error:\r\n\r\n> java.lang.IllegalArgumentException: Equal objects must have equal hashcodes. During rehashing, Trove discovered that the following two objects claim to be equal (as in java.lang.Object.equals()) but their hashCodes (or those calculated by your TObjectHashingStrategy) are not equal.This violates the general contract of java.lang.Object.hashCode().  See bullet point two in that method's documentation. object #1 =class thermalexpansion.util.crafting.PulverizerManager$ComparableItemStackPulverizer id= 667594137 hashCode= 407 toString= thermalexpansion.util.crafting.PulverizerManager$ComparableItemStackPulverizer@667594137{m:0, i:com.teammetallurgy.metallurgy.metals.MetalItem@67960309, v:5025}; object #2 =class thermalexpansion.util.crafting.PulverizerManager$ComparableItemStackPulverizer id= 1475670482 hashCode= 329318400 toString= thermalexpansion.util.crafting.PulverizerManager$ComparableItemStackPulverizer@1475670482{m:0, i:com.teammetallurgy.metallurgy.metals.MetalItem@67960309, v:5025}\r\n\r\nA more complete error is here: http://pastebin.com/PAzJq8c8\r\n\r\nThis thermal expansion/cofh stuff is used:\r\nThermalExpansion-[1.7.10]4.0.0B8-23.jar\r\nThermalFoundation-[1.7.10]1.0.0RC1-13.jar\r\nCoFHCore-[1.7.10]3.0.0B9-40.jar\r\nThe full mod list is here: http://pastebin.com/MUdxBdg8\r\n\r\nTried on Win7, Minecraft 1.7.10 of course, and several versions of Java from 1.7 to 1.8.\r\n\r\nGoogling the error gave me this:\r\nhttp://forum.feed-the-beast.com/threads/1-7-10-let-it-end.51948/page-21#post-861549\r\nand, maybe more informatively, this:\r\nhttps://github.com/squeek502/VeganOption/issues/7\r\nThese imply that this can be indeed caused by other mods than thermal expansion. Maybe the fix in that vegan mod can help you, too?\r\n"},"comment":{"url":"https://api.github.com/repos/enhanced-portals/enhanced-portals/issues/comments/74564394","html_url":"https://github.com/enhanced-portals/enhanced-portals/issues/181#issuecomment-74564394","issue_url":"https://api.github.com/repos/enhanced-portals/enhanced-portals/issues/181","id":74564394,"user":{"login":"ShadedDimension","id":3743378,"avatar_url":"https://avatars.githubusercontent.com/u/3743378?v=3","gravatar_id":"","url":"https://api.github.com/users/ShadedDimension","html_url":"https://github.com/ShadedDimension","followers_url":"https://api.github.com/users/ShadedDimension/followers","following_url":"https://api.github.com/users/ShadedDimension/following{/other_user}","gists_url":"https://api.github.com/users/ShadedDimension/gists{/gist_id}","starred_url":"https://api.github.com/users/ShadedDimension/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShadedDimension/subscriptions","organizations_url":"https://api.github.com/users/ShadedDimension/orgs","repos_url":"https://api.github.com/users/ShadedDimension/repos","events_url":"https://api.github.com/users/ShadedDimension/events{/privacy}","received_events_url":"https://api.github.com/users/ShadedDimension/received_events","type":"User","site_admin":false},"created_at":"2015-02-16T20:01:16Z","updated_at":"2015-02-16T20:01:16Z","body":"After some digging, the issue was originally caused by the ComparableItemStack in CoFHLib, and was [fixed here](https://github.com/CoFH/CoFHLib/commit/241051d9e3b47a46abe7d7f6d3b8d85e7f1559bd).\r\n\r\nI have no idea how you only get it when EP is installed. The error log has no mention of anything EP related, only CoFHCore and Metallurgy, so this means if it is caused by EP then I have no idea where to begin to start to look. I'm not shipping that part of CoFHLib and I don't seem to be registering things where they're not supposed to be.\r\n\r\nRegardless, I'll take a look and see if I can reproduce this."}}