Skip to content

Regression

com.sun.ts.tests.el.api.jakarta_el.beannameelresolver.ELClient.beanNameELResolverInvokeTest_from_standalone (from expression-language-tck)

Failing for the past 1 build (Since #10 )
Took 2 sec.

Error Message

test result: Failed. Test case throws exception: null

Stacktrace

test result: Failed. Test case throws exception: null

Standard Output

#Test Results (version 2)
#Mon Jul 20 12:01:32 UTC 2020
#-----testdescription-----
$file=/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tck/src/com/sun/ts/tests/el/api/jakarta_el/beannameelresolver/ELClient.java
$root=/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tck/src
assertion_ids=EL\:JAVADOC\:9  Creates a new read/write BeanELResolver.\nEL\:JAVADOC\:11  If the base object is not null, returns the most general type that this resolver accepts for the property argument. Otherwise, returns null. Assuming the base is not null, this method will always return Object.class. This is because any object is accepted as a key and is coerced into a string.\nEL\:JAVADOC\:12  If the base object is not null, returns an Iterator containing the set of JavaBeans properties available on the given object. Otherwise, returns null. The Iterator returned must contain zero or more instances of java.beans.FeatureDescriptor. Each info object contains information about a property in the bean, as obtained by calling the BeanInfo.getPropertyDescriptors method. The FeatureDescriptor is initialized using the same fields as are present in the PropertyDescriptor, with the additional required named attributes "type" and "resolvableAtDesignTime" set as follows\: ELResolver\#TYPE - The runtime type of the property, from PropertyDescriptor.getPropertyType(). ELResolver\#RESOLVABLE_AT_DESIGN_TIME - true.\nEL\:JAVADOC\:13  If the base object is not null, returns the most general acceptable type that can be set on this bean property. If the base is not null, the propertyResolved property of the ELContext object must be set to true by this resolver, before returning. If this property is not true after this method is called, the caller should ignore the return value. The provided property will first be coerced to a String. If there is a BeanInfoProperty for this property and there were no errors retrieving it, the propertyType of the propertyDescriptor is returned. Otherwise, a PropertyNotFoundException is thrown.\nEL\:JAVADOC\:14  If the base object is not null, returns the current value of the given property on this bean. If the base is not null, the propertyResolved property of the ELContext object must be set to true by this resolver, before returning. If this property is not true after this method is called, the caller should ignore the return value. The provided property name will first be coerced to a String. If the property is a readable property of the base object, as per the JavaBeans specification, then return the result of the getter call. If the getter throws an exception, it is propagated to the caller. If the property is not found or is not readable, a PropertyNotFoundException is thrown.\nEL\:JAVADOC\:15  If the base object is not null, returns whether a call to \#setValue will always fail. If the base is not null, the propertyResolved property of the ELContext object must be set to true by this resolver, before returning. If this property is not true after this method is called, the caller can safely assume no value was set. If this resolver was constructed in read-only mode, this method will always return true. The provided property name will first be coerced to a String. If property is a writable property of base, false is returned. If the property is found but is not writable, true is returned. If the property is not found, a PropertyNotFoundException is thrown.\nEL\:JAVADOC\:16  If the base object is not null, attempts to set the value of the given property on this bean. If the base is not null, the propertyResolved property of the ELContext object must be set to true by this resolver, before returning. If this property is not true after this method is called, the caller can safely assume no value was set. If this resolver was constructed in read-only mode, this method will always throw PropertyNotWritableException. The provided property name will first be coerced to a String. If property is a writable property of base (as per the JavaBeans Specification), the setter method is called (passing value). If the property exists but does not have a setter, then a PropertyNotFoundException is thrown. If the property does not exist, a PropertyNotFoundException is thrown.\nEL\:JAVADOC\:142  If the base object is not null, invoke the method, with the given parameters on this bean. The return value from the method is returned. If the base is not null, the propertyResolved property of the ELContext object must be set to true by this resolver, before returning. If this property is not true after this method is called, the caller should ignore the return value. The provided method object will first be coerced to a String. The methods in the bean is then examined and an attempt will be made to select one for invocation. If no suitable can be found, a MethodNotFoundException is thrown. If the given paramTypes is not null, select the method with the given name and parameter types. Else select the method with the given name that has the same number of parameters. If there are more than one such method, the method selection process is undefined. Else select the method with the given name that takes a variable number of arguments. Note the resolution for overloaded methods will likely be clarified in a future version of the spec. The provide parameters are coerced to the correcponding parameter types of the method, and the method is then invoked.\nEL\:JAVADOC\:199  Register a BeanNameResolver. Construct a BeanNameELResolver with the BeanNameResolver and add it to the list of ELResolvers. Once registered, the BeanNameResolver cannot be removed.\nEL\:JAVADOC\:200  Add an user defined ELResolver to the list of ELResolvers. Can be called multiple times. The new ELResolver is placed ahead of the default ELResolvers. The list of the ELResolvers added this way are ordered chronologically.\nEL\:JAVADOC\:202  Define a bean in the local bean repository\nEL\:JAVADOC\:203  See assertion html documents.\nEL\:JAVADOC\:236  Attemps to resolve and invoke the given method on the given base object. If this resolver handles the given (base, method) pair, the propertyResolved property of the ELContext object must be set to true by the resolver, before returning. If this property is not true after this method is called, the caller should ignore the return value. A default implementation is provided that returns null so that existing classes that extend ELResolver can continue to function.
classname=com.sun.ts.tests.el.api.jakarta_el.beannameelresolver.ELClient
direction=forward
finder=cts
id=beanNameELResolverInvokeTest_from_standalone
keywords=all el javaee beanNameELResolverInvokeTest standalone_vehicle forward
service_eetest=yes
testName=beanNameELResolverInvokeTest
testProps=
test_directory=com/sun/ts/tests/el/api/jakarta_el/beannameelresolver

#-----environment-----
JAVA_HOME=/opt/jdk1.8.0_191/jre
JAVA_OPTIONS=
LOCAL_CLASSES=/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tck/bin/xml/../../lib/tsharness.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tck/bin/xml/../../lib/eltck.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tck/lib/javatest.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.el-api.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tck/bin/xml/../../lib/sigtest.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tck/bin/xml/../../lib/javatest.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tck/bin/xml/../../classes
SYSTEMROOT=${env.SystemRoot}
TS_HOME=/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tck/bin/xml/../..
command.testExecute=com.sun.ts.lib.harness.ExecTSTestCmd CLASSPATH\=${LOCAL_CLASSES} HOME\="${user.home}" windir\=${windir} SYSTEMROOT\=${SYSTEMROOT} ${JAVA_HOME}/bin/java ${JAVA_OPTIONS} $testExecuteClass $testExecuteArgs
harness.executeMode=2
harness.log.delayseconds=1 
harness.log.port=2000
harness.log.traceflag=false
harness.socket.retry.count=10
harness.temp.directory=${TS_HOME}
porting.ts.url.class.1=com.sun.ts.lib.implementation.sun.common.SunRIURL
user.home=?
variable.mapper=com.sun.el.lang.VariableMapperImpl
windir=${env.windir}

#-----testresult-----
description=file\:/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tck/src/com/sun/ts/tests/el/api/jakarta_el/beannameelresolver/ELClient.java\#beanNameELResolverInvokeTest_from_standalone
end=Mon Jul 20 12\:01\:32 UTC 2020
environment=ts_unix
execStatus=Failed. Test case throws exception\: null
harnessLoaderMode=Classpath Loader
harnessVariety=Full Bundle
javatestOS=Linux 3.10.0-1127.10.1.el7.x86_64 (amd64)
javatestVersion=5.0
script=com.sun.ts.lib.harness.TSScript
sections=script_messages TestRun
start=Mon Jul 20 12\:01\:30 UTC 2020
test=com/sun/ts/tests/el/api/jakarta_el/beannameelresolver/ELClient.java\#beanNameELResolverInvokeTest_from_standalone
timeoutSeconds=600
totalTime=1455
work=/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tckwork/expression-language-tck/com/sun/ts/tests/el/api/jakarta_el/beannameelresolver

#section:script_messages
----------messages:(0/0)----------

#section:TestRun
----------messages:(1/1029)----------
command: com.sun.ts.lib.harness.ExecTSTestCmd CLASSPATH=:/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tck/bin/xml/../../lib/tsharness.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tck/bin/xml/../../lib/eltck.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tck/lib/javatest.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.el-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tck/bin/xml/../../lib/sigtest.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tck/bin/xml/../../lib/javatest.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tck/bin/xml/../../classes HOME=? windir= SYSTEMROOT= /opt/jdk1.8.0_191/jre/bin/java com.sun.ts.tests.common.vehicle.VehicleClient -p /home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tck/bin/xml/../../tmp/tstest.jte -t beanNameELResolverInvokeTest -vehicle standalone
----------log:(38/2339)----------
************************************************************
* props file set to "/tmp/?-cts-props.txt"
************************************************************
07-20-2020 12:01:30:  ERROR: Test case throws exception: null
07-20-2020 12:01:30:  ERROR: Exception at:  
07-20-2020 12:01:30:  ERROR: java.lang.ExceptionInInitializerError
	at jakarta.el.ELManager.getExpressionFactory(ELManager.java:38)
	at jakarta.el.ELManager.getELContext(ELManager.java:49)
	at jakarta.el.ELManager.addBeanNameResolver(ELManager.java:75)
	at com.sun.ts.tests.el.api.jakarta_el.beannameelresolver.ELClient.beanNameELResolverInvokeTest(ELClient.java:158)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.sun.ts.lib.harness.EETest.run(EETest.java:596)
	at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:115)
	at com.sun.ts.tests.common.vehicle.EmptyVehicleRunner.run(EmptyVehicleRunner.java:40)
	at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:105)
	at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:486)
	at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:209)
	at com.sun.ts.lib.harness.EETest.run(EETest.java:285)
	at com.sun.ts.tests.common.vehicle.VehicleClient.main(VehicleClient.java:38)
Caused by: jakarta.el.ELException: Provider com.sun.el.ExpressionFactoryImpl not found
	at jakarta.el.FactoryFinder.newInstance(FactoryFinder.java:59)
	at jakarta.el.FactoryFinder.find(FactoryFinder.java:133)
	at jakarta.el.ExpressionFactory.newInstance(ExpressionFactory.java:140)
	at jakarta.el.ExpressionFactory.newInstance(ExpressionFactory.java:110)
	at jakarta.el.ELUtil.<clinit>(ELUtil.java:60)
	... 16 more
Caused by: java.lang.ClassNotFoundException: com.sun.el.ExpressionFactoryImpl
	at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at jakarta.el.FactoryFinder.newInstance(FactoryFinder.java:43)
	... 20 more

STATUS:Failed.Test case throws exception: null
result: Failed. Test case throws exception: null


test result: Failed. Test case throws exception: null