1
由於我意外修改了安全設置而不知道,因此我們必須清除整個成員訪問列表並重新啓動,因此用戶標識應始終爲非空值。現在有一個匿名用戶(這是新的 - 我們曾經有一個「管理員」用戶)。它似乎在詹金斯匿名用戶正在中止工作,顯示此錯誤:Jenkins運行由匿名中止運行:由於DefaultUserCanonicalIdResolver
FATAL: The user id should be always non-null thanks to DefaultUserCanonicalIdResolver
java.lang.IllegalStateException: The user id should be always non-null thanks to DefaultUserCanonicalIdResolver
at hudson.model.User.get(User.java:401)
at hudson.model.User.get(User.java:362)
at hudson.model.User.get(User.java:481)
at jenkins.model.CauseOfInterruption$UserInterruption.getUser(CauseOfInterruption.java:86)
at jenkins.model.CauseOfInterruption$UserInterruption.print(CauseOfInterruption.java:95)
at hudson.model.Executor.recordCauseOfInterruption(Executor.java:276)
at hudson.model.Run.execute(Run.java:1755)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:410)
ERROR: Post-build steps failed
java.lang.NullPointerException
at hudson.model.JobProperty.getDescriptor(JobProperty.java:105)
at hudson.model.JobProperty.getDescriptor(JobProperty.java:79)
at hudson.model.Descriptor.toMap(Descriptor.java:973)
at hudson.model.Job.getProperties(Job.java:558)
at hudson.model.Build$BuildExecution.cleanUp(Build.java:196)
at hudson.model.Run.execute(Run.java:1785)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:410)