Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

While Running ADF application, facing "Automatically initializing a DefaultContext for getCurrent()..".

User_7O0WQMar 6 2025 — edited Mar 6 2025

We are using Jdev Studio Edition Version 12.2.1.2.0

We have added the custom UI to RMS base using seeded customization. When we access this custom UI on RMS app, the following warning gets printed in logs:

"Automatically initializing a DefaultContext for getCurrent. Caller should ensure that a DefaultContext is proper for this use. Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly. This message may be avoided by performing init ADFContext before using getCurrent()"

Can anyone please share the inputs on how can we get rid of this warning. Thanks!!

Comments