My Oracle Support Banner

JVM Restarts with NullPointerException in com.evermind.server.ApplicationServer.getInstalledLibraries (Doc ID 412609.1)

Last updated on OCTOBER 15, 2018

Applies to:

Oracle Containers for J2EE - Version: 10.1.3
This problem can occur on any platform.

Symptoms

A web application is running on Oracle Application Server 10gR3 (10.1.3).

The OC4J instance is configured to run with two jvm (numprocs=2).

From time to time one of the JVM restarts without apparent reason and reports NullPointerException when loading shared-libraries configuration.

java.lang.NullPointerException
at oracle.oc4j.util.FileUtils.listOnly(FileUtils.java:52)
at oracle.oc4j.util.FileUtils.listDirectoriesOnly(FileUtils.java:44)
at com.evermind.server.ApplicationServer.getInstalledLibraries(ApplicationServer.java:3311)
at oracle.oc4j.admin.management.mbeans.J2EEServer.getinstalledLibraries(J2EEServer.java:1148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.getAttribute(DefaultModelMBeanImpl.j
ava:420)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.getAttribute(DynamicMetaDataImpl.java:96)
at com.sun.jmx.mbeanserver.MetaDataImpl.getAttribute(MetaDataImpl.java:181)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.jav
a:638)
at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:659)
at
....
.

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
  Symptoms
  Cause
  Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.