ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 56849] NPE in ClasspathUtils
Date Thu, 14 Aug 2014 08:46:17 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=56849

--- Comment #1 from Kim <mjkim0324@hotmail.com> ---
    private ClasspathUtils.Delegate getClassPathDelegate() {
        if (cpDelegate == null) {
            cpDelegate = ClasspathUtils.getDelegate(projectComponent);
        }
        return cpDelegate;
    }

In ScriptRunnerHelper.getClassPathDelegate(), ProjectComponent is passed to
create a Delegate object, but there is no checker that validates the status of
ProjectComponent before passing. I think there should be a null checker for
projectComponent like the null checker for cpDelegate.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message