This is happening on production Java17 EE8.
Weird thing starts happening for 3 days in production environment.
My app has frontend instances for web request and backend instances for tasks.
Frontend app may dispatch tasks to the backend like:
TaskOptions opt =
TaskOptions.Builder.withUrl("/_a/exportTask")
.param("ids", StringUtils.join(request.getForumIds(), "-"))
.param("status", status)
.param("mindt", mindt != null ? mindt : "")
.param("maxdt", maxdt != null ? maxdt : "")
.param("to", user.getUserEmail())
.header("Host", AppConst.backendHostname());
QueueFactory.getQueue(AppConst.NORETRY_QUEUE).add(opt);
Note that this operation happens where Namespace is set.
It has worked fine for long times but the error "RuntimeException: namespace is not set. " starts happening at the task execution since 3 days ago. It seems to occur 100% so far.
It worked fine before 3 days in the same version.
Please let me know if you need more information.
Thanks
Mitsu