0 Replies Latest reply on Apr 11, 2002 9:11 PM by legolas71

    java.lang.IllegalArgumentException : Load Failed

    legolas71 Newbie

      Hi all ,
      I am using jboss2.1 , jdk1.3 and Postgresql7.0.1.
      I have code below :

      Staff staff = staffhome.findByPrimaryKey(new StaffPK(staffid));

      When i execute the code , it gave me the error message :
      TRANSACTION ROLLBACK EXCEPTION: Load failed : nested exception is java.lang.IllegalArgumentException: object is not an instance of declaring class.......

      I have searching the forum ...but found no any solution.
      It also gave error message in jBoss version 2.2
      Anybody have any ideas ???