java.lang.NullPointerException

如下部分代码,后面是参数的值

    np = (JSONArray.parseObject(json, NotificationParameter.class));
    threadInfo.put("projectId", np.getProjectId());
    monitor.getThreadCollection().put(Thread.currentThread().getName(), threadInfo);
    InputStream is;
    String fillTableName = np.getFillTables();            //fillTableName:   "fillTablesZGPJFS"
    FillTables ft = fillTablesFactory.getFillTables(np.getFillTables());      //ft:     "com.sinosoft.ops.generate.declaration.service.service.kjzgpj.FillTablesZGPJFS@22ac1a0d"
      is = ft.getFile(np, np.getType());    //  is:   "null"    np:NotificationParameter{projectId='7ef10c3407274b5ba5fe68846f0931fc', 
  //  suffix='.pdf', regenerate='true', type=0, waterMarkFalg='0', projectPath='G:\JAVACase\ops-technologyRatingAgency/', filetype=null}
//np.getType : 0

       

img


然后is的值居然为空 (null),这是为什么?请各位大虾指教。
getFile的实现

img

你这,目前的东西来看是判断不了什么问题的,

你应该把你getFile的具体实现给出,才能判断问题

所以你应该给出实现的具体代码