Error while applying 11.2.0.2 upgrade patch

  • From: Janine Ohmer <janine@xxxxxxxxxx>
  • To: oracle-l L <oracle-l@xxxxxxxxxxxxx>
  • Date: Sat, 25 Jun 2011 17:08:31 -0700

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

Today I tried to apply patch  p10098816, which takes 11.2.0.1 to 11.2.0.2, 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:

/u01/app/oracle/cfgtoollogs/netca/trace_OraDb11g_home2-1106256PM0913.log

[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)
        at oracle.net.ca.NetCA.<init>(NetCA.java:443)
        at oracle.net.ca.NetCA.main(NetCA.java:429)

/u01/app/oraInventory/logs/installActions2011-06-25_05-43-36PM.log

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>(WizardExt.java:77)
WARNING:        at 
oracle.sysman.assistants.util.wizard.WizardObject.<init>(WizardObject.java:64)
WARNING:        at 
oracle.sysman.assistants.dbma.ui.DBMAWizard.<init>(DBMAWizard.java:211)
WARNING:        at 
oracle.sysman.assistants.dbma.ui.UICompManager.<init>(UICompManager.java:160)
WARNING:        at 
oracle.sysman.assistants.dbma.Dbma.getCompManager(Dbma.java:195)
WARNING:        at oracle.sysman.assistants.dbma.Dbma.execute(Dbma.java:137)
WARNING:        at oracle.sysman.assistants.dbma.Dbma.statusMain(Dbma.java:237)
WARNING:        at oracle.sysman.assistants.dbma.Dbma.main(Dbma.java:221)

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

Suggestions?

Thanks!

janine

--
//www.freelists.org/webpage/oracle-l


Other related posts: