Apr 222012
 

While upgrading weblogic server from one version to another and if you encounter below error

2011-12-02 15:41:30,827 ERROR WizardController com.bea.plateng.wizard.WizardController - Uncaught Exception
java.lang.NullPointerException
at java.io.File.<init>(File.java:233)
at com.bea.plateng.wizard.installer.diskspace.TempDir.<init>(TempDir.java:55)
at com.bea.plateng.wizard.installer.diskspace.TempDir.getInstance(TempDir.java:41)
at com.bea.plateng.wizard.installer.helpers.DiskSpaceHelper.checkDiscSpaceForProductInstallation(DiskSpaceHelper.java:255)
at com.bea.plateng.wizard.installer.helpers.ProductDirHelper.setStoreKeysAndValidateDiskSpace(ProductDirHelper.java:476)
at com.bea.plateng.wizard.installer.helpers.ProductDirHelper.validateAndSet(ProductDirHelper.java:278)
at com.bea.plateng.wizard.installer.helpers.ProductDirHelper.<init>(ProductDirHelper.java:126)
at com.bea.plateng.wizard.installer.console.tasks.ProductDirChooserConsoleTask.doBefore(ProductDirChooserConsoleTask.java:49)
at com.bea.plateng.wizard.WizardController.nextTask(WizardController.java:672)
at com.bea.plateng.wizard.WizardController.run(WizardController.java:519)
at java.lang.Thread.run(Thread.java:736)

 

Above error usually seen when the upgrade installer downloaded is not for the specific system or platform or if you are using the upgrade jar file and unjaring it before starting upgrade.

Ex:

When you download upgrade installer for WLS 10.3.4 say “wls1034_upgrade_generic.jar “.
This jar is an executable jar file and we need not unjar it further. ( just run java –jar wls1034_upgrade_generic.jar ).

If you unjar “wls1034_upgrade_generic.jar “ and then tries to run the jar file inside it you get the error message like above.

Leave a Reply