Symptoms: ======== The exception stack like the following appears when exporting applications: <----------- 2011 Nov 24 11:21:38:612 GMT +0 Info [com.tibco.administrator.command.tool.ApplicationManagement] AESDKJ-0000 [main] [ UK_MOTIFPROD/Motif_DR/DR_Validation-1 ]: Failed in exporting configuration file /tmp/sk_motif/UK_MOTIFPROD/Motif_DR/DR_Validation-1.xml 2011 Nov 24 11:21:38:685 GMT +0 Error [com.tibco.administrator.command.tool.ApplicationManagement] AESDKJ-0000 [main] java.lang.NullPointerException at java.lang.String.<init>(String.java:177) at com.tibco.administrator.command.data.application.BaseRemoteRepoInstance.<init>(BaseRemoteRepoInstance.java:45) at com.tibco.administrator.command.data.application.RVRepoInstance.<init>(RVRepoInstance.java:42) at com.tibco.administrator.command.data.application.RepoInstances.<init>(RepoInstances.java:40) at com.tibco.administrator.command.data.application.Application.s(Application.java:225) at com.tibco.administrator.command.data.application.Application.export(Application.java:1046) at com.tibco.administrator.command.tool.ApplicationManagement.a(ApplicationManagement.java:649) at com.tibco.administrator.command.tool.ApplicationManagement.action(ApplicationManagement.java:417) at com.tibco.administrator.command.tool.ApplicationManagement.char(ApplicationManagement.java:2215) at com.tibco.administrator.command.tool.ApplicationManagement.a(ApplicationManagement.java:2102) at com.tibco.administrator.command.tool.ApplicationManagement.g(ApplicationManagement.java:2060) at com.tibco.administrator.command.tool.ApplicationManagement.task(ApplicationManagement.java:223) at com.tibco.administrator.command.tool.ApplicationManagement.main(ApplicationManagement.java:156) ----->
Cause: ===== The application's repository data in the domain was somehow corrupted or incomplete.
Resolution: ========== Log into the Admin GUI, open the configuration dialog of the problematic application, upload a new version of the .ear file and deploy it via the Administrator GUI. This will fix the NullPointerException which occured while exporting.
Issue/Introduction
NullPointerException is seen when exporting applications with AppManage.