Hi, I try to developer one application with netbeans
platform (RCP) with eclipselink, but sometimes I got the following
error:
     java.lang.IllegalArgumentException: The type [null] is
not the expected [EntityType] for the key class [class
br.com.thinkit.db.Ativos].
            at
org.eclipse.persistence.internal.jpa.metamodel.MetamodelImpl.entity(MetamodelImpl.java:152)
           
at
br.com.thinkit.ConsultaAtivoImpl.<init>(ConsultaAtivoImpl.java:50)
           
    at br.com.thinkit.Installer.restored(Installer.java:38)
            at
org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:426)
            at
org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:366)
            at
org.netbeans.ModuleManager.enable(ModuleManager.java:944)
            at
org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:318)
            at
org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:254)
            at
org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:286)
            at
org.netbeans.core.startup.Main.getModuleSystem(Main.java:172)
            at
org.netbeans.core.startup.Main.start(Main.java:302)
            at
org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:114)
    [catch] at java.lang.Thread.run(Thread.java:662)
    
    
    
    
    
    
    
    R
Dr Renato Paes de Barros, 1017 - 11º ,12º e 13º andares
Itaim Bibi - 04530-001 - São Paulo - SP
    www.bancofator.com.br
     
    
    
    P  Evite
o desperdício:
imprima somente o necessário.