#fixed code
                                public AsteriskChannel originateToExtension(String channel, String context, String exten, int priority, long timeout) throws ManagerCommunicationException, NoSuchChannelException
    {
        return originateToExtension(channel, context, exten, priority, timeout, null, null);
    }
#vulnerable code 
                                public AsteriskChannel originateToExtension(String channel, String context, String exten, int priority, long timeout) throws ManagerCommunicationException
    {
        return originateToExtension(channel, context, exten, priority, timeout, null, null);
    } 
                            #location 3 
                            #vulnerability type NULL_DEREFERENCE