Error while applying upgrade patch

From: Janine Ohmer <>
Date: Sat, 25 Jun 2011 17:08:31 -0700
Message-Id: <>

System: CentoOS 5.3 (I think), 64-bit
Oracle: EE

Today I tried to apply patch p10098816, which takes to, to one of my servers. I applied it a few months ago to an essentially identical system with no problems, but this time I was not so lucky. First the Net Configuration Assistant failed, then the Database Upgrade Assistant also failed.

I let the upgrade finish and attempted to run dbua manually, but was unsuccessful. With /etc/oratab still configured to use dbhome_1, it says there is nothing to upgrade. If I manually switch it to dbhome_2, it complains about not having an spfile to start from. Which is true enough; the only thing in dbhome_2/dbs is init.ora, so clearly the upgrade did not complete properly.

The errors in the various error logs are:


[main] [ 2011-06-25 18:09:14.880 EDT ] [ConfigureProfile.setProfileParam:136] Setting ADR_BASE: /u01/app/oracle java.lang.NullPointerException

        at oracle.ewt.lwAWT.BufferedApplet.<init>(Unknown Source)


INFO: Starting 'Oracle Database Upgrade Assistant'

WARNING: Exception in thread "main" java.lang.NullPointerException
WARNING:        at oracle.ewt.lwAWT.LWComponent.updateUI(Unknown Source)
WARNING:        at oracle.ewt.lwAWT.LWComponent.updateUI(Unknown Source)
WARNING:        at oracle.ewt.lwAWT.LWComponent.updateUI(Unknown Source)
WARNING:        at oracle.ewt.lwAWT.LWComponent.<init>(Unknown Source)
WARNING:        at oracle.ewt.wizard.BaseWizard.<init>(Unknown Source)
WARNING:        at oracle.ewt.wizard.Wizard.<init>(Unknown Source)
WARNING:        at oracle.sysman.assistants.util.wizard.WizardExt.<init>(
WARNING:        at oracle.sysman.assistants.util.wizard.WizardObject.<init>(
WARNING:        at oracle.sysman.assistants.dbma.ui.DBMAWizard.<init>(
WARNING:        at oracle.sysman.assistants.dbma.ui.UICompManager.<init>(
WARNING:        at oracle.sysman.assistants.dbma.Dbma.getCompManager(
WARNING:        at oracle.sysman.assistants.dbma.Dbma.execute(
WARNING:        at oracle.sysman.assistants.dbma.Dbma.statusMain(
WARNING:        at oracle.sysman.assistants.dbma.Dbma.main(

I could revert back to backups, but as far as I can tell it's running fine under the original version out of dbhome_1, so I'm leaving the evidence preserved. :)

I have *no* idea where to begin debugging this. The error is fairly meaningless to me, and Google has been no help at all.

To answer the obvious question, both systems (the one where it worked and the one where it didn't) are running exactly the same version of java, so I think we can rule that out:

-bash-3.2$ yum list | grep java | grep installed

gcc-java.x86_64                            4.1.2-48.el5                installed
sun-javadb-client.i386                     10.3.1-4.1                  installed
sun-javadb-common.i386                     10.3.1-4.1                  installed
sun-javadb-core.i386                       10.3.1-4.1                  installed
sun-javadb-demo.i386                       10.3.1-4.1                  installed
sun-javadb-docs.i386                       10.3.1-4.1                  installed
sun-javadb-javadoc.i386                    10.3.1-4.1                  installed




Received on Sat Jun 25 2011 - 19:08:31 CDT

Original text of this message