users@glassfish.java.net

Null deployment error doesn't help

From: Kenneth Clark <kenneth_at_rabiddog.co.za>
Date: Tue, 19 Dec 2006 20:53:15 +0200

Hi there

I am about to go mad! The error I am receiving is so non-specific I
could fall over and start convulsing. Sorry, just very frustrated.

For the server.log file I get (verifier returns that the archive is valid)

[#|2006-12-19T20:45:22.171+0200|INFO|sun-appserver-pe9.0|javax.enterprise.system.tools.avk.tools.verifier|_ThreadID=15;_ThreadName=Thread-36;|No
errors found in the archive.|#]

[#|2006-12-19T20:45:23.250+0200|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.tools.deployment|_ThreadID=15;_ThreadName=Thread-36;_RequestID=2542e91c-4d4f-4001-aa05-12dbee16806b;|Exception
occured in J2EEC Phase
com.sun.enterprise.deployment.backend.IASDeploymentException: Deployment
Error -- null
    at java.util.HashMap$HashIterator.nextEntry(HashMap.java:790)
    at java.util.HashMap$KeyIterator.next(HashMap.java:823)
    at
com.sun.enterprise.deployment.backend.EjbModuleDeployer.generatePolicy(EjbModuleDeployer.java:203)
    at
com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:171)
    at
com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:169)
    at
com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
    at
com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:871)
    at
com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:266)
    at
com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:739)
    at
com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:174)
    at
com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:210)
|#]



The EJB I am try to deploy looks like

@Stateless
@WebService(serviceName = "TitleService")
public class TitleWorkFlowManagerImpl implements TitleWorkFlowManager {
 
  TitleManager manager =
TitleManagerImpl.getDefaultFactory().create();private TitleManager
manager = TitleManagerImpl.getDefaultFactory().create();
 
  public TitleWorkFlowManagerImpl(){

  }

    @WebMethod(operationName="changeTitleDetails")
  @RolesAllowed("TitleAdministrator")
    public TitleResponse changeTitleDetails(TitleRequest titleRequest){

      return manager.updateTitle(titleRequest);
    }

    @WebMethod(operationName="createTitle")
    @RolesAllowed("TitleAdministrator")
  public TitleResponse createTitle(TitleRequest titleRequest){
    return manager.addTitle(titleRequest);
    }

    @WebMethod(operationName="getTitleDetails")
  @RolesAllowed("TitleUser")
    public TitleResponse getTitleDetails(TitleRequest titleRequest){
      return manager.requestTitle(titleRequest);
    }

    @WebMethod(operationName="listTitles")
  @RolesAllowed("TitleUser")
    public ListResponse listTitles(ListRequest listRequest){
      return manager.requestTitles(listRequest);
    }

    @WebMethod(operationName="removeTitle")
  @RolesAllowed("TitleAdministrator")
    public TitleResponse removeTitle(TitleRequest titleRequest){
      manager.deleteTitle(titleRequest);
    }
}


Can anyone see anything glaringly obvious? Any roads I can take to
narrow the problem down, anything at all?

Thanks
Kenneth