bash-3.2$ ./bsu.sh -install -patch_download_dir=/prod/oracle/111/utils/bsu/cache_dir/ -patchlist=T5F1 -prod_dir=/prod/oracle/111/wlserver_10.3
Exception in thread "Thread-0" java.lang.NullPointerException
at com.bea.plateng.patch.PatchTargetHelper.loadPatchProfiles(PatchTargetHelper.java:447)
at com.bea.plateng.patch.PatchTarget.<init>(PatchTarget.java:268)
at com.bea.plateng.patch.PatchTargetFactory.create(PatchTargetFactory.java:30)
at com.bea.plateng.patch.ProductAliasTarget.constructPatchTargetList(ProductAliasTarget.java:88)
at com.bea.plateng.patch.ProductAliasTarget.<init>(ProductAliasTarget.java:46)
at com.bea.plateng.patch.ProductAliasTargetHelper.getProdAliasTargetList(ProductAliasTargetHelper.java:55) at com.bea.plateng.patch.ProductAliasTargetHelper.getAllHomeToProdAliasesTargetMap(ProductAliasTargetHelper.java:32) at com.bea.plateng.patch.ProductAliasTargetHelper.checkProfilesInProductAliases(ProductAliasTargetHelper.java:133) at com.bea.plateng.patch.Patch$1.run(Patch.java:376)
at java.lang.Thread.run(Thread.java:662)
null
I thought this is related to previous error posted in my blog, i.e.patch_backup.xml file having wrong MW home.But this one was different.
The directory /prod/oracle/111/patch_ocp371/ had wrong owner hence we were getting issues.After changing to correct owner issue was fixed.Make sure the directories inside it also have correct owner and permissions..(/prod/oracle/111/patch_ocp371/profiles/default)
Exception in thread "Thread-0" java.lang.NullPointerException
at com.bea.plateng.patch.PatchTargetHelper.loadPatchProfiles(PatchTargetHelper.java:447)
at com.bea.plateng.patch.PatchTarget.<init>(PatchTarget.java:268)
at com.bea.plateng.patch.PatchTargetFactory.create(PatchTargetFactory.java:30)
at com.bea.plateng.patch.ProductAliasTarget.constructPatchTargetList(ProductAliasTarget.java:88)
at com.bea.plateng.patch.ProductAliasTarget.<init>(ProductAliasTarget.java:46)
at com.bea.plateng.patch.ProductAliasTargetHelper.getProdAliasTargetList(ProductAliasTargetHelper.java:55) at com.bea.plateng.patch.ProductAliasTargetHelper.getAllHomeToProdAliasesTargetMap(ProductAliasTargetHelper.java:32) at com.bea.plateng.patch.ProductAliasTargetHelper.checkProfilesInProductAliases(ProductAliasTargetHelper.java:133) at com.bea.plateng.patch.Patch$1.run(Patch.java:376)
at java.lang.Thread.run(Thread.java:662)
null
I thought this is related to previous error posted in my blog, i.e.patch_backup.xml file having wrong MW home.But this one was different.
The directory /prod/oracle/111/patch_ocp371/ had wrong owner hence we were getting issues.After changing to correct owner issue was fixed.Make sure the directories inside it also have correct owner and permissions..(/prod/oracle/111/patch_ocp371/profiles/default)
Thanks for the suggestion it worked @rachana gupta
ReplyDelete