http://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=1417 Summary: NullPointer exception when an undefined site is requested Product: Swift Version: 0.96 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: General AssignedTo: [email protected] ReportedBy: [email protected] If an site with no corresponding site definition in the config is requested, Swift throws a NullPointerException. It would be nice to have an error message saying the site requested is not defined. I tried this on Rev 6274, 6280 and 6307(latest). The same bug pops up if I specify the sites on the command-line or in the swift.conf sites attribute. [yadunand@midway001 part05]$ swift -config xsede.conf -sites badsite p5.swift 2015-04-01 16:17:56,633+0000 DEBUG Loader Detailed exception: java.lang.NullPointerException at org.globus.cog.karajan.util.ContactSet.addContact(ContactSet.java:43) at org.globus.swift.catalog.site.SwiftContactSet.addContact(SwiftContactSet.java:57) at org.griphyn.vdl.util.SwiftConfig.build(SwiftConfig.java:420) at org.griphyn.vdl.util.SwiftConfig.load(SwiftConfig.java:256) at org.griphyn.vdl.karajan.Loader.loadConfig(Loader.java:598) at org.griphyn.vdl.karajan.Loader.main(Loader.java:148) Could not start execution: java.lang.NullPointerException -- Configure bugmail: http://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.