JDK-8226235 : [TESTBUG] Test javax/swing/text/html/8218674/TooltipImageTest.java fails
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 11
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • Submitted: 2019-06-17
  • Updated: 2019-12-11
  • Resolved: 2019-12-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11
11-poolResolved
Related Reports
Relates :  
Description
Testsuite name: jdk_swing 
Test name(s): javax/swing/text/html/8218674/TooltipImageTest.java 
Product(s) tested: JDK 11.0.4b07 
OS/architecture: Ubuntu 19.04 

Reproducible: Always 
Reproducible on machine: llg00tuo.uk.oracle.com (Ubuntu 19.04) 

Is it a Regression: No, Fails for Previous build JDK11.0.4b06, Test got introduced in JDK11.0.4b06 

Does it affect JDK13 : No, Passes with JDK13b24 

Is it a platform specific issue: No, Fails on other platforms too.
Ubuntu19.04 : Fail ( llg00tuo.uk.oracle.com) 
Ubuntu18.04 : Fail (llg00tug.uk.oracle.com) 
Oracle Linux : Fail (llg00fza.uk.oracle.com) 

Exception/Error from log: 
java.lang.NullPointerException
	at TooltipImageTest.main(TooltipImageTest.java:52)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
	at java.base/java.lang.Thread.run(Thread.java:834)
Comments
Reopening the bug after further analysis. 11 GA - fails(Tested with 11.0.4b07 workspace as the test got introduced in 11.0.4b06) 11.0.3 - fails Does it affect 13 - No, Passes with JDK13 Is it regression : No, it's a TESTBUG. It seems that the test passes with all the JDKs(11 or 13) when used with 13b24 workspace and fails with 11(workspace). This might be because of the absence of 'circle.png' in the JDK11 workspace which is present in 13 workspace. Hence, it throws Null pointer exception for JDK11. Path from where circle.png is missing : 11.0.4b07/open/test/jdk/javax/swing/text/html/8218674/
18-06-2019

[~nnigam] does it affect 11 GA? 11.0.3? Is it a regression introduced in 11.0.4? Does it affect 13?
17-06-2019

Exception\ Error Log file : http://llg00gql.uk.oracle.com:9504/runs/02459/2459882.ManualSubmit/2459882.ManualSubmit-1/workDir/javax/swing/text/html/8218674/TooltipImageTest.jtr RULE "javax/swing/text/html/8218674/TooltipImageTest.java" Exception java.lang.NullPointerException
17-06-2019

Steps to Reproduce: 1. Login to llg00tuo.uk.oracle.com 2. Download jdk11.0.4b07 and its workspace 3. Execute the test using jtreg Reproducible on machine: llg00tuo.uk.oracle.com (Ubuntu 19.04) /export/jdk/jdk11.0.4b07/bin/java -jar /export/jtreg/lib/jtreg.jar -timeout:10 -vmoptions:''-server -Xmixed'' -verbose -ignore:quiet -a -dir:/export/workspace/11.0.4b07/open/test/jdk/ javax/swing/text/html/8218674/TooltipImageTest.java
17-06-2019