@@ -0,0 +1,738 @@
+package com.alibaba.json.bvt.issue_1200;%0A%0Aimport com.alibaba.fastjson.JSON;%0Aimport com.alibaba.fastjson.JSONException;%0Aimport junit.framework.TestCase;%0A%0A/**%0A * Created by wenshao on 18/06/2017.%0A */%0Apublic class Issue1272 extends TestCase %7B%0A    public void test_for_issue() throws Exception %7B%0A        Exception exception = null;%0A%0A        try %7B%0A            JSON.toJSONString(new Point());%0A        %7Dcatch (JSONException ex) %7B%0A            exception = ex;%0A        %7D%0A        assertNotNull(exception);%0A        assertEquals(NullPointerException.class, exception.getCause().getCause().getClass());%0A    %7D%0A%0A    public static class Point %7B%0A%0A        private Long userId;%0A%0A        public long getUserId() %7B%0A            return userId;%0A        %7D%0A    %7D%0A%7D%0A

add testcase for issue #1272