[jboss-dev] Re: Beta3 status -
Anil Saldhana
Anil.Saldhana at redhat.com
Wed Dec 19 21:47:01 EST 2007
That refers to a null persistencypolicy as per
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/trunk/server/src/main/org/jboss/ejb/txtimer/EJBTimerServiceImpl.java?annotate=66679
I am wondering why Carlo added an assert statement rather than a runtime
exception to catch this NPE.
Ales Justin wrote:
> I get this NPE when running Seam examples (tried Booking and
> Numberguess, pops in both):
>
> I did delete data directory before running AS instance.
> HSQL problem?
>
>
> 00:23:17,203 INFO [EJBContainer] STARTED EJB:
> org.jboss.seam.async.TimerServiceDispatcher ejbName: TimerServiceDispatcher
> 00:23:18,015 INFO [EJBContainer] STOPPED EJB:
> org.jboss.seam.async.TimerServiceDispatcher ejbName: TimerServiceDispatcher
> 00:23:18,015 ERROR [AbstractKernelController] Error installing to Start:
> name=jboss.j2ee:ear=jboss-seam-numberguess.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3
> state=Creat
> java.lang.NullPointerException
> at
> org.jboss.ejb.txtimer.EJBTimerServiceImpl.restoreTimers(EJBTimerServiceImpl.java:452)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:585)
> at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
>
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
> at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
>
> at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
> at $Proxy89.restoreTimers(Unknown Source)
> at
> org.jboss.ejb3.timerservice.jboss.JBossTimerServiceFactory.restoreTimerService(JBossTimerServiceFactory.java:121)
>
> at
> org.jboss.ejb3.stateless.StatelessContainer.start(StatelessContainer.java:128)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:585)
> at
> org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:56)
>
> at
> org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:110)
>
> at
> org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
>
> at
> org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:214)
>
> at
> org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:45)
>
> at
> org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:108)
>
> at
> org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:69)
>
> at
> org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)
>
> at
> org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:135)
>
> at
> org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:46)
>
> at
> org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
>
> at
> org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
>
> at
> org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
>
> at
> org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
>
> at
> org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
>
> at
> org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
>
> at
> org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
>
> at
> org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
>
> at
> org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:574)
>
> at
> org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:398)
>
> at
> org.jboss.kernel.plugins.dependency.AbstractKernelController.install(AbstractKernelController.java:96)
>
> at
> org.jboss.kernel.plugins.dependency.AbstractKernelController.install(AbstractKernelController.java:90)
>
> at
> org.jboss.ejb3.MCKernelAbstraction.install(MCKernelAbstraction.java:151)
> at
> org.jboss.ejb3.Ejb3Deployment.registerEJBContainer(Ejb3Deployment.java:350)
> at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:411)
> at
> org.jboss.ejb3.deployers.EJBStage2Deployer.deploy(EJBStage2Deployer.java:53)
>
> at
> org.jboss.ejb3.deployers.EJBStage2Deployer.deploy(EJBStage2Deployer.java:37)
>
> at
> org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:65)
>
> at
> org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
>
> at
> org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
>
> at
> org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:853)
>
> at
> org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:906)
>
> at
> org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:794)
>
> at
> org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
>
> at
> org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
>
> at
> org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
>
> at
> org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
>
> at
> org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
>
> at
> org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
>
> at
> org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
>
> at
> org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:498)
>
> at
> org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:506)
>
> at
> org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:245)
>
> at
> org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:131)
>
> at
> org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:408)
> at org.jboss.Main.boot(Main.java:208)
> at org.jboss.Main$1.run(Main.java:534)
> at java.lang.Thread.run(Thread.java:595)
>
> *** CONTEXTS IN ERROR: Name -> Error
>
> jboss.j2ee:ear=jboss-seam-numberguess.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3
> -> java.lang.NullPointerException
>
>
More information about the jboss-development
mailing list