#fixed code
                                @Test
    public void testGet() {
        assertEquals(100, genericTrie.get("杨尚川").intValue());
        assertEquals(99, genericTrie.get("杨尚喜").intValue());
        assertEquals(98, genericTrie.get("杨尚丽").intValue());
        assertEquals(1, genericTrie.get("中华人民共和国").intValue());
        assertEquals(null, genericTrie.get("杨"));
        assertEquals(null, genericTrie.get("杨尚"));
    }
#vulnerable code 
                                @Test
    public void testGet() {
        Assert.assertEquals(100, trie.get("杨尚川"), 0);
        Assert.assertEquals(99, trie.get("杨尚喜"), 0);
        Assert.assertEquals(98, trie.get("杨尚丽"), 0);
        Assert.assertEquals(1, trie.get("中华人民共和国"), 0);
        Assert.assertEquals(null, trie.get("杨"));
        Assert.assertEquals(null, trie.get("杨尚"));
    } 
                            #location 3 
                            #vulnerability type NULL_DEREFERENCE