studio icon indicating copy to clipboard operation
studio copied to clipboard

Erreur lors de l'ajout d'un pack

Open marcteyssier opened this issue 1 year ago • 0 comments

Bonjour

J'ai une erreur lorsque j'essaye d'ajouter une bibliothèque, mais j'ai une erreur : "Echec de la conversion du pack d'histoires dans la bibliothèque."

Voici les infos : Windows 10 Java 21.0.1 2023-10-17 LTS Java(TM) SE Runtime Environment (build 21.0.1+12-LTS-29) Java HotSpot(TM) 64-bits Server VM (build 21.0.1+12-LTS-29, mixed mode, sharing)

Pouvez-vous m'aider ?

Merci

Voici le log 11:57:25,710 INFO [s.d.u.LibUsbActivePollingWorker] (pool-7-thread-1) Active polling lost the device. Firing event. 11:57:25,710 INFO [s.w.s.StoryTellerService] (ForkJoinPool.commonPool-worker-1) Device unplugged 11:57:30,839 INFO [s.d.u.LibUsbActivePollingWorker] (pool-7-thread-1) Active polling found a new device. Firing event. 11:57:30,841 INFO [s.d.s.f.FsStoryTellerAsyncDriver] (ForkJoinPool.commonPool-worker-1) FS device partition located: E:
11:57:31,845 INFO [s.w.s.StoryTellerService] (ForkJoinPool.commonPool-worker-1) Device plugged 11:57:33,511 INFO [s.w.s.LibraryService] (executor-thread-0) Convert pack 5+]En_Avant_Pour_Adopter_Un_Dragon[by_Pozil&adebowale-ebbf32ac-ef47-446e-ab02-92c3fbd11e9e-v2.zip to FS 11:57:33,512 INFO [s.c.v.s.StoryPackConverter] (executor-thread-0) Pack is in ARCHIVE format. Converting to FS format 11:57:33,513 INFO [s.c.v.s.StoryPackConverter] (executor-thread-0) Reading ARCHIVE format pack 11:57:33,626 INFO [s.c.v.s.StoryPackConverter] (executor-thread-0) Converting assets if necessary 11:57:33,626 INFO [s.c.v.s.StoryPackConverter] (executor-thread-0) IMAGE from node 1/55 11:57:33,626 INFO [s.c.v.s.StoryPackConverter] (ForkJoinPool.commonPool-worker-2) IMAGE from node 2/55 11:57:33,626 INFO [s.c.v.s.StoryPackConverter] (ForkJoinPool.commonPool-worker-4) IMAGE from node 3/55 11:57:33,626 INFO [s.c.v.s.StoryPackConverter] (ForkJoinPool.commonPool-worker-1) IMAGE from node 4/55 11:57:33,626 INFO [s.c.v.s.StoryPackConverter] (ForkJoinPool.commonPool-worker-6) IMAGE from node 6/55 11:57:33,626 INFO [s.c.v.s.StoryPackConverter] (ForkJoinPool.commonPool-worker-5) IMAGE from node 7/55 11:57:33,626 INFO [s.c.v.s.StoryPackConverter] (ForkJoinPool.commonPool-worker-7) IMAGE from node 5/55 11:57:33,627 ERROR [i.q.v.h.r.QuarkusErrorHandler] (vert.x-eventloop-thread-7) HTTP Request to /api/library/convert failed, error id: 4c9bb53c-69aa-4b25-b107-7f19bed457cc-7: java.util.concurrent.CompletionException: java.lang.NoClassDefFoundError: Could not initialize class javax.imageio.ImageIO at [email protected]/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) at [email protected]/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) at [email protected]/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1770) at io.quarkus.vertx.core.runtime.VertxCoreRecorder$14.runWith(VertxCoreRecorder.java:576) at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478) at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:29) at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:29) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at [email protected]/java.lang.Thread.run(Thread.java:833) at org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:775) at org.graalvm.nativeimage.builder/com.oracle.svm.core.windows.WindowsPlatformThreads.osThreadStartRoutine(WindowsPlatformThreads.java:178) Caused by: java.lang.NoClassDefFoundError: Could not initialize class javax.imageio.ImageIO at studio.core.v1.utils.image.ImageConversion.anyToRLECompressedBitmap(ImageConversion.java:90) at studio.core.v1.service.StoryPackConverter.lambda$processFirmware2dot4$4(StoryPackConverter.java:172) at studio.core.v1.utils.stream.ThrowingFunction.lambda$unchecked$0(ThrowingFunction.java:24) at studio.core.v1.service.StoryPackConverter.lambda$processAssets$6(StoryPackConverter.java:214) at [email protected]/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708) at studio.core.v1.service.StoryPackConverter.lambda$processAssets$7(StoryPackConverter.java:214) at studio.core.v1.utils.stream.StoppingConsumer.lambda$stopped$0(StoppingConsumer.java:24) at [email protected]/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at [email protected]/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) at [email protected]/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) at [email protected]/java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:290) at [email protected]/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:754) at [email protected]/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) at [email protected]/java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:686) at [email protected]/java.util.stream.ForEachOps$ForEachOp.evaluateParallel(ForEachOps.java:159) at [email protected]/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateParallel(ForEachOps.java:173) at [email protected]/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:233) at [email protected]/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) at [email protected]/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:765) at studio.core.v1.service.StoryPackConverter.processAssets(StoryPackConverter.java:208) at studio.core.v1.service.StoryPackConverter.processFirmware2dot4(StoryPackConverter.java:167) at studio.core.v1.service.StoryPackConverter.convert(StoryPackConverter.java:76) at studio.webui.service.LibraryService.convertPack(LibraryService.java:103) at studio.webui.service.LibraryService_ClientProxy.convertPack(Unknown Source) at studio.webui.api.LibraryController.lambda$convert$1(LibraryController.java:88) at [email protected]/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ... 9 more

