DEV Community

David Balažic
David Balažic

Posted on

Intermittent NoSuchMethodError in WebLogic application

Hi!

I'm new to dev.to, hope this is the right procedure:

We have a web application running in WebLogic 10.3.5.0 (JDK 1.6.0) for many years now.

Two years ago and again this week an intermittent NoSuchMethodError exception happens on a certain code path (reproducibly, by triggering it thru the web GUI ). The error message with class names changed is:

java.lang.NoSuchMethodError: org/example/foo/bar/ApplicatonClass1.setSomeField(Ljava/lang/Long;)V]

That class is part of our app, and had that method for more than ten years. The issue happens only on one node of the cluster. After restarting that node, the error disappears and everything works fine.

In the case two years ago another method of another class was affected.

It seems pretty "random" and bizarre.

What could cause this? A redeployment gone wrong? Where to look?

Top comments (0)