[Swift-devel] [Bug 184] New: missing <config> element in sites.xml causes extremely useless error message

bugzilla-daemon at mcs.anl.gov bugzilla-daemon at mcs.anl.gov
Thu Mar 19 10:18:59 CDT 2009


https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=184

           Summary: missing <config> element in sites.xml causes extremely
                    useless error message
           Product: Swift
           Version: unspecified
          Platform: PC
        OS/Version: Mac OS
            Status: NEW
          Severity: normal
          Priority: P2
         Component: General
        AssignedTo: benc at hawaga.org.uk
        ReportedBy: benc at hawaga.org.uk
                CC: swift-devel at ci.uchicago.edu


Omitting <config> and using <pool> at the top level in sites.xml causes the
following error message on the console:

$ swift examples/first.swift 
Ex098
java.lang.NullPointerException
    at
org.globus.cog.abstraction.impl.common.task.ServiceImpl.toString(ServiceImpl.java:156)
    at java.lang.String.valueOf(String.java:2615)
    at java.lang.StringBuffer.append(StringBuffer.java:220)
    at
org.globus.cog.karajan.workflow.nodes.grid.GridNode.function(GridNode.java:31)
    at
org.globus.cog.karajan.workflow.nodes.functions.AbstractFunction.post(AbstractFunction.java:45)
    at
org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments.childCompleted(AbstractSequentialWithArguments.java:192)
    at
org.globus.cog.karajan.workflow.nodes.Sequential.notificationEvent(Sequential.java:33)
    at org.globus.cog.karajan.workflow.nodes.FlowNode.event(FlowNode.java:332)
[further stack trace omitted]

This could be made much more helpful (at least, it should indicate a problem
with sites.xml).

-- 
Configure bugmail: https://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are watching the assignee of the bug.
You are watching the reporter.



More information about the Swift-devel mailing list