11:57:33,629 ERROR [o.j.r.r.c.c.AbstractResteasyReactiveContext] (vert.x-eventloop-thread-7) Request failed: java.util.concurrent.CompletionException: java.lang.NoClassDefFoundError: Could not initialize class javax.imageio.ImageIO at [email protected]/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) at [email protected]/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) at [email protected]/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1770) at io.quarkus.vertx.core.runtime.VertxCoreRecorder$14.runWith(VertxCoreRecorder.java:576) at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478) at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:29) at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:29) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at [email protected]/java.lang.Thread.run(Thread.java:833) at org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:775) at org.graalvm.nativeimage.builder/com.oracle.svm.core.windows.WindowsPlatformThreads.osThreadStartRoutine(WindowsPlatformThreads.java:178) Caused by: java.lang.NoClassDefFoundError: Could not initialize class javax.imageio.ImageIO at studio.core.v1.utils.image.ImageConversion.anyToRLECompressedBitmap(ImageConversion.java:90) at studio.core.v1.service.StoryPackConverter.lambda$processFirmware2dot4$4(StoryPackConverter.java:172) at studio.core.v1.utils.stream.ThrowingFunction.lambda$unchecked$0(ThrowingFunction.java:24) at studio.core.v1.service.StoryPackConverter.lambda$processAssets$6(StoryPackConverter.java:214) at [email protected]/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708) at studio.core.v1.service.StoryPackConverter.lambda$processAssets$7(StoryPackConverter.java:214) at studio.core.v1.utils.stream.StoppingConsumer.lambda$stopped$0(StoppingConsumer.java:24) at [email protected]/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at [email protected]/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) at [email protected]/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) at [email protected]/java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:290) at [email protected]/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:754) at [email protected]/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) at [email protected]/java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:686) at [email protected]/java.util.stream.ForEachOps$ForEachOp.evaluateParallel(ForEachOps.java:159) at [email protected]/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateParallel(ForEachOps.java:173) at [email protected]/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:233) at [email protected]/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) at [email protected]/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:765) at studio.core.v1.service.StoryPackConverter.processAssets(StoryPackConverter.java:208) at studio.core.v1.service.StoryPackConverter.processFirmware2dot4(StoryPackConverter.java:167) at studio.core.v1.service.StoryPackConverter.convert(StoryPackConverter.java:76) at studio.webui.service.LibraryService.convertPack(LibraryService.java:103) at studio.webui.service.LibraryService_ClientProxy.convertPack(Unknown Source) at studio.webui.api.LibraryController.lambda$convert$1(LibraryController.java:88) at [email protected]/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ... 9 more

