Infos: classes was successfully deployed in 7*529 milliseconds.
PlainTextActionReporterSUCCESSDescription: deploy AdminCommandApplication deployed with name classes.
[name=classes
junit.framework.TestListener: startTest(testAjouter)
Ajouter
mars 27, 2012 10:26:57 AM com.sun.ejb.containers.BaseContainer postInvoke
Avertissement: A system exception occurred during an invocation on EJB PaysEJB method public org.better.modele.Pays com.better.parametrage.PaysEJB.Ajouter(org.better.modele.Pays)
javax.ejb.EJBException
at com.sun.ejb.containers.BaseContainer.processSystemException(BaseContainer.java:5193)
at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:5091)
at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:4879)
at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:2039)
at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1990)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:222)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:88)
at $Proxy91.Ajouter(Unknown Source)
at com.better.parametrage.__EJB31_Generated__PaysEJB__Intf____Bean__.Ajouter(Unknown Source)
at com.better.parametrage.PaysEJBTest.testAjouter(PaysEJBTest.java:68)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
junit.framework.TestListener: addError(testAjouter, null)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
junit.framework.TestListener: endTest(testAjouter)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)
Caused by: java.lang.NullPointerException
PlainTextActionReporterSUCCESSNo monitoring data to report.
at org.better.dao.AbstractJpaDAO.create(AbstractJpaDAO.java:44)
at com.better.parametrage.PaysEJB.Ajouter(PaysEJB.java:34)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052)
at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124)
at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5366)
at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:619)
at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)
at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:162)
at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:144)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861)
at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:370)
at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5338)
at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5326)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:214)
... 29 more
mars 27, 2012 10:27:01 AM org.glassfish.admin.mbeanserver.JMXStartupService shutdown
Infos: JMXStartupService and JMXConnectors have been shut down.
mars 27, 2012 10:27:01 AM org.glassfish.admin.mbeanserver.JMXStartupService shutdown
Infos: JMXStartupService and JMXConnectors have been shut down.
mars 27, 2012 10:27:01 AM com.sun.enterprise.v3.server.AppServerStartup stop
Infos: Shutdown procedure finished
mars 27, 2012 10:27:01 AM AppServerStartup run
Infos: [Thread[GlassFish Kernel Main Thread,5,main]] exiting
Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 21,08 sec
------------- Standard Output ---------------
PlainTextActionReporterSUCCESSDescription: deploy AdminCommandApplication deployed with name classes.
[name=classes
Ajouter
PlainTextActionReporterSUCCESSNo monitoring data to report.
------------- ---------------- ---------------
------------- Standard Error -----------------
mars 27, 2012 10:26:46 AM com.sun.enterprise.v3.server.AppServerStartup run
Infos: GlassFish Server Open Source Edition 3.1.1 (12) startup time : Embedded (2*687ms), startup services(1*561ms), total(4*248ms)
mars 27, 2012 10:26:47 AM org.glassfish.admin.mbeanserver.JMXStartupService$JMXConnectorsStarterThread run
Infos: JMXStartupService: JMXConnector system is disabled, skipping.
mars 27, 2012 10:26:49 AM org.glassfish.admin.mbeanserver.JMXStartupService shutdown
Infos: JMXStartupService and JMXConnectors have been shut down.
mars 27, 2012 10:26:49 AM com.sun.enterprise.v3.server.AppServerStartup stop
Infos: Shutdown procedure finished
mars 27, 2012 10:26:49 AM AppServerStartup run
Infos: [Thread[GlassFish Kernel Main Thread,5,main]] exiting
mars 27, 2012 10:26:49 AM com.sun.enterprise.v3.server.AppServerStartup run
Infos: GlassFish Server Open Source Edition 3.1.1 (12) startup time : Embedded (6*633ms), startup services(84ms), total(6*717ms)
mars 27, 2012 10:26:49 AM org.glassfish.admin.mbeanserver.JMXStartupService$JMXConnectorsStarterThread run
Infos: JMXStartupService: JMXConnector system is disabled, skipping.
mars 27, 2012 10:26:49 AM org.glassfish.ejb.embedded.EJBContainerImpl deploy
Infos: [EJBContainerImpl] Deploying app: target\classes
mars 27, 2012 10:26:51 AM org.hibernate.validator.util.Version <clinit>
Infos: Hibernate Validator 4.1.0.Final
mars 27, 2012 10:26:51 AM org.hibernate.validator.engine.resolver.DefaultTraversableResolver detectJPA
Infos: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
mars 27, 2012 10:26:53 AM com.sun.enterprise.security.SecurityLifecycle <init>
Infos: SEC1002: Security Manager is OFF.
mars 27, 2012 10:26:53 AM com.sun.enterprise.security.SecurityLifecycle onInitialization
Infos: SEC1010: Entering Security Startup Service
mars 27, 2012 10:26:53 AM com.sun.enterprise.security.PolicyLoader loadPolicy
Infos: SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.
mars 27, 2012 10:26:54 AM com.sun.enterprise.security.auth.realm.Realm doInstantiate
Infos: SEC1115: Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
mars 27, 2012 10:26:54 AM com.sun.enterprise.security.auth.realm.Realm doInstantiate
Infos: SEC1115: Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
mars 27, 2012 10:26:54 AM com.sun.enterprise.security.auth.realm.Realm doInstantiate
Infos: SEC1115: Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created.
mars 27, 2012 10:26:54 AM com.sun.enterprise.security.SecurityLifecycle onInitialization
Infos: SEC1011: Security Service(s) Started Successfully
mars 27, 2012 10:26:56 AM com.sun.ejb.containers.BaseContainer initializeHome
Infos: Portable JNDI names for EJB PaysEJB : [java:global/classes/PaysEJB, java:global/classes/PaysEJB!com.better.parametrage.PaysEJB]
mars 27, 2012 10:26:57 AM org.glassfish.deployment.admin.DeployCommand execute
Infos: classes was successfully deployed in 7*529 milliseconds.
mars 27, 2012 10:26:57 AM com.sun.ejb.containers.BaseContainer postInvoke
Avertissement: A system exception occurred during an invocation on EJB PaysEJB method public org.better.modele.Pays com.better.parametrage.PaysEJB.Ajouter(org.better.modele.Pays)
javax.ejb.EJBException
at com.sun.ejb.containers.BaseContainer.processSystemException(BaseContainer.java:5193)
at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:5091)
at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:4879)
at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:2039)
at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1990)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:222)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:88)
at $Proxy91.Ajouter(Unknown Source)
at com.better.parametrage.__EJB31_Generated__PaysEJB__Intf____Bean__.Ajouter(Unknown Source)
at com.better.parametrage.PaysEJBTest.testAjouter(PaysEJBTest.java:68)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)
Caused by: java.lang.NullPointerException
at org.better.dao.AbstractJpaDAO.create(AbstractJpaDAO.java:44)
at com.better.parametrage.PaysEJB.Ajouter(PaysEJB.java:34)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052)
at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052)
at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124)
at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5366)
at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:619)
at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)
at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:162)
at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:144)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861)
at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:370)
at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5
Test com.better.parametrage.PaysEJBTest FAILED
-check-run-test-single-method-supported:
Skipped because property 'methodname' not set.
-test-method:
Skipped because property 'methodname' not set.
test:
Deleting: C:\Users\fabrice\AppData\Local\Temp\TEST-com.better.parametrage.PaysEJBTest.xml
GÉNÉRATION TERMINÉE (durée totale* 32 secondes)
Partager