Description:
While building project libraries, null pointer exception is thrown.
Symptoms:
[tibco@tgs-3uk-centos64-2 bin]$ ./buildlibrary -x -lib /ProjectLibraries/MSF_CDM -o ./MSF_CDM.projlib -p /opt/jenkins/TRUNK/PROJLIBS/BW/MSF_CDM
Invoke,getContents()...........
java.lang.NullPointerException
at com.tibco.ae.tools.palettes.projectlibrarybuilder.LibraryBuilder.saveResources(LibraryBuilder.java:136)
at com.tibco.ae.tools.palettes.projectlibrarybuilder.LibraryBuilder.go(LibraryBuilder.java:97)
at com.tibco.ae.tools.palettes.projectlibrarybuilder.ProjectLibraryBuilderResource.buildLibrary(ProjectLibraryBuilderResource.java:301)
at com.tibco.ae.tools.palettes.projectlibrarybuilder.BuildLibrary.execute(BuildLibrary.java:157)
at com.tibco.ae.tools.palettes.projectlibrarybuilder.BuildLibrary.main(BuildLibrary.java:48)
Cause: At the code level, it is not possible to validate all external references before running the utility. During runtime, these failed references are thrown as null pointer exceptions.