com.hazelcast.nio.serialization.HazelcastSerializationException: java.io.NotSerializableException: org.artifactory.storage.db.fs.entity.NodeProperty

JFrog JIRA | Alexei Vainshtein | 4 months ago
  1. 0

    If you deploy manually the NuGet package and attaching properties during the deployment, the indexer is not working and the properties are not being calculated. Steps to reproduce: 1. Run Arti 4.9.0 2. Create nuget repo 3. Upgrade to 4.11.1 4. Run curl -uadmin:password -T jQuery.2.1.3.nupkg "http://localhost:8081/artifactory/nuget-local/jQuery.2.1.3.nupkg;build.name=test;build.number=12" The artifact is being deployed with only build.name and build.number properties. The other properties that need to be calculated from the NuGet indexer are missing and in the artifactory.log there is the following error: {code} 2016-08-22 06:21:53,431 [http-nio-8081-exec-6] [INFO ] (o.a.e.UploadServiceImpl:457) - Deploy to 'nuget-local:jQuery.2.1.3.nupkg' Content-Length: 224111 2016-08-22 06:21:53,453 [art-exec-235] [INFO ] (o.j.r.n.NuGetWorkContext:68) - Indexing NuGet metadata for repo 'nuget-local' on path 'jQuery.2.1.3.nupkg' 2016-08-22 06:21:53,463 [art-exec-235] [WARN ] (o.a.s.f.l.SessionLockEntry:116) - Mutable item 'nuget-local:jQuery.2.1.3.nupkg' has local modifications that will be discarded. 2016-08-22 06:21:53,464 [art-exec-235] [ERROR] (o.a.s.a.AsyncAdvice :195) - Could not execute async method: 'public abstract void org.artifactory.addon.NuGetAddon.extractNuPkgInfo(org.artifactory.fs.FileInfo,org.artifactory.common.MutableStatusHolder,boolean)'. com.hazelcast.nio.serialization.HazelcastSerializationException: java.io.NotSerializableException: org.artifactory.storage.db.fs.entity.NodeProperty at com.hazelcast.internal.serialization.impl.SerializationUtil.handleException(SerializationUtil.java:61) ~[hazelcast-3.6.1.jar:3.6.1] at com.hazelcast.internal.serialization.impl.AbstractSerializationService.toBytes(AbstractSerializationService.java:141) ~[hazelcast-3.6.1.jar:3.6.1] at com.hazelcast.internal.serialization.impl.AbstractSerializationService.toData(AbstractSerializationService.java:116) ~[hazelcast-3.6.1.jar:3.6.1] at com.hazelcast.internal.serialization.impl.AbstractSerializationService.toData(AbstractSerializationService.java:104) ~[hazelcast-3.6.1.jar:3.6.1] at com.hazelcast.spi.impl.NodeEngineImpl.toData(NodeEngineImpl.java:229) ~[hazelcast-3.6.1.jar:3.6.1] at com.hazelcast.topic.impl.TopicProxy.publish(TopicProxy.java:33) ~[hazelcast-3.6.1.jar:3.6.1] at org.artifactory.addon.ha.cluster.HazelcastServiceImpl.sendMessage(HazelcastServiceImpl.java:224) ~[artifactory-addon-ha-4.11.1.jar:na] at org.artifactory.addon.ha.HaAddonImpl.notify(HaAddonImpl.java:367) ~[artifactory-addon-ha-4.11.1.jar:na] at org.artifactory.addon.nuget.NuGetAddonImpl.addNuPkgToRepoCache(NuGetAddonImpl.java:266) ~[artifactory-addon-nuget-4.11.1.jar:na] at org.artifactory.addon.nuget.NuGetAddonImpl.extractNuPkgInfo(NuGetAddonImpl.java:86) ~[artifactory-addon-nuget-4.11.1.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_77] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_77] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_77] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_77] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.artifactory.schedule.aop.TraceableMethodInvocation.proceed(TraceableMethodInvocation.java:58) ~[artifactory-core-4.11.1.jar:na] at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) ~[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) ~[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) ~[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.artifactory.storage.fs.lock.aop.LockingAdvice.invoke(LockingAdvice.java:76) ~[artifactory-storage-common-4.11.1.jar:na] at org.artifactory.schedule.aop.AsyncAdvice.doInvoke(AsyncAdvice.java:266) ~[artifactory-core-4.11.1.jar:na] at org.artifactory.schedule.aop.CompoundInvocation.proceed(CompoundInvocation.java:58) ~[artifactory-core-4.11.1.jar:na] at org.artifactory.schedule.aop.AsyncAdvice.lambda$0(AsyncAdvice.java:190) ~[artifactory-core-4.11.1.jar:na] at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_77] at org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:104) ~[artifactory-storage-common-4.11.1.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[na:1.8.0_77] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ~[na:1.8.0_77] at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_77] Caused by: java.io.NotSerializableException: org.artifactory.storage.db.fs.entity.NodeProperty at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184) ~[na:1.8.0_77] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) ~[na:1.8.0_77] at com.google.common.collect.LinkedHashMultimap.writeObject(LinkedHashMultimap.java:549) ~[guava-18.0.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_77] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_77] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_77] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_77] at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1028) ~[na:1.8.0_77] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496) ~[na:1.8.0_77] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) ~[na:1.8.0_77] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) ~[na:1.8.0_77] at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548) ~[na:1.8.0_77] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509) ~[na:1.8.0_77] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) ~[na:1.8.0_77] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) ~[na:1.8.0_77] at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548) ~[na:1.8.0_77] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509) ~[na:1.8.0_77] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) ~[na:1.8.0_77] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) ~[na:1.8.0_77] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) ~[na:1.8.0_77] at com.hazelcast.internal.serialization.impl.JavaDefaultSerializers$JavaSerializer.write(JavaDefaultSerializers.java:242) ~[hazelcast-3.6.1.jar:3.6.1] at com.hazelcast.internal.serialization.impl.StreamSerializerAdapter.write(StreamSerializerAdapter.java:41) ~[hazelcast-3.6.1.jar:3.6.1] at com.hazelcast.internal.serialization.impl.AbstractSerializationService.toBytes(AbstractSerializationService.java:138) ~[hazelcast-3.6.1.jar:3.6.1] ... 28 common frames omitted {code}

    JFrog JIRA | 4 months ago | Alexei Vainshtein
    com.hazelcast.nio.serialization.HazelcastSerializationException: java.io.NotSerializableException: org.artifactory.storage.db.fs.entity.NodeProperty
  2. 0

    java.io.NotSerializableException: org.drools.impl.adapters.KnowledgeBaseAdapter

    GitHub | 2 years ago | jkwebster
    java.io.NotSerializableException: org.drools.impl.adapters.KnowledgeBaseAdapter
  3. 0

    Save a Object with Serializable, don´t work?

    Stack Overflow | 2 years ago
    java.io.NotSerializableException: phonebook.PhoneBook
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Serialization of a class inside the class

    Stack Overflow | 2 years ago
    java.io.NotSerializableException: com.cuistot.data.Singleton
  6. 0

    Stateful bean passivation fails because of Stateless beans references

    Stack Overflow | 1 year ago | dagandlerx
    java.io.NotSerializableException: passivateTest.NoStateBean_i02rk_Impl

  1. kjhdofjosvs 1 times, last 1 week ago
  2. treefolk 1 times, last 2 weeks ago
  3. filpgame 4 times, last 2 weeks ago
  4. Handemelindo 15 times, last 3 weeks ago
  5. eti22 1 times, last 1 month ago
