Exception in client-side code

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Exception in client-side code

Alessandro De Maria
Hi all,

my xforms now are almost working. I can see the xforms in my
application, enter informations, choose dates etc.
However, as soon as a hit a "add item" button to my purchase order
xform, the following window appears

Exception in client-side code.

    * Message: documentElement is null
    * File: https://web01.xxxxxx.net/ops/xforms-server/xforms-min.js
    * Line number: 48

what shall I do to give you more information to debug my problem?

Thanks
Alessandro

--
Alessandro De Maria
[hidden email]
Life is too important to be taken seriously. Oscar Wilde

Mobile: 0044 789 5092951


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Exception in client-side code

Sathish K Mittapelli

Hi Alessandro,

                          Can you post your code in the forum....Then it is easy to debug
THANKS & REGARDS
SATHISH K MITTAPELLI  


--- On Tue, 17/6/08, Alessandro De Maria <[hidden email]> wrote:
From: Alessandro De Maria <[hidden email]>
Subject: [ops-users] Exception in client-side code
To: [hidden email]
Date: Tuesday, 17 June, 2008, 4:29 PM

Hi all,

my xforms now are almost working. I can see the xforms in my
application, enter informations, choose dates etc.
However, as soon as a hit a "add item" button to my purchase order
xform, the following window appears

Exception in client-side code.

* Message: documentElement is null
* File: https://web01.xxxxxx.net/ops/xforms-server/xforms-min.js
* Line number: 48

what shall I do to give you more information to debug my problem?

Thanks
Alessandro

--
Alessandro De Maria
[hidden email]
Life is too important to be taken seriously. Oscar Wilde

Mobile: 0044 789 5092951
--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws


Explore your hobbies and interests. Click here to begin.

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Exception in client-side code

Alessandro De Maria
Hi,

here is the source code.
I'm running the latest nightly build on tomcat 5.5.26. (jre6)
the client is firefox 3

Thanks
Alessandro

On Tue, Jun 17, 2008 at 12:15 PM, sathish kumar <[hidden email]> wrote:

>
> Hi Alessandro,
>
>                           Can you post your code in the forum....Then it is
> easy to debug
> THANKS & REGARDS
> SATHISH K MITTAPELLI
>
> --- On Tue, 17/6/08, Alessandro De Maria <[hidden email]>
> wrote:
>
> From: Alessandro De Maria <[hidden email]>
> Subject: [ops-users] Exception in client-side code
> To: [hidden email]
> Date: Tuesday, 17 June, 2008, 4:29 PM
>
> Hi all,
>
> my xforms now are almost working. I can see the xforms in my
> application, enter informations, choose dates etc.
> However, as soon as a hit a "add item" button to my purchase order
> xform, the following window appears
>
> Exception in client-side code.
>
>     * Message: documentElement is null
>     * File: https://web01.xxxxxx.net/ops/xforms-server/xforms-min.js
>     * Line number: 48
>
> what shall I do to give you more information to debug my problem?
>
> Thanks
> Alessandro
>
> --
> Alessandro De Maria
> [hidden email]
> Life is too important to be taken seriously. Oscar Wilde
>
> Mobile: 0044 789 5092951
>
> --
> You receive this message as a subscriber of the [hidden email] mailing
> list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2
>  mailing lists service home page: http://www.ow2.org/wws
>
> ________________________________
> Explore your hobbies and interests. Click here to begin.
>
> --
> You receive this message as a subscriber of the [hidden email] mailing
> list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
Fran Lebowitz  - "You're only has good as your last haircut."


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

