It's all about Weblogic..!!!

January 13, 2011

java.lang.NullPointerException while installing WLS 10.3.3

Filed under: Core Issues — streethawkz @ 6:27 am

Stack Trace :

2010-12-23 10:12:26,539 DEBUG [WizardController] com.bea.plateng.wizard.WizardController – WizardController waiting…2010-12-23 10:12:26,540 DEBUG [stringEval] com.bea.plateng.wizard.silent.tasks.StringEvaluationTask – Invoking Method: public boolean com.bea.plateng.wizard.silent.tasks.StringEvaluationTask.isNull(java.lang.String,java.lang.String) with parameters: (null, null)2010-12-23 10:12:26,540 DEBUG [WizardController] com.bea.plateng.wizard.TargetWalker – Retrieving Next Task2010-12-23 10:12:26,540 DEBUG [WizardController] com.bea.plateng.wizard.TargetWalker – Configuring task: set –> com.bea.plateng.wizard.silent.tasks.StoreStringTask2010-12-23 10:12:26,540 DEBUG [WizardController] com.bea.plateng.wizard.WizardController – WizardController waiting…2010-12-23 10:12:26,541 DEBUG [WizardController] com.bea.plateng.wizard.TargetWalker – Retrieving Next Task2010-12-23 10:12:26,549 DEBUG [WizardController] com.bea.plateng.wizard.TargetWalker – Configuring task: productDirChooser_gui –> com.bea.plateng.wizard.installer.gui.tasks.ProductDirChooserTask2010-12-23 10:12:26,651 DEBUG [WizardController] com.bea.plateng.wizard.GUIContext – Waiting for task panel update…2010-12-23 10:12:26,651 DEBUG [WizardController] com.bea.plateng.wizard.GUIContext – Task panel updated.2010-12-23 10:12:26,651 DEBUG [WizardController] com.bea.plateng.wizard.WizardController – WizardController waiting…2010-12-23 10:12:28,289 DEBUG [WizardController] com.bea.plateng.wizard.installer.helpers.DiskSpaceHelper – check available space for Product Dir2010-12-23 10:12:28,293 ERROR [WizardController] com.bea.plateng.wizard.WizardController – Uncaught Exceptionjava.lang.NullPointerException at java.io.File.<init>(File.java:234) 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.gui.tasks.ProductDirChooserTask.okNext(ProductDirChooserTask.java:143) at com.bea.plateng.wizard.WizardController.nextTask(WizardController.java:642) at com.bea.plateng.wizard.WizardController.run(WizardController.java:519) at java.lang.Thread.run(Thread.java:735)2010-12-23 10:12:29,832 DEBUG [WizardController] com.bea.plateng.common.cleanup.CleanupTaskManager – Preparing cleanup task: com.bea.plateng.wizard.installer.cleanup.tasks.CleanupTempTask2010-12-23 10:12:29,832 DEBUG [WizardController] com.bea.plateng.common.cleanup.tasks.AbstractCleanupTask – com.bea.plateng.wizard.installer.cleanup.tasks.CleanupTempTask.doBefore()2010-12-23 10:12:29,832 DEBUG [WizardController] com.bea.plateng.wizard.installer.cleanup.tasks.CleanupTempTask – Directory not set(“” after substitute).2010-12-23 10:12:29,833 DEBUG [WizardController] com.bea.plateng.wizard.WizardController – Terminating.

Solution / Workaround :

– Verified the permissions.

– Checked the disk space but still getting the same error :  ” com.bea.plateng.wizard.installer.helpers.DiskSpaceHelper – check available space for Product Dir2010-12-23 10:12:28,293 ”
Note :

When you download Weblogic Installer from ” edelivery.oracle.com ” or ” http://www.oracle.com/technetwork/middleware/ias/downloads/wls-main-097127.html ”  if you find “wls1033_generic.zip ” file after unzipping ” V21016-01.zip ”
Then please rename the file to “wls1033_generic.jar ” and run the following command :

java -jar wls1033_generic.jar

DONOT unjar the file further. Weblogic installer jar files are executable jar files, so you just need to run then using java -jar command.

Advertisements

2 Comments »

  1. Amazing! This worked for us, why isn’t this better documented?

    Comment by anon — July 28, 2011 @ 4:16 am

  2. Thanks a ton !! YOU saved my day !! Just this one line could have added as part of the download link.

    Comment by Srini — October 21, 2011 @ 4:38 pm


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: