Maxim

Can i know what the error is ? Are you going to fix the data not to be NULL
but to be 'null' in code? or you going to fix the XML parser annotations?

Actually* *what i see is for any column if the values are NULL in db and we
try to import the below exception occurs

-baskar



On Tue, Oct 2, 2012 at 8:46 PM, Maxim Solodovnik <[email protected]>wrote:

> It is OK to change it before export.
> Could you please send me the list of "error" fields and I'll fix it in
> trunk
>
> On Tue, Oct 2, 2012 at 9:38 PM, Baskar Rajendran <
> [email protected]
> > wrote:
>
> > If i change the column values to 'null' i am not getting these errors and
> > in backup xmls , is it advicable to change it to 'null' in DB??
> >
> > And run the admin tool for backup?
> >
> > -baskar
> >
> >
> > On Tue, Oct 2, 2012 at 8:03 PM, Baskar Rajendran <
> > [email protected]
> > > wrote:
> >
> > > Not only for rooms
> > >
> > > I am getting the backup error for almost all the tables if the column
> > > values are NULL and if i change it to 'null'
> > >
> > > DEBUG 10-02 07:28:02.303 BackupExport.java 23593 448
> > > org.openmeetings.servlet.outputhandler.BackupExport [main] - Exception
> > > While writing node of type: class
> > > org.openmeetings.app.persistence.beans.flvrecord.FlvRecording
> > > org.simpleframework.xml.core.ElementException: Value for
> > > @org.simpleframework.xml.Element(name=, data=true, required=true,
> > > type=void) on field 'fullWavAudioData' private java.lang.String
> > >
> >
> org.openmeetings.app.persistence.beans.flvrecord.FlvRecordingMetaData.fullWavAudioData
> > > is null in class
> > > org.openmeetings.app.persistence.beans.flvrecord.FlvRecordingMetaData
> > >         at
> > > org.simpleframework.xml.core.Composite.writeUnion(Composite.java:1122)
> > > ~[simple-xml-jar-2.6.6.jar:na]
> > >         at
> > >
> org.simpleframework.xml.core.Composite.writeElements(Composite.java:1098)
> > > ~[simple-xml-jar-2.6.6.jar:na]
> > >         at
> > >
> org.simpleframework.xml.core.Composite.writeSection(Composite.java:1004)
> > > ~[simple-xml-jar-2.6.6.jar:na]
> > >         at
> > > org.simpleframework.xml.core.Composite.write(Composite.java:975)
> > > ~[simple-xml-jar-2.6.6.jar:na]
> > >         at
> > > org.simpleframework.xml.core.Composite.write(Composite.java:952)
> > > ~[simple-xml-jar-2.6.6.jar:na]
> > >         at
> > > org.simpleframework.xml.core.Traverser.write(Traverser.java:236)
> > > ~[simple-xml-jar-2.6.6.jar:na]
> > >         at
> > >
> org.simpleframework.xml.core.CompositeList.write(CompositeList.java:248)
> > > ~[simple-xml-jar-2.6.6.jar:na]
> > >         at
> > >
> org.simpleframework.xml.core.Composite.writeElement(Composite.java:1256)
> > > ~[simple-xml-jar-2.6.6.jar:na]
> > >         at
> > >
> org.simpleframework.xml.core.Composite.writeElement(Composite.java:1239)
> > > ~[simple-xml-jar-2.6.6.jar:na]
> > >         at
> > > org.simpleframework.xml.core.Composite.writeUnion(Composite.java:1127)
> > > ~[simple-xml-jar-2.6.6.jar:na]
> > >         at
> > >
> org.simpleframework.xml.core.Composite.writeElements(Composite.java:1098)
> > > ~[simple-xml-jar-2.6.6.jar:na]
> > >         at
> > >
> org.simpleframework.xml.core.Composite.writeSection(Composite.java:1004)
> > > ~[simple-xml-jar-2.6.6.jar:na]
> > >         at
> > > org.simpleframework.xml.core.Composite.write(Composite.java:975)
> > > ~[simple-xml-jar-2.6.6.jar:na]
> > >         at
> > > org.simpleframework.xml.core.Composite.write(Composite.java:952)
> > > ~[simple-xml-jar-2.6.6.jar:na]
> > >         at
> > > org.simpleframework.xml.core.Traverser.write(Traverser.java:236)
> > > ~[simple-xml-jar-2.6.6.jar:na]
> > >         at
> > > org.simpleframework.xml.core.Traverser.write(Traverser.java:208)
> > > ~[simple-xml-jar-2.6.6.jar:na]
> > >         at
> > > org.simpleframework.xml.core.Traverser.write(Traverser.java:186)
> > > ~[simple-xml-jar-2.6.6.jar:na]
> > >         at
> > > org.simpleframework.xml.core.Persister.write(Persister.java:1180)
> > > ~[simple-xml-jar-2.6.6.jar:na]
> > >         at
> > > org.simpleframework.xml.core.Persister.write(Persister.java:1162)
> > > ~[simple-xml-jar-2.6.6.jar:na]
> > >         at
> > > org.simpleframework.xml.core.Persister.write(Persister.java:1140)
> > > ~[simple-xml-jar-2.6.6.jar:na]
> > >
> > >
> > > 7324,107-114  97
> > >
> > > -baskar
> > >
> > > On Tue, Oct 2, 2012 at 7:16 PM, Baskar Rajendran <
> > > [email protected]> wrote:
> > >
> > >> Can i know what's this two columns for
> > >>
> > >> externalRoomId
> > >> externalRoomType
> > >>
> > >> I  can see these column values are set to NULL but when i happen to
> run
> > >> the admin tool backup i get errors that this column is NULL.
> > >>
> > >> -baskar
> > >>
> > >
> > >
> >
>
>
>
> --
> WBR
> Maxim aka solomax
>

Reply via email to