I am getting below error with the openjdk17 and it working fine with amazon corretto 17
Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Handler dispatch failed: java.lang.InternalError: java.lang.reflect.InvocationTargetException] with root cause
java.lang.NullPointerException: Cannot load from short array because "sun.awt.FontConfiguration.head" is null
at java.desktop/sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1264) ~[na:na]
at java.desktop/sun.awt.FontConfiguration.readFontConfigFile(FontConfiguration.java:224) ~[na:na]
at java.desktop/sun.awt.FontConfiguration.init(FontConfiguration.java:106) ~[na:na]
at java.desktop/sun.awt.X11FontManager.createFontConfiguration(X11FontManager.java:706) ~[na:na]
at java.desktop/sun.font.SunFontManager$2.run(SunFontManager.java:358) ~[na:na]
at java.desktop/sun.font.SunFontManager$2.run(SunFontManager.java:315) ~[na:na]
at java.base/java.security.AccessController.doPrivileged(AccessController.java:318) ~[na:na]
at java.desktop/sun.font.SunFontManager.<init>(SunFontManager.java:315) ~[na:na]
at java.desktop/sun.awt.FcFontManager.<init>(FcFontManager.java:35) ~[na:na]
at java.desktop/sun.awt.X11FontManager.<init>(X11FontManager.java:56) ~[na:na]
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:na]
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[na:na]
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:na]
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[na:na]
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[na:na]
at java.desktop/sun.font.FontManagerFactory$1.run(FontManagerFactory.java:85) ~[na:na]
at java.base/java.security.AccessController.doPrivileged(AccessController.java:318) ~[na:na]
at java.desktop/sun.font.FontManagerFactory.getInstance(FontManagerFactory.java:75) ~[na:na]
at java.desktop/sun.java2d.SunGraphicsEnvironment.getFontManagerForSGE(SunGraphicsEnvironment.java:139) ~[na:na]
at java.desktop/sun.java2d.SunGraphicsEnvironment.getAvailableFontFamilyNames(SunGraphicsEnvironment.java:173) ~[na:na]
at java.desktop/sun.java2d.HeadlessGraphicsEnvironment.getAvailableFontFamilyNames(HeadlessGraphicsEnvironment.java:84) ~[na:na]
at com.aspose.slides.internal.nn.if.<clinit>(Unknown Source) ~[aspose-slides-23.1-jdk16.jar!/:na]
at com.aspose.slides.internal.fw.if.<init>(Unknown Source) ~[aspose-slides-23.1-jdk16.jar!/:na]
at com.aspose.slides.internal.fs.this.<clinit>(Unknown Source) ~[aspose-slides-23.1-jdk16.jar!/:na]
at com.aspose.slides.internal.o0.break.do(Unknown Source) ~[aspose-slides-23.1-jdk16.jar!/:na]
at com.aspose.slides.internal.o0.break.do(Unknown Source) ~[aspose-slides-23.1-jdk16.jar!/:na]
at com.aspose.slides.internal.o0.extends.do(Unknown Source) ~[aspose-slides-23.1-jdk16.jar!/:na]
at com.aspose.slides.sa.do(Unknown Source) ~[aspose-slides-23.1-jdk16.jar!/:na]
at com.aspose.slides.sa.do(Unknown Source) ~[aspose-slides-23.1-jdk16.jar!/:na]
at com.aspose.slides.sa.do(Unknown Source) ~[aspose-slides-23.1-jdk16.jar!/:na]
at com.aspose.slides.sa.do(Unknown Source) ~[aspose-slides-23.1-jdk16.jar!/:na]
at com.aspose.slides.ro.do(Unknown Source) ~[aspose-slides-23.1-jdk16.jar!/:na]
at com.aspose.slides.avs.do(Unknown Source) ~[aspose-slides-23.1-jdk16.jar!/:na]
at com.aspose.slides.ro.do(Unknown Source) ~[aspose-slides-23.1-jdk16.jar!/:na]
at com.aspose.slides.oi.do(Unknown Source) ~[aspose-slides-23.1-jdk16.jar!/:na]
at com.aspose.slides.sg.do(Unknown Source) ~[aspose-slides-23.1-jdk16.jar!/:na]
at com.aspose.slides.axr.static(Unknown Source) ~[aspose-slides-23.1-jdk16.jar!/:na]
at com.aspose.slides.zw.do(Unknown Source) ~[aspose-slides-23.1-jdk16.jar!/:na]
at com.aspose.slides.axl.do(Unknown Source) ~[aspose-slides-23.1-jdk16.jar!/:na]
at com.aspose.slides.axl.<init>(Unknown Source) ~[aspose-slides-23.1-jdk16.jar!/:na]
at com.aspose.slides.axc.do(Unknown Source) ~[aspose-slides-23.1-jdk16.jar!/:na]
at com.aspose.slides.av8.do(Unknown Source) ~[aspose-slides-23.1-jdk16.jar!/:na]
at com.aspose.slides.av8.for(Unknown Source) ~[aspose-slides-23.1-jdk16.jar!/:na]
at com.aspose.slides.Row.getHeight(Unknown Source) ~[aspose-slides-23.1-jdk16.jar!/:na]