cdb. 为null 或者 getRs()  为null 

解决方案 »

  1.   

    cdb
    cdb.getRs() 这两个有一个是 NULL
      

  2.   

    page /test/selectlastid.jsp at line 36
    cdb.getRs().last();
    java.lang.NullPointerException
    cdb 或 cbd.getRs() 为空,判空后再使用
      

  3.   

    cdb.getRs().last();
    这句
    或者cdb为null,或者cdb.getRs()为null,你自己判断下!
      

  4.   

    空指针啊
    其他代码都没有,肯定就是cdb为null,或者cdb.getRs()为null嘛