java.lang.NullPointerException at java.lang.String.contains(Unknown Source)
for(String data:datas){ if(data.contains(keyword)){ list.add(data); } java.lang.NullPointerException at java.lang.String.contains(Unknown Source) at ajaxtest.SearchServlet.getData(SearchServlet.java:51) 这个怎么解决,大家帮个忙,谢谢