Restful error after upgrading from 6.1.2 to 6.1.6

Discuss all problems you have with Servoy here. It might help to mention the Servoy version and Operating System version you are using

Restful error after upgrading from 6.1.2 to 6.1.6

Postby boonstrj » Wed Sep 04, 2013 9:50 am

After upgrading we get the following error for every RESTFUL request:

java.lang.IllegalStateException: you can only locate or create sessions in the context of a request cycle
at org.apache.wicket.Session.findOrCreate(Session.java:209)
at org.apache.wicket.Session.get(Session.java:253)
at com.servoy.j2db.server.headlessclient.WebFormManager.destroySolutionSettings(WebFormManager.java:349)
at com.servoy.j2db.FormManager.propertyChange(FormManager.java:155)
at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327)
at javax.swing.event.SwingPropertyChangeSupport.firePropertyChange(SwingPropertyChangeSupport.java:92)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:263)
at com.servoy.j2db.J2DBGlobals.firePropertyChange(J2DBGlobals.java:91)
at com.servoy.j2db.ClientState.closeSolution(ClientState.java:1223)
at com.servoy.j2db.server.headlessclient.SessionClient.closeSolution(SessionClient.java:271)
at com.servoy.extensions.plugins.rest_ws.RestWSPlugin$2.run(RestWSPlugin.java:227)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)


The restful solution still works but it fills up the log. Anyone knows what to do about this?
Jeroen Boonstra
2Serve-IT

Servoy version 5.2.13/6.1.x/7.1.0
boonstrj
 
Posts: 63
Joined: Mon Jan 07, 2008 11:49 am
Location: Netherlands

Re: Restful error after upgrading from 6.1.2 to 6.1.6

Postby rgansevles » Wed Sep 04, 2013 10:36 am

Jeroen,

This is a harmless exception that is already fixed in Servoy 7.

Rob
Rob Gansevles
Servoy
User avatar
rgansevles
 
Posts: 1927
Joined: Wed Nov 15, 2006 6:17 pm
Location: Amersfoort, NL

Re: Restful error after upgrading from 6.1.2 to 6.1.6

Postby boonstrj » Thu Sep 05, 2013 10:01 am

rgansevles wrote:Jeroen,

This is a harmless exception that is already fixed in Servoy 7.

Rob


Does this mean that this is not gonna be fixed in Servoy 6, so we must upgrade to 7 if we want a log without harmless exceptions?
Jeroen Boonstra
2Serve-IT

Servoy version 5.2.13/6.1.x/7.1.0
boonstrj
 
Posts: 63
Joined: Mon Jan 07, 2008 11:49 am
Location: Netherlands

Re: Restful error after upgrading from 6.1.2 to 6.1.6

Postby rgansevles » Mon Sep 30, 2013 8:38 am

Jeroen,

This fix has not been applied to 6.1 branch.

Rob
Rob Gansevles
Servoy
User avatar
rgansevles
 
Posts: 1927
Joined: Wed Nov 15, 2006 6:17 pm
Location: Amersfoort, NL


Return to Discuss possible Issues and Bugs

Who is online

Users browsing this forum: No registered users and 5 guests