Friday, August 26, 2011

ADF : Ridiculous java.lang.ClassNotFoundException oracle.jbo.server.nullImpl

I added a EO that had a fk assoc to another entity I wasnt working with and suddenly (after a bit of refactoring) when I ran my app I kept getting: java.lang.ClassNotFoundException: oracle.jbo.server.nullImpl.


So I searched through my entities for nullImpl and found

<AccessorAttribute
    Name="AccountToDivisionFkAssoc"
    Association="AccountToDivisionFkAssoc"
    AssociationEnd="AccountToDivisionFkAssoc.sourceEnd"
    AssociationOtherEnd="AccountToDivisionFkAssoc.destEnd"
    Type="nullImpl"
    IsUpdateable="true"/>


I changed this back to oracle.jbo.server.EntityImpl and all was well
<AccessorAttribute
    Name="AccountToDivisionFkAssoc"
    Association="AccountToDivisionFkAssoc"
    AssociationEnd="AccountToDivisionFkAssoc.sourceEnd"
    AssociationOtherEnd="AccountToDivisionFkAssoc.destEnd"
    Type="oracle.jbo.server.EntityImpl"
    IsUpdateable="true"/>

1 comment: