wls 7 ejbc problem

Discussions

EJB programming & troubleshooting: wls 7 ejbc problem

  1. wls 7 ejbc problem (1 messages)

    Has anyone ever encountered this problem with weblogic.ejbc:


    ejbc generates both EJBLocalObject & EJBLocalHome implementations but breaks when it has to generate the persistence sources.


    Generated bean sources for MobileManufacturerEJB

     ERROR: Error generating persistence sources for entity bean MobileManufacturerEJB
    ERROR: Error from ejbc: null

    java.lang.NullPointerException

    at weblogic.ejb20.cmp.rdbms.finders.Finder.generateFieldGroupSQL(Finder.java:1441)

    at weblogic.ejb20.cmp.rdbms.finders.Finder.generateFieldGroupSQLForFinder(Finder.java:1366)

    at weblogic.ejb20.cmp.rdbms.finders.Finder.computeSQLQuery(Finder.java:984)

    at weblogic.ejb20.cmp.rdbms.RDBMSBean.generateFinderSQLStatements(RDBMSBean.java:2522)

    at weblogic.ejb20.cmp.rdbms.Deployer.readTypeSpecificData(Deployer.java:344)

    at weblogic.ejb20.persistence.PersistenceType.setTypeSpecificFile(PersistenceType.java:490)

    at weblogic.ejb20.persistence.PersistenceType.setupDeployer(PersistenceType.java:407)

    at weblogic.ejb20.deployer.CMPInfoImpl.setup(CMPInfoImpl.java:115)

    at weblogic.ejb20.ejbc.EJB20CMPCompiler.generatePersistenceSources(EJB20CMPCompiler.java:65)

    at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270)

    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:396)

    at weblogic.ejbc20.runBody(ejbc20.java:464)

    at weblogic.utils.compiler.Tool.run(Tool.java:126)

    at weblogic.marathon.tasks.EJBCTask.runBackground(EJBCTask.java:129)

    at weblogic.jellybeans.core.task.TaskThread.execute(TaskThread.java:114)

    at weblogic.jellybeans.core.task.TaskThread.run(TaskThread.java:55)

    Threaded Messages (1)

  2. wls 7 ejbc problem[ Go to top ]

    This error might come if the field name given in Primary Key class is different from the one defined in the deployment descriptors. Just re-check.

    cheers
    Satish