eclipse-ee4j / glassfish

Eclipse GlassFish
https://eclipse-ee4j.github.io/glassfish/
386 stars 144 forks source link

jpa tests for issue 1153 failed #9377

Closed glassfishrobot closed 15 years ago

glassfishrobot commented 15 years ago

v3 b62 promoted, glassfish-v3-preview-b62.zip

EJB3.0/JPA1.0 tests for issue 1153 failed. The same tests passe on v3 b61 promoted.

To reproduce the issue, do "ant all" in appserver-sqe/pe/ejb/ejb30/issue/1153/basic The failure is observed while running appclient. runclient-common: [echo] Executing appclient at /space/test1/SRC/c10/appserver-sqe/pe/ejb/ejb30/issue/1153/basic [echo] Sep 4, 2009 9:56:29 AM org.glassfish.appclient.client.acc.FacadeLaunchable selectFacadeFromGroup [echo] WARNING: appclient.singleNestedClientNoMatch [echo] Sep 4, 2009 9:56:32 AM com.sun.enterprise.deployment.util.EjbBundleValidator accept [echo] WARNING: Unresolved : ejb30-issue1153-ejb.jar#SessionBean [echo] Sep 4, 2009 9:56:32 AM com.sun.enterprise.transaction.JavaEETransactionManagerSimplified initDelegates [echo] INFO: Using com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate as the delegate [echo] WS HOME appserver-sqe [echo] javax.ejb.EJBException: java.rmi.MarshalException: CORBA MARSHAL 1398079699 Maybe; nested exception is: [echo] org.omg.CORBA.MARSHAL: ----------BEGIN server-side stack trace---------- [echo] org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 211 completed: Maybe [echo] at com.sun.corba.ee.impl.logging.ORBUtilSystemException.valuehandlerReadException(ORBUtilSystemException.java:8800) [echo] at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.readRMIIIOPValueType(CDRInputStream_1_0.java:1076) [echo] at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1175) [echo] at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:986) [echo] at com.sun.corba.ee.impl.encoding.CDRInputObject.read_value(CDRInputObject.java:646) [echo] at com.sun.corba.ee.impl.corba.TCUtility.unmarshalIn(TCUtility.java:286) [echo] at com.sun.corba.ee.impl.corba.AnyImpl.read_value(AnyImpl.java:611) [echo] at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_any(CDRInputStream_1_0.java:829) [echo] at com.sun.corba.ee.impl.encoding.CDRInputObject.read_any(CDRInputObject.java:583) [echo] at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.readAny(Util.java:461) [echo] at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl$10.read(DynamicMethodMarshallerImpl.java:292) [echo] at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl.readArguments(DynamicMethodMarshallerImpl.java:453) [echo] at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:154) [echo] at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:682) [echo] at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:216) [echo] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1831) [echo] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1685) [echo] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:1068) [echo] at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:221) [echo] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:787) [echo] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.dispatch(CorbaMessageMediatorImpl.java:551) [echo] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.doWork(CorbaMessageMediatorImpl.java:2548) [echo] at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:492) [echo] at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:527) [echo] Caused by: java.lang.NullPointerException

From front end show deployment is OK. deploy-common-pe: [exec] Deprecated syntax, instead use: [exec] asadmin --port 4848 --host localhost --passwordfile /space/test1/SRC/c10/appserver-sqe/build-config/adminpassword.txt --echo --user admin --terse=false deploy [options] ... [exec] asadmin --host localhost --port 4848 --user admin --passwordfile /space/test1/SRC/c10/appserver-sqe/build-config/adminpassword.txt --interactive=false --echo=true --terse=false deploy --name ejb30-issue1153App --force=false --precompilejsp=false --verify=false --retrieve /space/test1/SRC/c10/appserver-sqe/build/pe/sparc_win60_SunOS/ejb30-issue1153/archive --enabled=true --generatermistubs=false --availabilityenabled=false --keepreposdir=false --keepfailedstubs=false --logReportedErrors=true --upload=false --help=false /space/test1/SRC/c10/appserver-sqe/build/pe/sparc_win60_SunOS/ejb30-issue1153/archive/ejb30-issue1153App.ear [exec] File download resultsSuccessSuccessSuccessSuccessSuccess

[exec] Command deploy executed successfully.

BUILD SUCCESSFUL Total time: 36 seconds test1@win60%

But the bakcend show error.

