3 Replies Latest reply: Dec 13, 2010 2:07 AM by Kalyan Pasupuleti-Oracle RSS

    Error while Starting Application on weblogic

    787637
      Hi

      I have just created a web Service on weblogic 10 workshop. I have build the application and there was no error on the same.Then I tried to install and activate the changes both are working fine.

      But when I try to start the application it is giving me "null Pointer Exception".

      The stack trace for the same is given below:

      Please help...



      <Failure occurred in the execution of deployment request with ID '1291643244750' for task '32'. Error is: 'weblogic.application.ModuleException: Could not setup environment'
      weblogic.application.ModuleException: Could not setup environment
           at weblogic.servlet.internal.WebAppModule.activateContexts(WebAppModule.java:960)
           at weblogic.servlet.internal.WebAppModule.activate(WebAppModule.java:345)
           at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:182)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
           at weblogic.application.internal.flow.ModuleStateDriver.activate(ModuleStateDriver.java:48)
           at weblogic.application.internal.flow.ScopedModuleDriver.activate(ScopedModuleDriver.java:194)
           at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:107)
           at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:381)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
           at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:71)
           at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:63)
           at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
           at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
           at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
           at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
           at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:566)
           at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:136)
           at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104)
           at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:139)
           at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:320)
           at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:816)
           at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1223)
           at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:434)
           at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
           at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:464)
           at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
           at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
      java.lang.NullPointerException
           at java.lang.Class.searchMethods(Class.java:2619)
           at java.lang.Class.getMethod0(Class.java:2642)
           at java.lang.Class.getMethod(Class.java:1579)
           at weblogic.wsee.ws.WSBuilderHelper.findSeiMethod(WSBuilderHelper.java:688)
           at weblogic.wsee.ws.WSBuilderHelper.populateOperation(WSBuilderHelper.java:288)
           at weblogic.wsee.ws.WSBuilderHelper.populateOperations(WSBuilderHelper.java:273)
           at weblogic.wsee.ws.WSBuilderHelper.populatePort(WSBuilderHelper.java:210)
           at weblogic.wsee.ws.WSBuilderHelper.buildWsPort(WSBuilderHelper.java:166)
           at weblogic.wsee.ws.WSBuilderHelper.buildService(WSBuilderHelper.java:134)
           at weblogic.wsee.ws.WSBuilderHelper.buildService(WSBuilderHelper.java:87)
           at weblogic.wsee.ws.WsBuilder.buildService(WsBuilder.java:393)
           at weblogic.wsee.ws.WsFactory.createClientService(WsFactory.java:45)
           at weblogic.wsee.jaxrpc.ServiceImpl.init(ServiceImpl.java:149)
           at weblogic.wsee.jaxrpc.ServiceImpl.<init>(ServiceImpl.java:139)
           at weblogic.wsee.jaxrpc.ServiceRefProcessorImpl.<init>(ServiceRefProcessorImpl.java:76)
           at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
           at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
           at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
           at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
           at weblogic.deployment.ServiceRefProcessorFactory.constructProcessor(ServiceRefProcessorFactory.java:63)
           at weblogic.deployment.ServiceRefProcessorFactory.getProcessor(ServiceRefProcessorFactory.java:49)
           at weblogic.deployment.BaseEnvironmentBuilder.addServiceReferences(BaseEnvironmentBuilder.java:556)
           at weblogic.servlet.internal.CompEnv.activate(CompEnv.java:138)
           at weblogic.servlet.internal.WebAppServletContext.activate(Unknown Source)
           at weblogic.servlet.internal.WebAppModule.activateContexts(WebAppModule.java:958)
           at weblogic.servlet.internal.WebAppModule.activate(WebAppModule.java:345)
           at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:182)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
           at weblogic.application.internal.flow.ModuleStateDriver.activate(ModuleStateDriver.java:48)
           at weblogic.application.internal.flow.ScopedModuleDriver.activate(ScopedModuleDriver.java:194)
      >