Hello,
For some DWG file I have the following problem:
com.aspose.cad.cadexceptions.ImageLoadException: Image loading failed:
at com.aspose.cad.Image.a(Unknown Source)
at com.aspose.cad.Image.load_internalized(Unknown Source)
at com.aspose.cad.Image.f(Unknown Source)
at com.aspose.cad.Image.load(Unknown Source)
at com.itc.iris.aspose.PreviewService.createPreview(PreviewService.java:106)
at com.itc.iris.aspose.PreviewService.createThumbAndPreview(PreviewService.java:73)
at com.itc.iris.aspose.PreviewService$$FastClassBySpringCGLIB$$8f642500.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:750)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at net.bull.javamelody.MonitoringSpringInterceptor.invoke(MonitoringSpringInterceptor.java:76)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:689)
at com.itc.iris.aspose.PreviewService$$EnhancerBySpringCGLIB$$62a62ef4.createThumbAndPreview()
at com.itc.iris.aspose.PreviewTaskListener.receiveMessage(PreviewTaskListener.java:47)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:170)
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:120)
at org.springframework.amqp.rabbit.listener.adapter.HandlerAdapter.invoke(HandlerAdapter.java:49)
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandler(MessagingMessageListenerAdapter.java:190)
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.onMessage(MessagingMessageListenerAdapter.java:127)
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:1547)
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.actualInvokeListener(AbstractMessageListenerContainer.java:1473)
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:1461)
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:1456)
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.executeListener(AbstractMessageListenerContainer.java:1405)
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.doReceiveAndExecute(SimpleMessageListenerContainer.java:870)
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.receiveAndExecute(SimpleMessageListenerContainer.java:854)
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$1600(SimpleMessageListenerContainer.java:78)
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.mainLoop(SimpleMessageListenerContainer.java:1137)
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1043)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException: null
at com.aspose.cad.internal.eT.d.a(Unknown Source)
at com.aspose.cad.internal.eR.f.a(Unknown Source)
at com.aspose.cad.internal.eS.q.a(Unknown Source)
at com.aspose.cad.internal.eS.q.a(Unknown Source)
at com.aspose.cad.internal.eR.f.b(Unknown Source)
at com.aspose.cad.internal.eR.j.a(Unknown Source)
at com.aspose.cad.internal.eR.j.(Unknown Source)
at com.aspose.cad.fileformats.cad.CadImage.updateSize(Unknown Source)
at com.aspose.cad.fileformats.cad.CadImage.i(Unknown Source)
at com.aspose.cad.internal.fD.bi.load(Unknown Source)
… 35 common frames omitted
Any help ??