11 more registered users
50 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.NotSerializableException

    org.artifactory.storage.db.fs.entity.NodeProperty

    at java.io.ObjectOutputStream.writeObject0()
  2. Java RT
    ObjectOutputStream.writeObject
    1. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)[na:1.8.0_77]
    2. java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)[na:1.8.0_77]
    2 frames
  3. Guava
    LinkedHashMultimap.writeObject
    1. com.google.common.collect.LinkedHashMultimap.writeObject(LinkedHashMultimap.java:549)[guava-18.0.jar:na]
    1 frame
  4. Java RT
    ObjectOutputStream.writeObject
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_77]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_77]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_77]
    4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_77]
    5. java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1028)[na:1.8.0_77]
    6. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496)[na:1.8.0_77]
    7. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)[na:1.8.0_77]
    8. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)[na:1.8.0_77]
    9. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)[na:1.8.0_77]
    10. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)[na:1.8.0_77]
    11. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)[na:1.8.0_77]
    12. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)[na:1.8.0_77]
    13. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)[na:1.8.0_77]
    14. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)[na:1.8.0_77]
    15. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)[na:1.8.0_77]
    16. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)[na:1.8.0_77]
    17. java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)[na:1.8.0_77]
    17 frames
  5. com.hazelcast.internal
    AbstractSerializationService.toData
    1. com.hazelcast.internal.serialization.impl.JavaDefaultSerializers$JavaSerializer.write(JavaDefaultSerializers.java:242)[hazelcast-3.6.1.jar:3.6.1]
    2. com.hazelcast.internal.serialization.impl.StreamSerializerAdapter.write(StreamSerializerAdapter.java:41)[hazelcast-3.6.1.jar:3.6.1]
    3. com.hazelcast.internal.serialization.impl.AbstractSerializationService.toBytes(AbstractSerializationService.java:138)[hazelcast-3.6.1.jar:3.6.1]
    4. com.hazelcast.internal.serialization.impl.AbstractSerializationService.toData(AbstractSerializationService.java:116)[hazelcast-3.6.1.jar:3.6.1]
    5. com.hazelcast.internal.serialization.impl.AbstractSerializationService.toData(AbstractSerializationService.java:104)[hazelcast-3.6.1.jar:3.6.1]
    5 frames
  6. Hazelcast
    TopicProxy.publish
    1. com.hazelcast.spi.impl.NodeEngineImpl.toData(NodeEngineImpl.java:229)[hazelcast-3.6.1.jar:3.6.1]
    2. com.hazelcast.topic.impl.TopicProxy.publish(TopicProxy.java:33)[hazelcast-3.6.1.jar:3.6.1]
    2 frames
  7. org.artifactory.addon
    NuGetAddonImpl.extractNuPkgInfo
    1. org.artifactory.addon.ha.cluster.HazelcastServiceImpl.sendMessage(HazelcastServiceImpl.java:224)[artifactory-addon-ha-4.11.1.jar:na]
    2. org.artifactory.addon.ha.HaAddonImpl.notify(HaAddonImpl.java:367)[artifactory-addon-ha-4.11.1.jar:na]
    3. org.artifactory.addon.nuget.NuGetAddonImpl.addNuPkgToRepoCache(NuGetAddonImpl.java:266)[artifactory-addon-nuget-4.11.1.jar:na]
    4. org.artifactory.addon.nuget.NuGetAddonImpl.extractNuPkgInfo(NuGetAddonImpl.java:86)[artifactory-addon-nuget-4.11.1.jar:na]
    4 frames
  8. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_77]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_77]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_77]
    4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_77]
    4 frames
  9. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
    2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
    3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
    3 frames
  10. org.artifactory.schedule
    TraceableMethodInvocation.proceed
    1. org.artifactory.schedule.aop.TraceableMethodInvocation.proceed(TraceableMethodInvocation.java:58)[artifactory-core-4.11.1.jar:na]
    1 frame
  11. Spring Tx
    TransactionInterceptor.invoke
    1. org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE]
    2. org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE]
    3. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE]
    3 frames
  12. org.artifactory.storage
    LockingAdvice.invoke
    1. org.artifactory.storage.fs.lock.aop.LockingAdvice.invoke(LockingAdvice.java:76)[artifactory-storage-common-4.11.1.jar:na]
    1 frame
  13. org.artifactory.schedule
    AsyncAdvice.lambda$0
    1. org.artifactory.schedule.aop.AsyncAdvice.doInvoke(AsyncAdvice.java:266)[artifactory-core-4.11.1.jar:na]
    2. org.artifactory.schedule.aop.CompoundInvocation.proceed(CompoundInvocation.java:58)[artifactory-core-4.11.1.jar:na]
    3. org.artifactory.schedule.aop.AsyncAdvice.lambda$0(AsyncAdvice.java:190)[artifactory-core-4.11.1.jar:na]
    3 frames
  14. Java RT
    FutureTask.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_77]
    1 frame
  15. org.artifactory.schedule
    ArtifactoryConcurrentExecutor$RunnableWrapper.run
    1. org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:104)[artifactory-storage-common-4.11.1.jar:na]
    1 frame
  16. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_77]
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_77]
    3. java.lang.Thread.run(Thread.java:745)[na:1.8.0_77]
    3 frames