CDS-PurchaseOrder.tar.gz (10K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Exception in client-side code

Sathish K Mittapelli
Hi Alessandro,

                    In your .html file there may be some syntax errors or there may be misplacing of tags....  please check all the tags whether they have properly placed or not.

THANKS & REGARDS
SATHISH K MITTAPELLI  


--- On Tue, 17/6/08, Alessandro De Maria <[hidden email]> wrote:
From: Alessandro De Maria <[hidden email]>
Subject: [ops-users] Re: Re: Exception in client-side code
To: [hidden email]
Date: Tuesday, 17 June, 2008, 4:55 PM

Hi,

here is the source code.
I'm running the latest nightly build on tomcat 5.5.26. (jre6)
the client is firefox 3

Thanks
Alessandro

On Tue, Jun 17, 2008 at 12:15 PM, sathish kumar <[hidden email]>
wrote:
>
> Hi Alessandro,
>
> Can you post your code in the forum....Then it
is
> easy to debug
> THANKS & REGARDS
> SATHISH K MITTAPELLI
>
> --- On Tue, 17/6/08, Alessandro De Maria
<[hidden email]>

> wrote:
>
> From: Alessandro De Maria <[hidden email]>
> Subject: [ops-users] Exception in client-side code
> To: [hidden email]
> Date: Tuesday, 17 June, 2008, 4:29 PM
>
> Hi all,
>
> my xforms now are almost working. I can see the xforms in my
> application, enter informations, choose dates etc.
> However, as soon as a hit a "add item" button to my purchase
order

> xform, the following window appears
>
> Exception in client-side code.
>
> * Message: documentElement is null
> * File: https://web01.xxxxxx.net/ops/xforms-server/xforms-min.js
> * Line number: 48
>
> what shall I do to give you more information to debug my problem?
>
> Thanks
> Alessandro
>
> --
> Alessandro De Maria
> [hidden email]
> Life is too important to be taken seriously. Oscar Wilde
>
> Mobile: 0044 789 5092951
>
> --
> You receive this message as a subscriber of the [hidden email] mailing
> list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2
> mailing lists service home page: http://www.ow2.org/wws
>
> ________________________________
> Explore your hobbies and interests. Click here to begin.
>
> --
> You receive this message as a subscriber of the [hidden email] mailing
> list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>



--
Fran Lebowitz - "You're only has good as your last haircut."
--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws


Unlimited freedom, unlimited storage. Get it now

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Exception in client-side code

Alessandro De Maria
Hi Satish,

is there any tool/validator I can use to make sure my XHTML file is right?
I tried to run my one against the validators available online but it
does not seem to work.
Can you give me a hint please?

Also, any reason why this was perfectly working on the previous
version of Orbeon?
Thanks
Alessandro


On Tue, Jun 17, 2008 at 1:01 PM, Sathish K Mittapelli
<[hidden email]> wrote:

> Hi Alessandro,
>
>                     In your .html file there may be some syntax errors or
> there may be misplacing of tags....  please check all the tags whether they
> have properly placed or not.
>
> THANKS & REGARDS
> SATHISH K MITTAPELLI
>
> --- On Tue, 17/6/08, Alessandro De Maria <[hidden email]>
> wrote:
>
> From: Alessandro De Maria <[hidden email]>
> Subject: [ops-users] Re: Re: Exception in client-side code
> To: [hidden email]
> Date: Tuesday, 17 June, 2008, 4:55 PM
>
> Hi,
>
> here is the source code.
> I'm running the latest nightly build on tomcat 5.5.26. (jre6)
> the client is firefox 3
>
> Thanks
> Alessandro
>
> On Tue, Jun 17, 2008 at 12:15 PM, sathish kumar <[hidden email]>
> wrote:
>>
>> Hi Alessandro,
>>
>>                           Can you post your code in the forum....Then it
> is
>> easy to debug
>> THANKS & REGARDS
>> SATHISH K MITTAPELLI
>>
>> --- On Tue, 17/6/08, Alessandro De Maria
> <[hidden email]>
>> wrote:
>>
>> From: Alessandro De Maria <[hidden email]>
>> Subject: [ops-users] Exception in client-side code
>> To: [hidden email]
>> Date: Tuesday, 17 June, 2008, 4:29 PM
>>
>> Hi all,
>>
>> my xforms now
>  are almost working. I can see the xforms in my
>> application, enter informations, choose dates etc.
>> However, as soon as a hit a "add item" button to my purchase
> order
>> xform, the following window appears
>>
>> Exception in client-side code.
>>
>>     * Message: documentElement is null
>>     * File: https://web01.xxxxxx.net/ops/xforms-server/xforms-min.js
>>     * Line number: 48
>>
>> what shall I do to give you more information to debug my problem?
>>
>> Thanks
>> Alessandro
>>
>> --
>> Alessandro De Maria
>> [hidden email]
>> Life is too important to be taken seriously. Oscar Wilde
>>
>> Mobile: 0044 789 5092951
>>
>> --
>> You receive this message as a subscriber of the [hidden email] mailing
>> list.
>> To unsubscribe: mailto:[hidden email]
>> For general help:
>  mailto:[hidden email]?subject=help
>> OW2
>>  mailing lists service home page: http://www.ow2.org/wws
>>
>> ________________________________
>> Explore your hobbies and interests. Click here to begin.
>>
>> --
>> You receive this message as a subscriber of the [hidden email] mailing
>> list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
>
>
> --
> Fran Lebowitz  - "You're only has good as your last haircut."
>
> --
> You receive this message as a subscriber of the [hidden email] mailing
> list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
> ________________________________
> Unlimited freedom, unlimited storage. Get it now
>
> --
> You receive this message as a subscriber of the [hidden email] mailing
> list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
George Carlin  - "Frisbeetarianism is the belief that when you die,
your soul goes up on the roof and gets stu...


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Exception in client-side code

Alessandro De Maria
Hi,

I found these sorts of error when validating my output html page:

#  Line 447, column 41: character "·" is not allowed in the value of
attribute "ID"

…   <span id="xforms-element-57·1" class="xforms-control xforms-output"

the "·" is an unicade character that is not translated in ISO-8859-1 & co.

Also it reports these errors as well but I think the first one is more important

#  Line 926, column 89: end tag for "TR" which is not finished

… class="xforms-repeat-begin-end"></tr>


What is adding the spurious  "·" to my pages? apache or Orbeon?
Thanks
Alessandro


On Tue, Jun 17, 2008 at 1:39 PM, Alessandro De Maria
<[hidden email]> wrote:

> Hi Satish,
>
> is there any tool/validator I can use to make sure my XHTML file is right?
> I tried to run my one against the validators available online but it
> does not seem to work.
> Can you give me a hint please?
>
> Also, any reason why this was perfectly working on the previous
> version of Orbeon?
> Thanks
> Alessandro
>
>
> On Tue, Jun 17, 2008 at 1:01 PM, Sathish K Mittapelli
> <[hidden email]> wrote:
>> Hi Alessandro,
>>
>>                     In your .html file there may be some syntax errors or
>> there may be misplacing of tags....  please check all the tags whether they
>> have properly placed or not.
>>
>> THANKS & REGARDS
>> SATHISH K MITTAPELLI
>>
>> --- On Tue, 17/6/08, Alessandro De Maria <[hidden email]>
>> wrote:
>>
>> From: Alessandro De Maria <[hidden email]>
>> Subject: [ops-users] Re: Re: Exception in client-side code
>> To: [hidden email]
>> Date: Tuesday, 17 June, 2008, 4:55 PM
>>
>> Hi,
>>
>> here is the source code.
>> I'm running the latest nightly build on tomcat 5.5.26. (jre6)
>> the client is firefox 3
>>
>> Thanks
>> Alessandro
>>
>> On Tue, Jun 17, 2008 at 12:15 PM, sathish kumar <[hidden email]>
>> wrote:
>>>
>>> Hi Alessandro,
>>>
>>>                           Can you post your code in the forum....Then it
>> is
>>> easy to debug
>>> THANKS & REGARDS
>>> SATHISH K MITTAPELLI
>>>
>>> --- On Tue, 17/6/08, Alessandro De Maria
>> <[hidden email]>
>>> wrote:
>>>
>>> From: Alessandro De Maria <[hidden email]>
>>> Subject: [ops-users] Exception in client-side code
>>> To: [hidden email]
>>> Date: Tuesday, 17 June, 2008, 4:29 PM
>>>
>>> Hi all,
>>>
>>> my xforms now
>>  are almost working. I can see the xforms in my
>>> application, enter informations, choose dates etc.
>>> However, as soon as a hit a "add item" button to my purchase
>> order
>>> xform, the following window appears
>>>
>>> Exception in client-side code.
>>>
>>>     * Message: documentElement is null
>>>     * File: https://web01.xxxxxx.net/ops/xforms-server/xforms-min.js
>>>     * Line number: 48
>>>
>>> what shall I do to give you more information to debug my problem?
>>>
>>> Thanks
>>> Alessandro
>>>
>>> --
>>> Alessandro De Maria
>>> [hidden email]
>>> Life is too important to be taken seriously. Oscar Wilde
>>>
>>> Mobile: 0044 789 5092951
>>>
>>> --
>>> You receive this message as a subscriber of the [hidden email] mailing
>>> list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help:
>>  mailto:[hidden email]?subject=help
>>> OW2
>>>  mailing lists service home page: http://www.ow2.org/wws
>>>
>>> ________________________________
>>> Explore your hobbies and interests. Click here to begin.
>>>
>>> --
>>> You receive this message as a subscriber of the [hidden email] mailing
>>> list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>
>>>
>>
>>
>>
>> --
>> Fran Lebowitz  - "You're only has good as your last haircut."
>>
>> --
>> You receive this message as a subscriber of the [hidden email] mailing
>> list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>> ________________________________
>> Unlimited freedom, unlimited storage. Get it now
>>
>> --
>> You receive this message as a subscriber of the [hidden email] mailing
>> list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
>
>
> --
> George Carlin  - "Frisbeetarianism is the belief that when you die,
> your soul goes up on the roof and gets stu...
>


--
Calvin Coolidge  - "I have never been hurt by what I have not said."


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Exception in client-side code

Sathish K Mittapelli
In reply to this post by Alessandro De Maria
Hi Alsessandro,
                           I have also obtained the same exception like this..After debugging i have found that i have misplaced my tags.I have corrected it and the problem solved for me...I didn't have any idea of the tools for validating Xhtml..

THANKS & REGARDS
SATHISH K MITTAPELLI  


--- On Tue, 17/6/08, Alessandro De Maria <[hidden email]> wrote:
From: Alessandro De Maria <[hidden email]>
Subject: [ops-users] Re: Re: Re: Re: Exception in client-side code
To: [hidden email]
Date: Tuesday, 17 June, 2008, 6:09 PM

Hi Satish,

is there any tool/validator I can use to make sure my XHTML file is right?
I tried to run my one against the validators available online but it
does not seem to work.
Can you give me a hint please?

Also, any reason why this was perfectly working on the previous
version of Orbeon?
Thanks
Alessandro


On Tue, Jun 17, 2008 at 1:01 PM, Sathish K Mittapelli
<[hidden email]> wrote:
> Hi Alessandro,
>
> In your .html file there may be some syntax errors or
> there may be misplacing of tags.... please check all the tags whether
they
> have properly placed or not.
>
> THANKS & REGARDS
> SATHISH K MITTAPELLI
>
> --- On Tue, 17/6/08, Alessandro De Maria
<[hidden email]>

> wrote:
>
> From: Alessandro De Maria <[hidden email]>
> Subject: [ops-users] Re: Re: Exception in client-side code
> To: [hidden email]
> Date: Tuesday, 17 June, 2008, 4:55 PM
>
> Hi,
>
> here is the source code.
> I'm running the latest nightly build on tomcat 5.5.26. (jre6)
> the client is firefox 3
>
> Thanks
> Alessandro
>
> On Tue, Jun 17, 2008 at 12:15 PM, sathish kumar
<[hidden email]>
> wrote:
>>
>> Hi Alessandro,
>>
>> Can you post your code in the forum....Then
it

> is
>> easy to debug
>> THANKS & REGARDS
>> SATHISH K MITTAPELLI
>>
>> --- On Tue, 17/6/08, Alessandro De Maria
> <[hidden email]>
>> wrote:
>>
>> From: Alessandro De Maria <[hidden email]>
>> Subject: [ops-users] Exception in client-side code
>> To: [hidden email]
>> Date: Tuesday, 17 June, 2008, 4:29 PM
>>
>> Hi all,
>>
>> my xforms now
> are almost working. I can see the xforms in my
>> application, enter informations, choose dates etc.
>> However, as soon as a hit a "add item" button to my purchase
> order
>> xform, the following window appears
>>
>> Exception in client-side code.
>>
>> * Message: documentElement is null
>> * File: https://web01.xxxxxx.net/ops/xforms-server/xforms-min.js
>> * Line number: 48
>>
>> what shall I do to give you more information to debug my problem?
>>
>> Thanks
>> Alessandro
>>
>> --
>> Alessandro De Maria
>> [hidden email]
>> Life is too important to be taken seriously. Oscar Wilde
>>
>> Mobile: 0044 789 5092951
>>
>> --
>> You receive this message as a subscriber of the [hidden email]
mailing

>> list.
>> To unsubscribe: mailto:[hidden email]
>> For general help:
> mailto:[hidden email]?subject=help
>> OW2
>> mailing lists service home page: http://www.ow2.org/wws
>>
>> ________________________________
>> Explore your hobbies and interests. Click here to begin.
>>
>> --
>> You receive this message as a subscriber of the [hidden email]
mailing

>> list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
>
>
> --
> Fran Lebowitz - "You're only has good as your last
haircut."

>
> --
> You receive this message as a subscriber of the [hidden email] mailing
> list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
> ________________________________
> Unlimited freedom, unlimited storage. Get it now
>
> --
> You receive this message as a subscriber of the [hidden email] mailing
> list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>



--
George Carlin - "Frisbeetarianism is the belief that when you die,
your soul goes up on the roof and gets stu...
--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws


From Chandigarh to Chennai - find friends all over India. Click here.

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Exception in client-side code

Erik Bruchez
Administrator
In reply to this post by Alessandro De Maria
> What is adding the spurious  "·" to my pages? apache or Orbeon?

Orbeon, but that is most likely not the source of your issue.

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws