Web Client Internal Error

The forum to discuss the Headless version of Servoy. Web, Java and Servlet development questions can all be posted here.

Web Client Internal Error

Postby bobpee » Fri Mar 07, 2008 1:04 pm

Hallo,

Can somebody please explain a little bit more what is happening here - I have created a new solution which renders with no error in Servoy's Smart Client, but give an Internal Error ( Return to Homepage) when run in the Servoy's Web Client. I'm using Servoy 3.5.5-build 518.

This is from the Server's log :

Unable to find component with id 'sv_f66fd555_3966_49c1_ad40_129e0326f4a2' in [MarkupContainer [Component id = sv_5a4a156c_58b8_4c19_b079_26c58af06d4d, page = com.servoy.j2db.server.headlessclient.MainPage, path = 0:servoy_page:servoy_dataform:forms:0:webform:servoywebform:View:sv_5a4a156c_58b8_4c19_b079_26c58af06d4d.l, isVisible = true, isVersioned = true]]. This means that you declared wicket:id=sv_f66fd555_3966_49c1_ad40_129e0326f4a2 in your markup, but that you either did not add the component to your page at all, or that the hierarchy does not match. [markup = Markup[solution:myFirstSolution, fullpath:/servoy-webclient/templates/default/myFirstSolution/addresses.html] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Servoy webclient page Copyright 2008 Servoy --> <html> <head> <title>addresses - Servoy</title> <link href='/servoy-webclient/templates/default/servoy_web_client_default_t1204884842609t.css' type='text/css' rel='stylesheet'/><servoy:head> <link rel='stylesheet' type='text/css' href='/servoy-webclient/templates/default/myFirstSolution/addresses_t1204884842609t.css'/> </servoy:head> </head> <body id='servoy_page'> <form id='servoy_dataform'> <servoy:panel> <div id="form_addresses" servoy:id="servoywebform"> <div servoy:id="View"> <div style="top: 0px;left: 0px;width: 70px;height: 480px;position: absolute" servoy:id="default_navigator"></div><div id="sv_5a4a156c_58b8_4c19_b079_26c58af06d4d" servoy:id="sv_5a4a156c_58b8_4c19_b079_26c58af06d4d"> <input name="address_id" servoy:id="sv_66d4ffc1_1496_4624_955d_d53688e833e4" class="sv_66d4ffc1_1496_4624_955d_d53688e833e4 field" type="text"/> <label style="white-space: nowrap;" for="sv_66d4ffc1_1496_4624_955d_d53688e833e4" servoy:id="sv_ca15abc0_8373_4089_be61_4bc4be290d36" class="sv_ca15abc0_8373_4089_be61_4bc4be290d36 label">Address Id</label> <input name="address_type_id" servoy:id="sv_dfbb5a33_ef9e_4a59_a631_7e1cf08916c0" class="sv_dfbb5a33_ef9e_4a59_a631_7e1cf08916c0 field" type="text"/> <label style="white-space: nowrap;" for="sv_dfbb5a33_ef9e_4a59_a631_7e1cf08916c0" servoy:id="sv_6c90a9ef_67e1_493d_8c85_b1e2ca5c2944" class="sv_6c90a9ef_67e1_493d_8c85_b1e2ca5c2944 label">Address Type Id</label> <input name="city" servoy:id="sv_9dc0dae7_7983_46b8_b684_f391445ea332" class="sv_9dc0dae7_7983_46b8_b684_f391445ea332 field" type="text"/> <label style="white-space: nowrap;" for="sv_9dc0dae7_7983_46b8_b684_f391445ea332" servoy:id="sv_b57cc084_bf5d_490f_823f_0893606cdf96" class="sv_b57cc084_bf5d_490f_823f_0893606cdf96 label">City</label> <input name="company_id" servoy:id="sv_7cb422fc_d1ac_40f9_82c8_2be2b729390d" class="sv_7cb422fc_d1ac_40f9_82c8_2be2b729390d field" type="text"/> <label style="white-space: nowrap;" for="sv_7cb422fc_d1ac_40f9_82c8_2be2b729390d" servoy:id="sv_8477983d_1f7e_4301_96e3_ab6981d25711" class="sv_8477983d_1f7e_4301_96e3_ab6981d25711 label">Company Id</label> <input name="country" servoy:id="sv_a1915530_3123_4b91_b987_d65f93ad9805" class="sv_a1915530_3123_4b91_b987_d65f93ad9805 field" type="text"/> <label style="white-space: nowrap;" for="sv_a1915530_3123_4b91_b987_d65f93ad9805" servoy:id="sv_3f551929_64cb_4b12_a545_f782f1811d7a" class="sv_3f551929_64cb_4b12_a545_f782f1811d7a label">Country</label> <input name="county" servoy:id="sv_d1273ea6_619a_41ed_992d_d1b7efa67efd" class="sv_d1273ea6_619a_41ed_992d_d1b7efa67efd field" type="text"/> <label style="white-space: nowrap;" for="sv_d1273ea6_619a_41ed_992d_d1b7efa67efd" servoy:id="sv_d1db1537_b684_4679_aa74_a990827f93f6" class="sv_d1db1537_b684_4679_aa74_a990827f93f6 label">County</label> <input name="email" servoy:id="sv_97e7e38e_624a_4728_a182_e55b1fb5d2ba" class="sv_97e7e38e_624a_4728_a182_e55b1fb5d2ba field" type="text"/> <label style="white-space: nowrap;" for="sv_97e7e38e_624a_4728_a182_e55b1fb5d2ba" servoy:id="sv_6222f3ac_ada1_42f9_8b91_2ffd85efaa69" class="sv_6222f3ac_ada1_42f9_8b91_2ffd85efaa69 label">Email</label> <div style='overflow: auto'><table servoy:id="sv_f66fd555_3966_49c1_ad40_129e0326f4a2" cellpadding="0" class="sv_f66fd555_3966_49c1_ad40_129e0326f4a2 portal" cellspacing="0"> <tr><td height='99%'><table border=0 cellpadding=0 cellspacing=1 width='100%'> <thead ><tr class='headerbuttons'> <th width='136' class='nosort'><span style="" servoy:id="sv_5885d923_58c2_47f4_8e17_cba6788ddb41"></span></th> <th width='136' class='nosort'><span style="" servoy:id="sv_60a09f40_5233_41f7_bbe8_3fd6665a78d9"></span></th> <th width='136' class='nosort'><span style="" servoy:id="sv_835e6f5f_5c30_40c2_af2d_9908305e39e6"></span></th> <th width='136' class='nosort'><span style="" servoy:id="sv_2311083c_9658_4304_9b70_ce12d9cf8e0b"></span></th> <th width='136' class='nosort'><span style="" servoy:id="sv_e19c7acf_f715_4ea5_aef5_34a5ff5484e4"></span></th> <th width='136' class='nosort'><span style="" servoy:id="sv_a9384e11_fe64_41a8_9779_8075327840db"></span></th> <th width='136' class='nosort'><span style="" servoy:id="sv_da87b8d2_ea15_4189_a4e0_7c40232084be"></span></th> <th width='136' class='nosort'><span style="" servoy:id="sv_6c7077d7_6d9f_47f8_964a_30bf024281b0"></span></th> <th width='136' class='nosort'><span style="" servoy:id="sv_b024c815_8f0a_4c7c_bda5_3211f62bddab"></span></th> <th width='136' class='nosort'><span style="" servoy:id="sv_eeaae086_14fa_4e99_bdd4_5b7c357e5a22"></span></th> <th width='136' class='nosort'><span style="" servoy:id="sv_a0f931be_7d70_4935_bea6_d4368296584e"></span></th> <th width='136' class='nosort'><span style="" servoy:id="sv_025bdba9_dde4_4605_a457_b74f1ee152ab"></span></th> <th width='136' class='nosort'><span style="" servoy:id="sv_a80ebbf7_c5c6_41ac_9098_d722ff499c8e"></span></th> <th width='136' class='nosort'><span style="" servoy:id="sv_3fb49aa7_5fbc_4b57_8408_0f704cec15fd"></span></th> <th width='136' class='nosort'><span style="" servoy:id="sv_42308dad_e87b_4c34_ad06_f8d4b1adaef2"></span></th> <th width='136' class='nosort'><span style="" servoy:id="sv_e58a6b00_125d_4c29_a1ff_953ff09510d2"></span></th> <th width='136' class='nosort'><span style="" servoy:id="sv_3fd68d51_b4bd_4293_b87e_4d02081766f7"></span></th> </tr></thead> <tbody> <tr servoy:id="rows"> <td height="20" servoy:id="sv_5885d923_58c2_47f4_8e17_cba6788ddb41_"><input name="addresses_to_companies.company_id" servoy:id="sv_5885d923_58c2_47f4_8e17_cba6788ddb41" class="sv_5885d923_58c2_47f4_8e17_cba6788ddb41 field" type="text"/></td> <td height="20" servoy:id="sv_60a09f40_5233_41f7_bbe8_3fd6665a78d9_"><input name="addresses_to_companies.company_name" servoy:id="sv_60a09f40_5233_41f7_bbe8_3fd6665a78d9" class="sv_60a09f40_5233_41f7_bbe8_3fd6665a78d9 field" type="text"/></td> <td height="20" servoy:id="sv_835e6f5f_5c30_40c2_af2d_9908305e39e6_"><input name="addresses_to_companies.html_sales" servoy:id="sv_835e6f5f_5c30_40c2_af2d_9908305e39e6" class="sv_835e6f5f_5c30_40c2_af2d_9908305e39e6 field" type="text"/></td> <td height="20" servoy:id="sv_2311083c_9658_4304_9b70_ce12d9cf8e0b_"><input name="addresses_to_companies.company_category" servoy:id="sv_2311083c_9658_4304_9b70_ce12d9cf8e0b" class="sv_2311083c_9658_4304_9b70_ce12d9cf8e0b field" type="text"/></td> <td height="20" servoy:id="sv_e19c7acf_f715_4ea5_aef5_34a5ff5484e4_"><input name="addresses_to_companies.company_notes" servoy:id="sv_e19c7acf_f715_4ea5_aef5_34a5ff5484e4" class="sv_e19c7acf_f715_4ea5_aef5_34a5ff5484e4 field" type="text"/></td> <td height="20" servoy:id="sv_a9384e11_fe64_41a8_9779_8075327840db_"><input name="addresses_to_companies.html_sales2" servoy:id="sv_a9384e11_fe64_41a8_9779_8075327840db" class="sv_a9384e11_fe64_41a8_9779_8075327840db field" type="text"/></td> <td height="20" servoy:id="sv_da87b8d2_ea15_4189_a4e0_7c40232084be_"><input name="addresses_to_companies.company_description" servoy:id="sv_da87b8d2_ea15_4189_a4e0_7c40232084be" class="sv_da87b8d2_ea15_4189_a4e0_7c40232084be field" type="text"/></td> <td height="20" servoy:id="sv_6c7077d7_6d9f_47f8_964a_30bf024281b0_"><input name="addresses_to_companies.company_type_id" servoy:id="sv_6c7077d7_6d9f_47f8_964a_30bf024281b0" class="sv_6c7077d7_6d9f_47f8_964a_30bf024281b0 field" type="text"/></td> <td height="20" servoy:id="sv_b024c815_8f0a_4c7c_bda5_3211f62bddab_"><input name="addresses_to_companies.is_active" servoy:id="sv_b024c815_8f0a_4c7c_bda5_3211f62bddab" class="sv_b024c815_8f0a_4c7c_bda5_3211f62bddab field" type="text"/></td> <td height="20" servoy:id="sv_eeaae086_14fa_4e99_bdd4_5b7c357e5a22_"><input name="addresses_to_companies.company_email" servoy:id="sv_eeaae086_14fa_4e99_bdd4_5b7c357e5a22" class="sv_eeaae086_14fa_4e99_bdd4_5b7c357e5a22 field" type="text"/></td> <td height="20" servoy:id="sv_a0f931be_7d70_4935_bea6_d4368296584e_"><input name="addresses_to_companies.company_url" servoy:id="sv_a0f931be_7d70_4935_bea6_d4368296584e" class="sv_a0f931be_7d70_4935_bea6_d4368296584e field" type="text"/></td> <td height="20" servoy:id="sv_025bdba9_dde4_4605_a457_b74f1ee152ab_"><input name="addresses_to_companies.modification_date" servoy:id="sv_025bdba9_dde4_4605_a457_b74f1ee152ab" class="sv_025bdba9_dde4_4605_a457_b74f1ee152ab field" type="text"/></td> <td height="20" servoy:id="sv_a80ebbf7_c5c6_41ac_9098_d722ff499c8e_"><input name="addresses_to_companies.company_industry" servoy:id="sv_a80ebbf7_c5c6_41ac_9098_d722ff499c8e" class="sv_a80ebbf7_c5c6_41ac_9098_d722ff499c8e field" type="text"/></td> <td height="20" servoy:id="sv_3fb49aa7_5fbc_4b57_8408_0f704cec15fd_"><input name="addresses_to_companies.creation_date" servoy:id="sv_3fb49aa7_5fbc_4b57_8408_0f704cec15fd" class="sv_3fb49aa7_5fbc_4b57_8408_0f704cec15fd field" type="text"/></td> <td height="20" servoy:id="sv_42308dad_e87b_4c34_ad06_f8d4b1adaef2_"><input name="addresses_to_companies.modification_user" servoy:id="sv_42308dad_e87b_4c34_ad06_f8d4b1adaef2" class="sv_42308dad_e87b_4c34_ad06_f8d4b1adaef2 field" type="text"/></td> <td height="20" servoy:id="sv_e58a6b00_125d_4c29_a1ff_953ff09510d2_"><input name="addresses_to_companies.creation_user" servoy:id="sv_e58a6b00_125d_4c29_a1ff_953ff09510d2" class="sv_e58a6b00_125d_4c29_a1ff_953ff09510d2 field" type="text"/></td> <td height="20" servoy:id="sv_3fd68d51_b4bd_4293_b87e_4d02081766f7_"><input name="addresses_to_companies.order_item_id" servoy:id="sv_3fd68d51_b4bd_4293_b87e_4d02081766f7" class="sv_3fd68d51_b4bd_4293_b87e_4d02081766f7 field" type="text"/></td> </tr> </tbody></table> </td></tr> <tr valign='bottom'> <td height="1%" servoy:id="navigator"> </td> </tr> </table> </div> </div> </div> </div> </servoy:panel> </form> </body> </html> , index = 59, current = '<table servoy:id="sv_f66fd555_3966_49c1_ad40_129e0326f4a2" cellpadding="0" class="sv_f66fd555_3966_49c1_ad40_129e0326f4a2 portal" cellspacing="0">' (line 31, column 29)]
User avatar
bobpee
 
Posts: 81
Joined: Tue Mar 04, 2008 1:05 pm

Re: Web Client Internal Error

Postby bobpee » Fri Mar 07, 2008 2:30 pm

A check in Tomcat's log file shows the following:

127.0.0.1 - - [07/Mar/2008:13:03:32 +0100] "GET /servoy-webclient/solutions/solution/myFirstSolution/ HTTP/1.1" 500 1353
127.0.0.1 - - [07/Mar/2008:13:03:45 +0100] "GET /servoy-admin/log HTTP/1.1" 200 128308
127.0.0.1 - - [07/Mar/2008:13:10:42 +0100] "GET /servoy-webclient/solutions/solution/myFirstSolution HTTP/1.1" 500 1353
127.0.0.1 - - [07/Mar/2008:13:10:50 +0100] "GET /servoy-client/servoy_client/myFirstSolution.jnlp HTTP/1.1" 304 -
127.0.0.1 - - [07/Mar/2008:13:11:37 +0100] "POST /servoy-admin/log HTTP/1.1" 200 184902

Apparently, it is a HTTP 304 error which www.w3.org defines as "If the client has performed a conditional GET request and access is allowed, but the document has not been modified, the server SHOULD respond with this status code. The 304 response MUST NOT contain a message-body, and thus is always terminated by the first empty line after the header fields.".

Could this be a bug in Servoy 3.5.5-build 518?
Bob Prah,
[Servoy 5.2.4 - build 1006]
User avatar
bobpee
 
Posts: 81
Joined: Tue Mar 04, 2008 1:05 pm

Postby jcompagner » Mon Mar 10, 2008 12:30 pm

please dont double post
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Servoy Headless Client

Who is online

Users browsing this forum: No registered users and 9 guests

cron