I've created a CMP-based entity bean and encounter a NPE exception when
the .EAR is deployed. I've searched high and low and reviewed my XML and
Java, but I cannot determine the problem. Any help or insight anyone can
provide would be appreciated.

The exception I get is as follows:

Auto-deploying leaders-ejb.jar (No previous deployment found)...
java.lang.NullPointerException
at com.evermind.util.ClassUtils.getSourceNotation(ClassUtils.java:280)
at com.evermind.server.ejb.compilation.CMPObjectCompilation.processConta

inerManagedField(CMPObjectCompilation.java:299)
        at
com.evermind.server.ejb.compilation.CMPObjectCompilation.processField
s(CMPObjectCompilation.java:242)
        at
com.evermind.server.ejb.compilation.PersistenceManagerCompilation.com
pile(PersistenceManagerCompilation.java:53)
        at
com.evermind.server.ejb.compilation.EntityBeanCompilation.compile(Ent
ityBeanCompilation.java:324)
        at
com.evermind.server.ejb.compilation.Compilation.compile(Compilation.j
ava:215)
        at
com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:545)
        at
com.evermind.server.Application.postInit(Application.java:429)
        at
com.evermind.server.Application.setConfig(Application.java:136)
        at
com.evermind.server.ApplicationServer.addApplication(ApplicationServe
r.java:1479)
        at
com.evermind.server.ApplicationServer.initializeApplications(Applicat
ionServer.java:1436)
        at
com.evermind.server.ApplicationServer.setConfig(ApplicationServer.jav
a:1099)
        at
com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLa
uncher.java:93)
        at java.lang.Thread.run(Thread.java:484)
        at
com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:49)

Regards,
Scott
begin:vcard 
n:Gaetjen;Scott 
tel;cell:703.728.1301
tel;fax:540.882.4233
tel;work:540.882.4233
x-mozilla-html:FALSE
url:http://www.solutionsauthority.com
org:President - Solutions Authority, LLC
adr:;;38607 Millstone Drive;Purcellville;VA;20132;USA
version:2.1
email;internet:[EMAIL PROTECTED]
title:540.882.4233 (office)     -     703.728.1301 (mobile)
end:vcard

Reply via email to