NullPointerException In Weblogic RAClassFinder (Doc ID 1668853.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle WebLogic Server - Version 10.3 and later
Information in this document applies to any platform.

Symptoms

In this case, adapters (RAR files) are deployed in a nostage mode.

Sometimes, when the machine, that AdminServer is running on, is restarted, the applications, deployed on the managed server, would throw the below NullPointerException:

<Mar 26, 2014 6:42:11 AM CET> <Error> <route.routesvc.Cache> <pl-2> <traffic-2> <[ACTIVE] ExecuteThread: '189' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <BEA1-0455FA3C8F3C8571DA7A> <> <1395812531162> <BEA-000000> <Getting new value of routing rule failed
java.lang.NullPointerException
        at weblogic.connector.deploy.RAClassFinder.indexJar(RAClassFinder.java:188)
        at weblogic.connector.deploy.RAClassFinder.findClassInJar(RAClassFinder.java:169)
        at weblogic.connector.deploy.RAClassFinder.getSources(RAClassFinder.java:284)
        at weblogic.utils.classloaders.MultiClassFinder.getSources(MultiClassFinder.java:77)
        at weblogic.utils.classloaders.CodeGenClassFinder.getSources(CodeGenClassFinder.java:41)
        at weblogic.utils.classloaders.GenericClassLoader.findResources(GenericClassLoader.java:226)
        at java.lang.ClassLoader.getResources(ClassLoader.java:1040)
        at weblogic.utils.classloaders.FilteringClassLoader.getResources(FilteringClassLoader.java:197)
        at java.lang.ClassLoader.getResources(ClassLoader.java:1036)
        at java.lang.ClassLoader.getResources(ClassLoader.java:1036)
        at sun.misc.Service$LazyIterator.hasNext(Service.java:249)
        at javax.script.ScriptEngineManager.initEngines(ScriptEngineManager.java:107)
        at javax.script.ScriptEngineManager.access$000(ScriptEngineManager.java:37)
        at javax.script.ScriptEngineManager$1.run(ScriptEngineManager.java:80)
        at javax.script.ScriptEngineManager.init(ScriptEngineManager.java:78)
        at javax.script.ScriptEngineManager.<init>(ScriptEngineManager.java:51)
        at com.ericsson.jee.ngin.example.route.routerules.JSRouteRules.<init>(JSRouteRules.java:75)
        ...........

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms