Support Article
Unable to add a case type in suggested case of Email channel
SA-74220
Summary
Unable to add a case type to a suggested case of the Behavior tab while creating the Email channel.
Error Messages
Caused by: java.lang.NullPointerException
at sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1262) ~[?:?]
at sun.awt.FontConfiguration.readFontConfigFile(FontConfiguration.java:225) ~[?:?]
at sun.awt.FontConfiguration.init(FontConfiguration.java:107) ~[?:?]
at sun.awt.X11FontManager.createFontConfiguration(X11FontManager.java:719) ~[?:?]
at sun.font.SunFontManager$2.run(SunFontManager.java:367) ~[?:?]
at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
at sun.font.SunFontManager.<init>(SunFontManager.java:312) ~[?:?]
at sun.awt.FcFontManager.<init>(FcFontManager.java:35) ~[?:?]
at sun.awt.X11FontManager.<init>(X11FontManager.java:56) ~[?:?]
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?]
at sun.font.FontManagerFactory$1.run(FontManagerFactory.java:84) ~[?:?]
at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
at sun.font.FontManagerFactory.getInstance(FontManagerFactory.java:74) ~[?:?]
Steps to Reproduce
- Create an email account.
- Create a case type.
- Create an email Channel.
- In the Configurations tab, add the created email account.
- Navigate to the Behavior tab.
- Add the case type created in Step 2 in the Suggested case type.
- Click the Submit button.
Root Cause
Using JDK 11, the 'awt X11' font was missing in the current JDK.
Resolution
Test with JDK 1.8 (SUN) on the application server.
Published March 8, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.