Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-18207

"No marshaller registered for Java type org.xwiki.formula.ImageData" when caching a formula

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 12.10.3, 13.0
    • 12.10.2
    • Formula
    • Debian OpenJDK 11.0.9.1
    • Unknown
    • N/A
    • N/A

    Description

      Getting the following error in the cache:

      [2021-01-05 15:11:36] [info] 2021-01-05 15:11:36,806 [non-blocking-thread--p2-t10] ERROR i.InvocationContextInterceptor - ISPN000136: Error executing command PutKeyValueCommand on Cache 'xwiki.plugin.formula', writing keys [56fe626ce0f9b2e849b4edbe9279310486cf4ecb077400dbf00d0d467e15f26a]
      [2021-01-05 15:11:36] [info] org.infinispan.persistence.spi.PersistenceException: org.infinispan.commons.marshall.MarshallingException: No marshaller registered for Java type org.xwiki.formula.ImageData
      [2021-01-05 15:11:36] [info] #011at org.infinispan.marshall.persistence.impl.MarshallableEntryImpl.marshall(MarshallableEntryImpl.java:232)
      [2021-01-05 15:11:36] [info] #011at org.infinispan.marshall.persistence.impl.MarshallableEntryImpl.<init>(MarshallableEntryImpl.java:41)
      [2021-01-05 15:11:36] [info] #011at org.infinispan.marshall.persistence.impl.MarshalledEntryFactoryImpl.create(MarshalledEntryFactoryImpl.java:65)
      [2021-01-05 15:11:36] [info] #011at org.infinispan.persistence.spi.MarshallableEntryFactory.create(MarshallableEntryFactory.java:95)
      [2021-01-05 15:11:36] [info] #011at org.infinispan.interceptors.impl.CacheWriterInterceptor.marshalledEntry(CacheWriterInterceptor.java:482)
      [2021-01-05 15:11:36] [info] #011at org.infinispan.interceptors.impl.CacheWriterInterceptor.storeEntry(CacheWriterInterceptor.java:462)
      [2021-01-05 15:11:36] [info] #011at org.infinispan.interceptors.impl.CacheWriterInterceptor.storeEntry(CacheWriterInterceptor.java:455)
      [2021-01-05 15:11:36] [info] #011at org.infinispan.interceptors.impl.CacheWriterInterceptor.lambda$visitPutKeyValueCommand$2(CacheWriterInterceptor.java:193)
      [2021-01-05 15:11:36] [info] #011at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextThenApply(BaseAsyncInterceptor.java:86)
      [2021-01-05 15:11:36] [info] #011at org.infinispan.interceptors.impl.CacheWriterInterceptor.visitPutKeyValueCommand(CacheWriterInterceptor.java:186)
      [2021-01-05 15:11:36] [info] #011at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63)
      [2021-01-05 15:11:36] [info] #011at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59)
      [2021-01-05 15:11:36] [info] #011at org.infinispan.interceptors.BaseAsyncInterceptor.lambda$new$0(BaseAsyncInterceptor.java:27)
      [2021-01-05 15:11:36] [info] #011at org.infinispan.interceptors.InvocationSuccessFunction.apply(InvocationSuccessFunction.java:25)
      [2021-01-05 15:11:36] [info] #011at org.infinispan.interceptors.impl.QueueAsyncInvocationStage.invokeQueuedHandlers(QueueAsyncInvocationStage.java:125)
      [2021-01-05 15:11:36] [info] #011at org.infinispan.interceptors.impl.QueueAsyncInvocationStage.accept(QueueAsyncInvocationStage.java:88)
      [2021-01-05 15:11:36] [info] #011at org.infinispan.interceptors.impl.QueueAsyncInvocationStage.accept(QueueAsyncInvocationStage.java:33)
      [2021-01-05 15:11:36] [info] #011at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859)
      [2021-01-05 15:11:36] [info] #011at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837)
      [2021-01-05 15:11:36] [info] #011at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
      [2021-01-05 15:11:36] [info] #011at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073)
      [2021-01-05 15:11:36] [info] #011at org.infinispan.interceptors.impl.CacheLoaderInterceptor.lambda$loadInContext$7(CacheLoaderInterceptor.java:383)
      [2021-01-05 15:11:36] [info] #011at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859)
      [2021-01-05 15:11:36] [info] #011at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837)
      [2021-01-05 15:11:36] [info] #011at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
      [2021-01-05 15:11:36] [info] #011at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073)
      [2021-01-05 15:11:36] [info] #011at io.reactivex.rxjava3.internal.jdk8.CompletionStageConsumer.complete(CompletionStageConsumer.java:91)
      [2021-01-05 15:11:36] [info] #011at io.reactivex.rxjava3.internal.jdk8.CompletionStageConsumer.onComplete(CompletionStageConsumer.java:68)
      [2021-01-05 15:11:36] [info] #011at io.reactivex.rxjava3.internal.operators.maybe.MaybeUsing$UsingObserver.onComplete(MaybeUsing.java:228)
      [2021-01-05 15:11:36] [info] #011at io.reactivex.rxjava3.internal.operators.flowable.FlowableElementAtMaybe$ElementAtSubscriber.onComplete(FlowableElementAtMaybe.java:102)
      [2021-01-05 15:11:36] [info] #011at io.reactivex.rxjava3.internal.util.AtomicThrowable.tryTerminateConsumer(AtomicThrowable.java:92)
      [2021-01-05 15:11:36] [info] #011at io.reactivex.rxjava3.internal.operators.mixed.FlowableConcatMapMaybe$ConcatMapMaybeSubscriber.drain(FlowableConcatMapMaybe.java:235)
      [2021-01-05 15:11:36] [info] #011at io.reactivex.rxjava3.internal.operators.mixed.FlowableConcatMapMaybe$ConcatMapMaybeSubscriber.innerComplete(FlowableConcatMapMaybe.java:182)
      [2021-01-05 15:11:36] [info] #011at io.reactivex.rxjava3.internal.operators.mixed.FlowableConcatMapMaybe$ConcatMapMaybeSubscriber$ConcatMapMaybeObserver.onComplete(FlowableConcatMapMaybe.java:321)
      [2021-01-05 15:11:36] [info] #011at io.reactivex.rxjava3.internal.jdk8.MaybeFromCompletionStage$CompletionStageHandler.accept(MaybeFromCompletionStage.java:67)
      [2021-01-05 15:11:36] [info] #011at io.reactivex.rxjava3.internal.jdk8.MaybeFromCompletionStage$CompletionStageHandler.accept(MaybeFromCompletionStage.java:47)
      [2021-01-05 15:11:36] [info] #011at io.reactivex.rxjava3.internal.jdk8.FlowableFromCompletionStage$BiConsumerAtomicReference.accept(FlowableFromCompletionStage.java:90)
      [2021-01-05 15:11:36] [info] #011at io.reactivex.rxjava3.internal.jdk8.FlowableFromCompletionStage$BiConsumerAtomicReference.accept(FlowableFromCompletionStage.java:81)
      [2021-01-05 15:11:36] [info] #011at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859)
      [2021-01-05 15:11:36] [info] #011at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837)
      [2021-01-05 15:11:36] [info] #011at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
      [2021-01-05 15:11:36] [info] #011at java.base/java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:610)
      [2021-01-05 15:11:36] [info] #011at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:840)
      [2021-01-05 15:11:36] [info] #011at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478)
      [2021-01-05 15:11:36] [info] #011at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      [2021-01-05 15:11:36] [info] #011at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      [2021-01-05 15:11:36] [info] #011at java.base/java.lang.Thread.run(Thread.java:834)
      [2021-01-05 15:11:36] [info] Caused by: org.infinispan.commons.marshall.MarshallingException: No marshaller registered for Java type org.xwiki.formula.ImageData
      [2021-01-05 15:11:36] [info] #011at org.infinispan.marshall.persistence.impl.PersistenceMarshallerImpl.objectToByteBuffer(PersistenceMarshallerImpl.java:139)
      [2021-01-05 15:11:36] [info] #011at org.infinispan.marshall.persistence.impl.PersistenceMarshallerImpl.objectToBuffer(PersistenceMarshallerImpl.java:120)
      [2021-01-05 15:11:36] [info] #011at org.infinispan.marshall.persistence.impl.MarshallableEntryImpl.marshall(MarshallableEntryImpl.java:230)
      [2021-01-05 15:11:36] [info] #011... 46 common frames omitted
      

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              tmortagne Thomas Mortagne
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: