Knowledge Base : Java Null Pointer Exception in Oracle Java Tools

If you encounter Oracle Tools Java Null Pointer Exeptions like:

$ ./dbua
Exception in thread "main" java.lang.NullPointerException
at oracle.ewt.lwAWT.LWComponent.updateUI(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.updateUI(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.updateUI(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.<init>(Unknown Source)
at oracle.ewt.wizard.BaseWizard.<init>(Unknown Source)
at oracle.ewt.wizard.Wizard.<init>(Unknown Source)
at oracle.sysman.assistants.util.wizard.WizardExt.<init>(WizardExt.java:77)
at oracle.sysman.assistants.util.wizard.WizardObject.<init>(WizardObject.java:64)
at oracle.sysman.assistants.dbma.ui.DBMAWizard.<init>(DBMAWizard.java:211)
at oracle.sysman.assistants.dbma.ui.UICompManager.<init>(UICompManager.java:160)
at oracle.sysman.assistants.dbma.Dbma.getCompManager(Dbma.java:195)
at oracle.sysman.assistants.dbma.Dbma.execute(Dbma.java:137)
at oracle.sysman.assistants.dbma.Dbma.statusMain(Dbma.java:237)
at oracle.sysman.assistants.dbma.Dbma.main(Dbma.java:221)

A Solution might be to set ulimit accordingly.

oracle # ulimit -n 65536