java.lang.IllegalArgumentException: Potion Type is not upgradable

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

via GitHub by renzotom
, 1 year ago
Potion Type is not upgradable
via GitHub by games647
, 1 year ago
given itemstack is not a potion
via GitHub by snitride
, 1 year ago
via GitHub by markphip
, 9 months ago
The validated expression is false
via GitHub by rmichela
, 2 years ago
java.lang.IllegalArgumentException: Potion Type is not upgradable
at org.bukkit.potion.PotionData.(PotionData.java:23)
at com.wasteofplastic.acidisland.nms.fallback.NMSHandler.setPotion(NMSHandler.java:117)
at com.wasteofplastic.acidisland.schematics.IslandBlock.setChest(IslandBlock.java:484)
at com.wasteofplastic.acidisland.schematics.Schematic.prePasteSchematic(Schematic.java:1089)
at com.wasteofplastic.acidisland.schematics.Schematic.(Schematic.java:610)
at com.wasteofplastic.acidisland.commands.IslandCmd.loadSchematics(IslandCmd.java:267)
at com.wasteofplastic.acidisland.commands.IslandCmd.(IslandCmd.java:123)
at com.wasteofplastic.acidisland.ASkyBlock.onEnable(ASkyBlock.java:326)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:292)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405)
at org.bukkit.craftbukkit.v1_9_R2.CraftServer.loadPlugin(CraftServer.java:361)
at org.bukkit.craftbukkit.v1_9_R2.CraftServer.enablePlugins(CraftServer.java:321)
at net.minecraft.server.v1_9_R2.DedicatedServer.init(DedicatedServer.java:201)
at net.minecraft.server.v1_9_R2.MinecraftServer.run(MinecraftServer.java:532)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.