Regression
com.sun.ts.tests.el.api.jakarta_el.mapelresolver.ELClient.mapELResolverNPETest_from_standalone (from expression-language-tck)
Failing for the past 1 build
(Since Unstable
)
Error Message
test result: Failed. Illegal access to test: com.sun.ts.lib.deliverable.PropertyNotSetException: No value found for jimage.dir. Please check your jte file for an appropiate value
Stacktrace
test result: Failed. Illegal access to test: com.sun.ts.lib.deliverable.PropertyNotSetException: No value found for jimage.dir. Please check your jte file for an appropiate value
Standard Output
#Test Results (version 2) #Wed Sep 29 10:29:46 UTC 2021 #-----testdescription----- $file=/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tck/src/com/sun/ts/tests/el/api/jakarta_el/mapelresolver/ELClient.java $root=/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tck/src assertion_ids=EL\:JAVADOC\:78 If the base object is a map, returns the most general acceptable type for a value in this map. If the base is a Map, 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. Assuming the base is a Map, this method will always return Object.class. This is because Maps accept any object as the value for a given key.\nEL\:JAVADOC\:79 If the base object is a map, returns the value associated with the given key, as specified by the property argument. If the key was not found, null is returned. If the base is a Map, 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. Just as in java.util.Map\#get, just because null is returned doesn't mean there is no mapping for the key; it's also possible that the Map explicitly maps the key to null.\nEL\:JAVADOC\:80 If the base object is a map, returns whether a call to \#setValue will always fail. If the base is a Map, 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. If this resolver was constructed in read-only mode, this method will always return true. If a Map was created using java.util.Collections\#unmodifiableMap, this method must return true. Unfortunately, there is no Collections API method to detect this. However, an implementation can create a prototype unmodifiable Map and query its runtime type to see if it matches the runtime type of the base object as a workaround.\nEL\:JAVADOC\:81 Creates a new read/write MapELResolver.\nEL\:JAVADOC\:83 If the base object is a map, attempts to set the value associated with the given key, as specified by the property argument. If the base is a Map, 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. If a Map was created using java.util.Collections\#unmodifiableMap, this method must throw PropertyNotWritableException. Unfortunately, there is no Collections API method to detect this. However, an implementation can create a prototype unmodifiable Map and query its runtime type to see if it matches the runtime type of the base object as a workaround.\nEL\:JAVADOC\:290 if context is null\nEL\:JAVADOC\:293 if context is null, or if the key is null and this map does not permit null keys (the latter is optionally thrown by the underlying Map).\nEL\:JAVADOC\:295 if context is null\nEL\:JAVADOC\:298 if context is null, or if this map does not permit null keys or values, and the specified key or value is null. classname=com.sun.ts.tests.el.api.jakarta_el.mapelresolver.ELClient direction=forward finder=cts id=mapELResolverNPETest_from_standalone keywords=all el javaee mapELResolverNPETest standalone_vehicle forward service_eetest=yes testName=mapELResolverNPETest testProps= test_directory=com/sun/ts/tests/el/api/jakarta_el/mapelresolver #-----environment----- TS_HOME=/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tck/bin/xml/../.. 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 variable.mapper=com.sun.el.lang.VariableMapperImpl #-----testresult----- description=file\:/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tck/src/com/sun/ts/tests/el/api/jakarta_el/mapelresolver/ELClient.java\#mapELResolverNPETest_from_standalone end=Wed Sep 29 10\:29\:46 UTC 2021 environment=ts_unix execStatus=Failed. Illegal access to test\: com.sun.ts.lib.deliverable.PropertyNotSetException\: No value found for jimage.dir. Please check your jte file for an appropiate value harnessLoaderMode=Classpath Loader harnessVariety=Full Bundle javatestOS=Linux 5.12.7-300.fc34.x86_64 (amd64) javatestVersion=5.0 script=com.sun.ts.lib.harness.TSScript sections=script_messages TestRun start=Wed Sep 29 10\:29\:46 UTC 2021 test=com/sun/ts/tests/el/api/jakarta_el/mapelresolver/ELClient.java\#mapELResolverNPETest_from_standalone timeoutSeconds=600 totalTime=5 work=/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tckwork/expression-language-tck/com/sun/ts/tests/el/api/jakarta_el/mapelresolver #section:script_messages ----------messages:(0/0)---------- #section:TestRun ----------messages:(0/0)---------- ----------log:(0/0)---------- result: Failed. Illegal access to test: com.sun.ts.lib.deliverable.PropertyNotSetException: No value found for jimage.dir. Please check your jte file for an appropiate value test result: Failed. Illegal access to test: com.sun.ts.lib.deliverable.PropertyNotSetException: No value found for jimage.dir. Please check your jte file for an appropiate value