Re-opening this issue since we are seeing it quite a lot. After some investgating it seems like it happens when a Jenkins instance loses connection to p4 server and tries to re-establish the connection. We have seen this issue more often for instances which have a somewhat high latency connection to the perforce server.
When starting/restarting the agent the connection works fine for a long time but when the log file indicates a lost connection and a SEVERE level error message indicates connection retry it fails to load the locale bundle. Not sure if the error message is actually hiding some other error.
SEVERE: P4: Connection retry: 1
mars 16, 2023 3:01:33 FM org.jenkinsci.plugins.p4.client.ConnectionHelper connectionRetry
SEVERE: Can't find bundle for base name org.jenkinsci.plugins.p4.Identifier, locale en_US
Jenkins Version: Jenkins 2.319.3
jenkinsci p4-plugin Version: 1.13.3
The error suggests that Identifier.properties is not in your class path; I can verity that we ship the properties file in the p4.hpi file.
From the log is seems that the issue occurs on a Windows slave 'buildvpc10' perhaps the slave.jar is old? or a localisation setting has changed the class path?
Please can you verify this by running the job on the master or a different slave.
Perhaps redeploying the Jenkins slave may solve the issue?