Keep periodically getting this message, with redis...
# lucee
s
Keep periodically getting this message, with redis, with jsoup, with other java handlers in Lucee 6.1:
No matching method for org.jsoup.Jsoup.clean(string, string, org.jsoup.safety.Safelist) found. there are similar methods with the same name, but diferent arguments: clean(string, string, org.jsoup.safety.Safelist);
Basically, it magically decides at some indeterminate point that the function it's been calling no longer exists--then reports "different arguments" which are the same arguments. This has broken production a lot lately.
See also:
No matching method for redis.clients.jedis.Jedis.set(string, string, redis.clients.jedis.params.SetParams) found. there are similar methods with the same name, but diferent arguments: set(string, string, redis.clients.jedis.params.SetParams); set(binary, binary, redis.clients.jedis.params.SetParams);
Hmm, appears to be an issue running in Single mode. I converted us to Single mode shortly after a Lucee 6.0 upgrade.... does this mean I'll have to go back to multi to fix it? https://dev.lucee.org/t/6-1-0-243-java-issues-closure-compiler/14161
I'm reverting to Multi mode, and we'll see if this issue recurs. But since I see stuff on the roadmap about forcing everything into Single mode in the future, might want to look into this issue, specifically, in single mode contexts.
Note that in the forum message above, it says this defect is being added, but the defect is about the scheduler, actually, not about this issue. There does seem to be a weird "ghosting" issue occurring with java classes in single mode, separate and apart from the scheduler issues
Since I changed our prod servers to Multi mode, this issue hasn't come back yet
I don't see a fix for this issue pending anywhere. I think it's being conflated as a scheduled tasks issue, when it's not. It's a separate issue. https://dev.lucee.org/t/6-1-0-243-java-issues-closure-compiler/14161/5?u=sgrigson
a
Shawn, I can't guarantee it's connected, but I opened https://luceeserver.atlassian.net/browse/LDEV-5111 over similar-looking behavior.
s
Yeah, same issue. I switched to "Single" mode and apparently that's the issue, because since I've gone back to "Multi" it's stopped
a
I tried that switch and it didn't improve things for me, sadly, so I can't say it's the same issue.