11:57:33,633 INFO [s.w.a.DeviceController] (vert.x-eventloop-thread-3) addFromLibrary : DeviceDTOs.UuidDTO(uuid=ebbf32ac-ef47-446e-ab02-92c3fbd11e9e, path=null, driver=null) 11:57:33,634 ERROR [i.q.v.h.r.QuarkusErrorHandler] (vert.x-eventloop-thread-3) HTTP Request to /api/device/addFromLibrary failed, error id: 4c9bb53c-69aa-4b25-b107-7f19bed457cc-8: java.lang.NullPointerException at [email protected]/java.util.Objects.requireNonNull(Objects.java:208) at [email protected]/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:216) at [email protected]/java.nio.file.Path.resolve(Path.java:515) at studio.webui.api.DeviceController.copyToDevice(DeviceController.java:61) at studio.webui.api.DeviceController$quarkusrestinvoker$copyToDevice_ac0697b4312bb9b0e5062e7f1955a0747e93d8ee.invoke(Unknown Source) at org.jboss.resteasy.reactive.server.handlers.InvocationHandler.handle(InvocationHandler.java:29) at io.quarkus.resteasy.reactive.server.runtime.QuarkusResteasyReactiveRequestContext.invokeHandler(QuarkusResteasyReactiveRequestContext.java:114) at org.jboss.resteasy.reactive.common.core.AbstractResteasyReactiveContext.run(AbstractResteasyReactiveContext.java:145) at org.jboss.resteasy.reactive.server.vertx.VertxResteasyReactiveRequestContext$1$1.handle(VertxResteasyReactiveRequestContext.java:78) at org.jboss.resteasy.reactive.server.vertx.VertxResteasyReactiveRequestContext$1$1.handle(VertxResteasyReactiveRequestContext.java:75) at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at [email protected]/java.lang.Thread.run(Thread.java:833) at org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:775) at org.graalvm.nativeimage.builder/com.oracle.svm.core.windows.WindowsPlatformThreads.osThreadStartRoutine(WindowsPlatformThreads.java:178)

11:57:33,635 ERROR [o.j.r.r.c.c.AbstractResteasyReactiveContext] (vert.x-eventloop-thread-3) Request failed: java.lang.NullPointerException at [email protected]/java.util.Objects.requireNonNull(Objects.java:208) at [email protected]/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:216) at [email protected]/java.nio.file.Path.resolve(Path.java:515) at studio.webui.api.DeviceController.copyToDevice(DeviceController.java:61) at studio.webui.api.DeviceController$quarkusrestinvoker$copyToDevice_ac0697b4312bb9b0e5062e7f1955a0747e93d8ee.invoke(Unknown Source) at org.jboss.resteasy.reactive.server.handlers.InvocationHandler.handle(InvocationHandler.java:29) at io.quarkus.resteasy.reactive.server.runtime.QuarkusResteasyReactiveRequestContext.invokeHandler(QuarkusResteasyReactiveRequestContext.java:114) at org.jboss.resteasy.reactive.common.core.AbstractResteasyReactiveContext.run(AbstractResteasyReactiveContext.java:145) at org.jboss.resteasy.reactive.server.vertx.VertxResteasyReactiveRequestContext$1$1.handle(VertxResteasyReactiveRequestContext.java:78) at org.jboss.resteasy.reactive.server.vertx.VertxResteasyReactiveRequestContext$1$1.handle(VertxResteasyReactiveRequestContext.java:75) at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at [email protected]/java.lang.Thread.run(Thread.java:833) at org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:775) at org.graalvm.nativeimage.builder/com.oracle.svm.core.windows.WindowsPlatformThreads.osThreadStartRoutine(WindowsPlatformThreads.java:178)

marcteyssier avatar Nov 15 '23 09:11 marcteyssier