https://www.servoyforge.net/https://www.servoyforge.net/favicon.ico?15734228272018-04-17T19:11:43ZServoyForgeVelocityReport Plugin - Defect #1325: Velocity webservice defect after update to Servoy 8.3 RChttps://www.servoyforge.net/issues/1325?journal_id=42042018-04-17T19:11:43ZSjoerd Hannemasjoerd@mutasport.nl
<ul></ul><p>Velocity plugin version: 3.5.55</p> VelocityReport Plugin - Defect #1325: Velocity webservice defect after update to Servoy 8.3 RChttps://www.servoyforge.net/issues/1325?journal_id=42052018-04-24T10:08:25ZSjoerd Hannemasjoerd@mutasport.nl
<ul></ul><p>Just updated to Servoy 8.3 RC2. The Velocity webclient is still not working OK. <br />First webpage is loaded but then after clicking I get different errors. Looks like it's closing connection before returning the results of the new context.<br />Type of application is: POOL.</p>
<p>Error in developer:<br /> <code>ERROR com.servoy.j2db.util.Debug - Invocation of method 'get' in class net.stuff.servoy.util.velocity.RecordWrapper threw exception java.lang.NoClassDefFoundError: org/mozilla/javascript/CharSequenceBuffer at /template/products_overview_page.html[line 87, column 81]<br /></code></p>
<p>Error in webpage result:<br /><code>HTTP Status 400 - java.lang.RuntimeException: Result is null for this request at net.stuff.servoy.plugin.velocityreport.server.VelocityWebServlet.vrService(VelocityWebServlet.java:1213) at net.stuff.servoy.plugin.velocityreport.server.VelocityWebServlet.doGet(VelocityWebServlet.java:201) at javax.servlet.http.HttpServlet.service(HttpServlet.java:618) at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) at com.servoy.j2db.server.servlets.WebServicesServlet.service(WebServicesServlet.java:40) at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)</code></p> VelocityReport Plugin - Defect #1325: Velocity webservice defect after update to Servoy 8.3 RChttps://www.servoyforge.net/issues/1325?journal_id=42082018-05-06T19:28:41ZSjoerd Hannemasjoerd@mutasport.nl
<ul></ul><p>Servoy 8.3 is final since last friday. Velocity/servoy-service is still give errors and is not working anymore like in Servoy 8.2.3. <br />Any update on what is changed in latest version of Servoy what has broken the Velocity plugin?</p>
<p>Error in browser:<br /><code>HTTP Status 400 - com.servoy.j2db.ExitScriptException: killing current script, client/solution already terminated at com.servoy.j2db.scripting.ServoyWrapFactory.wrap(ServoyWrapFactory.java:69) at org.mozilla.javascript.Context.javaToJS(Context.java:1838) at net.stuff.servoy.plugin.velocityreport.server.VelocityWebServlet.getParametersMap(VelocityWebServlet.java:1956) at net.stuff.servoy.plugin.velocityreport.server.VelocityWebServlet.vrService(VelocityWebServlet.java:622) at net.stuff.servoy.plugin.velocityreport.server.VelocityWebServlet.doGet(VelocityWebServlet.java:201) at javax.servlet.http.HttpServlet.service(HttpServlet.java:618) at jav</code></p>
<p>Error in Developer --> Calculations etc give also errors:<br /><code>ERROR com.servoy.j2db.util.Debug - Exceptie bij het uitvoeren van berekening: html_message_subject van tabel muta_messages_service, fout com.servoy.j2db.ExitScriptException: killing current script, client/solution already terminated<br />ERROR com.servoy.j2db.util.Debug - error executing calc: html_message_subject<br />ERROR com.servoy.j2db.util.Debug - Exceptie bij het uitvoeren van berekening: html_message_subject van tabel muta_messages_service, fout com.servoy.j2db.ExitScriptException: killing current script, client/solution already terminated<br />ERROR com.servoy.j2db.util.Debug - error executing calc: html_message_subject</code></p> VelocityReport Plugin - Defect #1325: Velocity webservice defect after update to Servoy 8.3 RChttps://www.servoyforge.net/issues/1325?journal_id=42092018-05-06T19:45:36ZPatrick Talbot
<ul></ul><p>Yes, I was waiting for a final version to do some more digging. There is likely some class changes in Servoy internals that are causing this, possibly jar version mismatch. I will get to it this week, hopefully I'll be able to find out what's going on.</p> VelocityReport Plugin - Defect #1325: Velocity webservice defect after update to Servoy 8.3 RChttps://www.servoyforge.net/issues/1325?journal_id=42332018-05-17T19:03:18ZPatrick Talbot
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li></ul><p>The class org.mozilla.javascript.CharSequenceBuffer is no longer present in Servoy 8.3 Rhino lib/js.jar - I've removed the reference to it.<br />No other issue was reproducible using a clean install of Servoy 8.3 with a pretty large Velocity application.<br />Changes done in v3.5.56</p> VelocityReport Plugin - Defect #1325: Velocity webservice defect after update to Servoy 8.3 RChttps://www.servoyforge.net/issues/1325?journal_id=42342018-05-17T20:31:51ZSjoerd Hannemasjoerd@mutasport.nl
<ul></ul><p>Hello Patrick,</p>
<p>I have downloaded the updated plugin v3.5.56 and installed in my 8.3 version. It's still the same error and behaviour. <br />Errors: killing current script, client/solution already terminated</p>
<p>What I have not tested is a fresh install of version 8.3 with the new plugin version. Any tips or do I have to do a fresh install?</p> VelocityReport Plugin - Defect #1325: Velocity webservice defect after update to Servoy 8.3 RChttps://www.servoyforge.net/issues/1325?journal_id=42352018-05-17T20:54:36ZPatrick Talbot
<ul></ul><p>I would advise testing with a fresh install.</p>
<p>As I said, apart from the CharSequenceBuffer which I have fixed in v3.5.56, I have seen no other issues on a big app of one of my clients on a fresh developer 8.3 installation. Yet the application is pretty complex and uses lots of Velocity features, including authentication, session stored variables, cookies, PDF rendering, calls to external services, etc.</p> VelocityReport Plugin - Defect #1325: Velocity webservice defect after update to Servoy 8.3 RChttps://www.servoyforge.net/issues/1325?journal_id=42362018-05-18T18:26:55ZSjoerd Hannemasjoerd@mutasport.nl
<ul></ul><p>Hello Patrick,</p>
<p>Today I tested the updated plugin-file (Velocity-v3.5.56.zip) with a fresh install of Servoy 8.3. A new workspace and imported solution VelocityWebClient. <br />After installation and changing plugin-settings the website is running: <a class="external" href="http://localhost:8080/servoy-service/velocity/VelocityWebClient/index.html">http://localhost:8080/servoy-service/velocity/VelocityWebClient/index.html</a></p>
<p>Fist page is running fine. Also the companies, contacts, contact Grid.</p>
<p>Plugin is giving problems with contact list PDF. "HTTP Status 400 - java.lang.RuntimeException: Result is null for this request at " <br />JSON, XML is working. The XLS is also downloading a file. But with strange content. It's HTML content and not XLS format.</p>
<p>On the test-page: Show-Javascript error is given also problems. "killing current script, client/solution already terminated".<br />When browser/website is in this error every page of the VelocityWebClient website is in the same error. First the session has to be closed by closing the browser.</p>
<p>Please check again. I can't see any difference with plugin version v3.5.55.</p> VelocityReport Plugin - Defect #1325: Velocity webservice defect after update to Servoy 8.3 RChttps://www.servoyforge.net/issues/1325?journal_id=42382018-05-22T21:09:25ZSjoerd Hannemasjoerd@mutasport.nl
<ul></ul><p>Hello Patrick,</p>
<p>After some more testing I can conclude that version 3.5.56 is working OK. <br />For some reason I had a conflict in bootstrap.js. There was a old bootstrap.js file loaded and conflicting. After clean install it was still conflicting because of browser cache.<br />After removing cache the clean install Servoy 8.3 was working with velocity. After some debug time I found the double bootstrap install.</p> VelocityReport Plugin - Defect #1325: Velocity webservice defect after update to Servoy 8.3 RChttps://www.servoyforge.net/issues/1325?journal_id=42572018-05-30T10:27:24ZRobert Ivens
<ul></ul><p>About the <em>HTTP Status 400 - com.servoy.j2db.ExitScriptException: killing current script.</em><br />I noticed that a client was open on the server with no solution (in developer). It couldn't be closed either from the servoy-admin page.<br />When I ran a solution it opened another client. When I then used velocity it opened another client and gave me the error. So 3 clients open. Which is not correct in a Developer environment I think.<br />Anyway, after restarting Developer this ghost client was gone and everything worked normally again.</p>
<p>So perhaps the the 'killed current script' has something to do with hanging sessions (clients)?<br />My experience was with v3.5.56 in Servoy 8.2.3</p> VelocityReport Plugin - Defect #1325: Velocity webservice defect after update to Servoy 8.3 RChttps://www.servoyforge.net/issues/1325?journal_id=42582018-05-30T11:18:22ZSjoerd Hannemasjoerd@mutasport.nl
<ul></ul><p>I think also that hanging sessions can be the problem. Or conflicts with other plugins. <br />With testing I restarted developer frequently. Killing current script was not always happening.</p>
<p>In my main solution is have switched off in the onOpen function the call to the Google2 plugin. : plugins.Google2.setupApplication(applicationName, clientID, clientSecret)<br />When this one is not called velocity is working in Developer.</p>
<p>But maybe this Google2 plugin is opening the session what is not given free again?</p>