polygene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jiri Jetmar <juergen.jet...@gmail.com>
Subject Re: ZEST-23 shows a strange error...
Date Wed, 20 May 2015 07:09:22 GMT
@Paul - All the best !

Cheers,
jj

2015-05-20 2:22 GMT+02:00 Niclas Hedhman <niclas@hedhman.org>:

> Sorry to hear about the accident... I hope you will have a speedy and
> complete recovery.
>
> It is attached to ZEST-23.
>
> Cheers
> Niclas
>
> On Tue, May 19, 2015 at 4:37 PM, Paul Merlin <paul@nosphere.org> wrote:
>
> > Niclas,
> >
> > Could you provide the failing test-case?
> >
> > I've been away lately, mostly because I had a little accident that
> > immobilized me a week or so. Nothing fatal, tibia nerves and ligaments
> > crushed. I'm recovering and will try to take a look in the coming days.
> >
> > Cheers
> >
> > /Paul
> >
> >
> > Niclas Hedhman a écrit :
> > > A very simple testcase fails in 'develop', and I can't dig into the
> > > serialization code to figure out why an Array is expected but an Object
> > is
> > > given/found.
> > >
> > > Trimmed exception below.
> > >
> > > java.lang.IllegalStateException: Could not serialize-copy Value
> > >     at
> > >
> >
> org.qi4j.runtime.value.ValueBuilderWithPrototype.<init>(ValueBuilderWithPrototype.java:55)
> > >     at
> > >
> >
> org.qi4j.runtime.value.ValueBuilderInstance.newInstance(ValueBuilderInstance.java:76)
> > >     at
> > >
> >
> org.qi4j.runtime.value.ValueSerializationRegressionTest.givenNewValueWhenConvertingToEntityExpectNewEntityInStore(ValueSerializationRegressionTest.java:40)
> > >     <snip/>
> > >     at
> > com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)
> > > Caused by: org.qi4j.api.value.ValueSerializationException: Expected an
> > > array but got {}
> > >     at
> > >
> >
> org.qi4j.valueserialization.orgjson.OrgJsonValueDeserializer.putArrayNodeInMap(OrgJsonValueDeserializer.java:431)
> > >     at
> > >
> >
> org.qi4j.spi.value.ValueDeserializerAdapter.deserializeNodeMap(ValueDeserializerAdapter.java:864)
> > >     at
> > >
> >
> org.qi4j.spi.value.ValueDeserializerAdapter.doDeserializeInputNodeValue(ValueDeserializerAdapter.java:758)
> > >     at
> > >
> >
> org.qi4j.spi.value.ValueDeserializerAdapter.access$100(ValueDeserializerAdapter.java:96)
> > >     at
> > >
> >
> org.qi4j.spi.value.ValueDeserializerAdapter$20.map(ValueDeserializerAdapter.java:708)
> > >     at
> > >
> >
> org.qi4j.valueserialization.orgjson.OrgJsonValueDeserializer.getObjectFieldValue(OrgJsonValueDeserializer.java:396)
> > >     at
> > >
> >
> org.qi4j.spi.value.ValueDeserializerAdapter.deserializeValueComposite(ValueDeserializerAdapter.java:687)
> > >     at
> > >
> >
> org.qi4j.spi.value.ValueDeserializerAdapter.deserializeNodeValueComposite(ValueDeserializerAdapter.java:608)
> > >     at
> > >
> >
> org.qi4j.spi.value.ValueDeserializerAdapter.deserializeValueComposite(ValueDeserializerAdapter.java:586)
> > >     at
> > >
> >
> org.qi4j.spi.value.ValueDeserializerAdapter.doDeserialize(ValueDeserializerAdapter.java:502)
> > >     at
> > >
> >
> org.qi4j.spi.value.ValueDeserializerAdapter.deserializeRoot(ValueDeserializerAdapter.java:474)
> > >     at
> > >
> >
> org.qi4j.spi.value.ValueDeserializerAdapter.deserialize(ValueDeserializerAdapter.java:396)
> > >     at
> > >
> >
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> > > <snip/>
> > >
> >
>
>
>
> --
> Niclas Hedhman, Software Developer
> http://zest.apache.org - New Energy for Java
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message