DXF Linux conversion error

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is class com.aspose.cad.cadexceptions.ImageLoadException: Image loading failed: —> class com.aspose.cad.cadexceptions.ImageLoadException —> java.lang.NullPointerException
— End of inner exception stack trace —
com.aspose.cad.internal.ji.g.a(Unknown Source)
com.aspose.cad.Image.a(Unknown Source)
com.aspose.cad.Image.load(Unknown Source)
cn.keking.service.FileHandlerService.cadToPdf(FileHandlerService.java:490)
cn.keking.service.impl.CadFilePreviewImpl.filePreviewHandle(CadFilePreviewImpl.java:78)
cn.keking.web.controller.OnlinePreviewController.onlinePrevieww(OnlinePreviewController.java:108)
sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)
org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:197)
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:141)
org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:106)
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:894)
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1060)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:962)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
javax.servlet.http.HttpServlet.service(HttpServlet.java:497)
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
javax.servlet.http.HttpServlet.service(HttpServlet.java:584)
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:791)
org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1626)
org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:228)
org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
cn.keking.web.filter.AttributeSetFilter.doFilter(AttributeSetFilter.java:26)
org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
aspose-cad-21.11 edition
微信截图_20220331153412.png (10.3 KB)

@Donaldabccd12,
please, attach your code and file, that causes such exception.

Uploading: QQ截图20220402170735.png… QQ截图20220402170735.png (74.4 KB)
剖面1.zip (12.0 KB)

WINDOWS jdk8 OK linux error LINUX JDK 8 and jdk 17

@Donaldabccd12,
thank you for information, we created CADJAVA-10507 to research this issue.

The issues you have found earlier (filed as CADJAVA-10507) have been fixed in Aspose.CAD for Java 22.2 update. This message was posted using Bugs notification tool by Oleksii.Gorokhovatskyi