[#|2009-09-04T09:51:08.702-0700|INFO|glassfish|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=24;_ThreadName=Thread-2;|BEAN NODE NAME: ejb30-issue1153App/ejb30-issue1153-ejb.jar/SessionBean|#]

[#|2009-09-04T09:51:08.904-0700|SEVERE|glassfish|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=24;_ThreadName=Thread-2;|[EjbMonitoringUtils] Could not register listener for appName: ejb30-issue1153App; modName: ejb30-issue1153-ejb_jar; beanName: SessionBean java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.RangeCheck(ArrayList.java:547) at java.util.ArrayList.get(ArrayList.java:322) at org.glassfish.admin.monitor.StatsProviderRegistry.disableStatsProvider(StatsProviderRegistry.java:168) at org.glassfish.admin.monitor.StatsProviderManagerDelegateImpl.register(StatsProviderManagerDelegateImpl.java:144) at org.glassfish.external.probe.provider.StatsProviderManager.register(StatsProviderManager.java:61) at com.sun.ejb.monitoring.stats.EjbMonitoringUtils.registerComponent(EjbMonitoringUtils.java:70) at com.sun.ejb.monitoring.stats.EjbMonitoringStatsProvider.register(EjbMonitoringStatsProvider.java:95) at com.sun.ejb.containers.BaseContainer.createMonitoringRegistryMediator(BaseContainer.java:5141) at com.sun.ejb.containers.BaseContainer.(BaseContainer.java:461) at com.sun.ejb.containers.StatelessSessionContainer.(StatelessSessionContainer.java:147) at com.sun.ejb.containers.StatelessSessionContainer.(StatelessSessionContainer.java:141) at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:99) at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:191) at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:175) at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:63) at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:157) at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:197) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:310) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:174) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:270) at com.sun.enterprise.v3.admin.CommandRunnerImpl$4.execute(CommandRunnerImpl.java:403) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:418) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:505) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:138) at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:332) at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:184) at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166) at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:215) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:752) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:660) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:911) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:164) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57) at com.sun.grizzly.ContextTask.run(ContextTask.java:69) at com.sun.grizzly.util.FixedThreadPool$BasicWorker.dowork(FixedThreadPool.java:379) at com.sun.grizzly.util.FixedThreadPool$BasicWorker.run(FixedThreadPool.java:360) at java.lang.Thread.run(Thread.java:619)

| #] |

Environment

Operating System: All Platform: All

Affected Versions

[V3]

glassfishrobot commented 6 years ago
glassfishrobot commented 15 years ago

@glassfishrobot Commented kcavanaugh said: Could you please include the null pointer exception part of the stack trace for the CORBA exception? That is probably the interesting part.

glassfishrobot commented 15 years ago

@glassfishrobot Commented sherryshen said: Created an attachment (id=3166) server.log for full stack trace

glassfishrobot commented 15 years ago

@glassfishrobot Commented sherryshen said: Created an attachment (id=3167) client output

glassfishrobot commented 15 years ago

@glassfishrobot Commented sherryshen said: I filed issue 9381 for EjbMonitoringUtils error.

glassfishrobot commented 15 years ago

@glassfishrobot Commented mvatkina said: java.lang.IndexOutOfBoundsException was already filed as https://glassfish.dev.java.net/issues/show_bug.cgi?id=9298

glassfishrobot commented 15 years ago

@glassfishrobot Commented sherryshen said: The similar error is observed in jpa inherit ee test suite. ...invoking test5: create3 javax.ejb.EJBException: java.rmi.MarshalException: CORBA MARSHAL 1398079699 Maybe; nested exception is: org.omg.CORBA.MARSHAL: ---------BEGIN server-side stack trace--------- org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 211 completed: Maybe at com.sun.corba.ee.impl.logging.ORBUtilSystemException.valuehandlerReadException(ORBUtilSystemException.java:8800) at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.readRMIIIOPValueType(CDRInputStream_1_0.java:1076)

The client output for jpa inherit ee test is in the attachment of issue 9382.

To reproduce the issue, do "ant -f buildJava2DB.xml all" in appserver-sqe/pe/ejb/ejb30/inherit

glassfishrobot commented 15 years ago

@glassfishrobot Commented mm110999 said: Assigning to Ken for initial investigation

glassfishrobot commented 15 years ago

@glassfishrobot Commented kcavanaugh said: The ORB's OSGIListener is missing another null check, which resulted in the NPE. It's an easy fix, and I'll include it in the next ORB promotion.

glassfishrobot commented 15 years ago

@glassfishrobot Commented kcavanaugh said:

glassfishrobot commented 15 years ago

@glassfishrobot Commented sherryshen said: Tests passed on glassfish-v3-web-b64-09_16_2009.zip from http://download.java.net/glassfish/v3/nightly/

glassfishrobot commented 15 years ago

@glassfishrobot Commented sherryshen said: Correction, tests passed on glassfish-v3-b64-09_16_2009.zip.

glassfishrobot commented 15 years ago

@glassfishrobot Commented kcavanaugh said: Given that the tests passed after the integration of ORB b027, I am marking this one fixed.

glassfishrobot commented 15 years ago

@glassfishrobot Commented sherryshen said: Verified the fix on v3 b64 promoted.

glassfishrobot commented 15 years ago

@glassfishrobot Commented File: ejb30_issue1153_j2db.output Attached By: sherryshen

glassfishrobot commented 15 years ago

@glassfishrobot Commented File: server.log Attached By: sherryshen

glassfishrobot commented 15 years ago

@glassfishrobot Commented Was assigned to kcavanaugh

glassfishrobot commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA GLASSFISH-9377

glassfishrobot commented 15 years ago

@glassfishrobot Commented Reported by sherryshen

glassfishrobot commented 15 years ago

@glassfishrobot Commented Marked as fixed on Wednesday, September 16th 2009, 12:28:05 pm