-
Bug
-
Resolution: Won't Fix
-
P4
-
8, 9
-
x86
-
other
FULL PRODUCT VERSION :
1.8.0_121-b13, Oracle Corporation, Java HotSpot(TM) Client VM
ADDITIONAL OS VERSION INFORMATION :
Windows 7 64-Bit
A DESCRIPTION OF THE PROBLEM :
This is an upstream bugreport for
https://josm.openstreetmap.de/ticket/14411
One of our users faced the following exception:
java.io.IOException: Problem reading font data.
at java.awt.Font.createFont0(Unknown Source)
at java.awt.Font.createFont(Unknown Source)
We can see in Font source code that the root cause is swallowed, giving us no hint about what's wrong:
try {
...
} catch (Throwable t) {
...
throw new IOException("Problem reading font data.");
}
The code should be updated to:
throw new IOException("Problem reading font data.", t);
As per Quality Outreach, can you please add label josm-found to this bug report?
ERROR MESSAGES/STACK TRACES THAT OCCUR :
java.io.IOException: Problem reading font data.
at java.awt.Font.createFont0(Unknown Source)
at java.awt.Font.createFont(Unknown Source)
REPRODUCIBILITY :
This bug can be reproduced rarely.
CUSTOMER SUBMITTED WORKAROUND :
Patching Font
1.8.0_121-b13, Oracle Corporation, Java HotSpot(TM) Client VM
ADDITIONAL OS VERSION INFORMATION :
Windows 7 64-Bit
A DESCRIPTION OF THE PROBLEM :
This is an upstream bugreport for
https://josm.openstreetmap.de/ticket/14411
One of our users faced the following exception:
java.io.IOException: Problem reading font data.
at java.awt.Font.createFont0(Unknown Source)
at java.awt.Font.createFont(Unknown Source)
We can see in Font source code that the root cause is swallowed, giving us no hint about what's wrong:
try {
...
} catch (Throwable t) {
...
throw new IOException("Problem reading font data.");
}
The code should be updated to:
throw new IOException("Problem reading font data.", t);
As per Quality Outreach, can you please add label josm-found to this bug report?
ERROR MESSAGES/STACK TRACES THAT OCCUR :
java.io.IOException: Problem reading font data.
at java.awt.Font.createFont0(Unknown Source)
at java.awt.Font.createFont(Unknown Source)
REPRODUCIBILITY :
This bug can be reproduced rarely.
CUSTOMER SUBMITTED WORKAROUND :
Patching Font
- relates to
-
JDK-8041489 java.awt.Font.createFont0(...) hides cause when handling exceptions
-
- Closed
-