java.lang.IllegalStateException when trying to upload a form

I'm attempting to upload a form through the Form Manager, after
logging in with an Aggregate account.
I cannot fullfill the request because Tomcat throws the following
exception: http://pastebin.com/nXuQeaXv

Giovanni

Could you send me your form? ( mailto:mitchellsundt@gmail.com ) I've been
unable to reproduce the problem here.

From the stack trace, it appears that you have created a form using a
element.

Note that ODK Collect 1.1.7 doesn't support the element (it
will in 1.1.8).

ODK Aggregate 1.0 requires that the submission element have exactly the same
form id as the top-level form element. So if you have:

...



...

...



...
<submission ... ref="/myform/mysubmissionpart" .../>

ODK Aggregate requires that the id (or xmlns, if you don't specify a form id
using the id tag), version and uiVersion of the top-level element (/myform)
must match exactly the id, version and uiVersion of the submitted subset of
the form (/myform/mysubmissionpart).

Note also that Javarosa only supports one tag.

Mitch

··· On Tue, Oct 4, 2011 at 10:13 AM, giohappy wrote:

I'm attempting to upload a form through the Form Manager, after
logging in with an Aggregate account.
I cannot fullfill the request because Tomcat throws the following
exception: http://pastebin.com/nXuQeaXv

Giovanni

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Mitch Sundt
Software Engineer

University of Washington
mitchellsundt@gmail.com

To clarify, Collect 1.1.7 at least supports the element as far
as setting the URL to where the data should be submitted. If javarosa
already supports the element as far as choosing which elements
get submitted, then that should work, too.

··· On Tue, Oct 4, 2011 at 10:55 AM, Mitch Sundt wrote:

Could you send me your form? ( mailto:mitchellsundt@gmail.com ) I've been
unable to reproduce the problem here.

From the stack trace, it appears that you have created a form using a
element.

Note that ODK Collect 1.1.7 doesn't support the element (it
will in 1.1.8).

ODK Aggregate 1.0 requires that the submission element have exactly the
same form id as the top-level form element. So if you have:

...



...

...



...
<submission ... ref="/myform/mysubmissionpart" .../>

ODK Aggregate requires that the id (or xmlns, if you don't specify a form
id using the id tag), version and uiVersion of the top-level element
(/myform) must match exactly the id, version and uiVersion of the submitted
subset of the form (/myform/mysubmissionpart).

Note also that Javarosa only supports one tag.

Mitch

On Tue, Oct 4, 2011 at 10:13 AM, giohappy giohappy@gmail.com wrote:

I'm attempting to upload a form through the Form Manager, after
logging in with an Aggregate account.
I cannot fullfill the request because Tomcat throws the following
exception: http://pastebin.com/nXuQeaXv

Giovanni

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Mitch Sundt
Software Engineer
http://www.OpenDataKit.org
University of Washington
mitchellsundt@gmail.com

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

Mmm, thanks for the explanations. I'm working on the Aggregate side of
ODK, while some collegues are managing the Build/Collect phase. I'll
study the forms structure better and let you know.
The form I've used for the test was build.xml, from the form examples
you provide.

giovanni

··· On 4 Ott, 20:06, Carl Hartung wrote: > To clarify, Collect 1.1.7 at least supports the element as far > as setting the URL to where the data should be submitted. If javarosa > already supports the element as far as choosing which elements > get submitted, then that should work, too. > > On Tue, Oct 4, 2011 at 10:55 AM, Mitch Sundt wrote: > > > > > > > > > Could you send me your form? ( mailto:mitchellsu...@gmail.com ) I've been > > unable to reproduce the problem here. > > > From the stack trace, it appears that you have created a form using a > > element. > > > Note that ODK Collect 1.1.7 doesn't support the element (it > > will in 1.1.8). > > > ODK Aggregate 1.0 requires that the submission element have exactly the > > same form id as the top-level form element. So if you have: > > > ... > > > > > > > > ... > > > > ... > > > > > > > > ... > > > > > > > ODK Aggregate requires that the id (or xmlns, if you don't specify a form > > id using the id tag), version and uiVersion of the top-level element > > (/myform) must match exactly the id, version and uiVersion of the submitted > > subset of the form (/myform/mysubmissionpart). > > > Note also that Javarosa only supports one tag. > > > Mitch > > > On Tue, Oct 4, 2011 at 10:13 AM, giohappy wrote: > > >> I'm attempting to upload a form through the Form Manager, after > >> logging in with an Aggregate account. > >> I cannot fullfill the request because Tomcat throws the following > >> exception:http://pastebin.com/nXuQeaXv > > >> Giovanni > > >> -- > >> Post: opendatakit@googlegroups.com > >> Unsubscribe: opendatakit+unsubscribe@googlegroups.com > >> Options:http://groups.google.com/group/opendatakit?hl=en > > > -- > > Mitch Sundt > > Software Engineer > >http://www.OpenDataKit.org > > University of Washington > > mitchellsu...@gmail.com > > > -- > > Post: opendatakit@googlegroups.com > > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > > Options:http://groups.google.com/group/opendatakit?hl=en

Do you mean Basic.xml?

If it wasn't a form example from this site:
http://code.google.com/p/opendatakit/source/browse?repo=forms
please send me the link and/or form.

Mitch

··· On Wed, Oct 5, 2011 at 2:12 AM, giohappy wrote:

Mmm, thanks for the explanations. I'm working on the Aggregate side of
ODK, while some collegues are managing the Build/Collect phase. I'll
study the forms structure better and let you know.
The form I've used for the test was build.xml, from the form examples
you provide.

giovanni

On 4 Ott, 20:06, Carl Hartung carlhart...@gmail.com wrote:

To clarify, Collect 1.1.7 at least supports the element as
far
as setting the URL to where the data should be submitted. If javarosa
already supports the element as far as choosing which
elements
get submitted, then that should work, too.

On Tue, Oct 4, 2011 at 10:55 AM, Mitch Sundt <msu...@cs.washington.edu wrote:

Could you send me your form? ( mailto:mitchellsu...@gmail.com ) I've
been
unable to reproduce the problem here.

From the stack trace, it appears that you have created a form using a
element.

Note that ODK Collect 1.1.7 doesn't support the element
(it
will in 1.1.8).

ODK Aggregate 1.0 requires that the submission element have exactly the
same form id as the top-level form element. So if you have:

...



...

...



...
<submission ... ref="/myform/mysubmissionpart" .../>

ODK Aggregate requires that the id (or xmlns, if you don't specify a
form
id using the id tag), version and uiVersion of the top-level element
(/myform) must match exactly the id, version and uiVersion of the
submitted
subset of the form (/myform/mysubmissionpart).

Note also that Javarosa only supports one tag.

Mitch

On Tue, Oct 4, 2011 at 10:13 AM, giohappy gioha...@gmail.com wrote:

I'm attempting to upload a form through the Form Manager, after
logging in with an Aggregate account.
I cannot fullfill the request because Tomcat throws the following
exception:http://pastebin.com/nXuQeaXv

Giovanni

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options:http://groups.google.com/group/opendatakit?hl=en

--
Mitch Sundt
Software Engineer
http://www.OpenDataKit.org
University of Washington
mitchellsu...@gmail.com

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options:http://groups.google.com/group/opendatakit?hl=en

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Mitch Sundt
Software Engineer
http://www.OpenDataKit.org
University of Washington
mitchellsundt@gmail.com