1 Reply Latest reply on Aug 13, 2003 5:45 PM by akirdat

    getOldCldNum(<generated>) ERROR

    akirdat

      We get this error when we switched to clustering:

      2003-08-11 08:11:33,960 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackException, causedBy:
      java.lang.NullPointerException
      at com.mydomain.ejb.MyFooBean$Proxy.getOldCldNum()


      Anybody have any ideas, as to why this must be occuring?

        • 1. Re: getOldCldNum(<generated>) ERROR
          akirdat

          Sorry folks!
          I figured it out!
          It is caused because we have a column in our DB which is Number(10) and nullable. It is declared as an int in our EntityBean and the value for a particular row for the column is null which gives the NullPointerException becuase a primitive type cannot be assigned int (i.e int i = null; is not possible).