My Oracle Support Banner

Invoking ServletContext.getRealPath() in archived web applications throws NullPointerException (Doc ID 858783.1)

Last updated on APRIL 13, 2018

Applies to:

Oracle WebLogic Server - Version 10.3 and later
Information in this document applies to any platform.
***Checked for relevance on 14-Jun-2011***


Symptoms

When ServletContext.getRealPath() is called from within an archive web application, java.lang.NullPointerException is thrown.

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
References

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