<freeStyleBuild _class='hudson.model.FreeStyleBuild'><action _class='hudson.model.CauseAction'><cause _class='hudson.triggers.SCMTrigger$SCMTriggerCause'><shortDescription>Started by an SCM change</shortDescription></cause></action><action></action><action _class='hudson.plugins.git.util.BuildData'><buildsByBranchName><refsremotesoriginmaster _class='hudson.plugins.git.util.Build'><buildNumber>343</buildNumber><marked><SHA1>0d7e08f00bfff4790a205caf1d14eb36286c24c8</SHA1><branch><SHA1>0d7e08f00bfff4790a205caf1d14eb36286c24c8</SHA1><name>refs/remotes/origin/master</name></branch></marked><revision><SHA1>0d7e08f00bfff4790a205caf1d14eb36286c24c8</SHA1><branch><SHA1>0d7e08f00bfff4790a205caf1d14eb36286c24c8</SHA1><name>refs/remotes/origin/master</name></branch></revision></refsremotesoriginmaster></buildsByBranchName><lastBuiltRevision><SHA1>0d7e08f00bfff4790a205caf1d14eb36286c24c8</SHA1><branch><SHA1>0d7e08f00bfff4790a205caf1d14eb36286c24c8</SHA1><name>refs/remotes/origin/master</name></branch></lastBuiltRevision><remoteUrl>https://github.com/mcMMO-Dev/mcMMO.git</remoteUrl><scmName></scmName></action><action></action><action></action><action></action><action _class='org.jenkinsci.plugins.displayurlapi.actions.RunDisplayAction'></action><building>false</building><displayName>#343</displayName><duration>50574</duration><estimatedDuration>135282</estimatedDuration><fullDisplayName>mcMMO #343</fullDisplayName><id>343</id><inProgress>false</inProgress><keepLog>false</keepLog><number>343</number><queueId>216</queueId><result>FAILURE</result><timestamp>1783741749806</timestamp><url>https://popicraft.net/jenkins/job/mcMMO/343/</url><builtOn>Builder</builtOn><changeSet _class='hudson.plugins.git.GitChangeSetList'><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>src/test/java/com/gmail/nossr50/TestRegistryBootstrap.java</affectedPath><commitId>0d7e08f00bfff4790a205caf1d14eb36286c24c8</commitId><timestamp>1783741267000</timestamp><author><absoluteUrl>https://popicraft.net/jenkins/user/nossr50</absoluteUrl><fullName>nossr50</fullName></author><authorEmail>nossr50@gmail.com</authorEmail><comment>Fix registry bootstrap stubbing failing under CI test ordering

The per-type registry mock minted its lookups through a when() stub
registered inside the Bukkit.getRegistry interception, which runs in
the middle of Registry class initialization. Mockito stubbing state
is thread-local and unreliable while an intercepted invocation is
being answered: on the CI runner the stub silently failed to bind,
lookups returned null, and PotionEffectType class init failed with
"No PotionEffectType found for minecraft:speed", poisoning the class
for the JVM and erroring 108 tests. Locally a different test order
made another class perform the first bootstrap, where the nested
stubbing happened to bind.

The minting now lives in the mock's default answer, baked in at
creation with no stubbing machinery involved, and also covers
getOrThrow for newer API versions. Explicit per-key when() stubs from
test bodies still override the default answer.
</comment><date>2026-07-10 20:41:07 -0700</date><id>0d7e08f00bfff4790a205caf1d14eb36286c24c8</id><msg>Fix registry bootstrap stubbing failing under CI test ordering</msg><path><editType>edit</editType><file>src/test/java/com/gmail/nossr50/TestRegistryBootstrap.java</file></path></item><kind>git</kind></changeSet><culprit><absoluteUrl>https://popicraft.net/jenkins/user/nossr50</absoluteUrl><fullName>nossr50</fullName></culprit></freeStyleBuild>