137_RC3 can't delete a session in Data Manager

When I click on Remove one or more sessions, nothing happens.
Attachments
image-0.png
(455.94 KiB)
  • Votes +1
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

FD
#1

innggo

01.07.2023 02:38

Task created

E
#2

Emmanuel

01.07.2023 05:08
Voted for this task.
TT
#3

Tamas

04.07.2023 16:09

Status changed from New to Waiting for information

Hello, I am not able to reproduce it. 

Can you save your sessions and attach the xml file here so I can analyze it ?


You can also attach user/log from the day when it happened.

FD
#4

innggo

04.07.2023 17:38

Attachment log_2023_07_04.log added

log_2023_07_04.log
(2.53 MiB)
Hello Tamas,

Here is the log attached (at around 17:30). As you will see I could not save the session. 


But the names of the sessions are : 

18h_17h NY (NYMEX, COMEX, ICE US)) 

with blanck spaces (which is a problem I suppose)

or 

18h_17h NYGlobex (NYMEX, COMEX) 


I made a small video. If you need it I will upload it somewhere.

Have a nice day !

Fabien

FD
#5

innggo

04.07.2023 20:38
Also, I don't know if it is related or not but I cannot save sessions to export them to the Build 137 RC4 version.


Log :

17:30:31.363 [qtp1750956965-736] ERROR c.s.w.servlet.HttpJSONServlet - Cannot save sessions.<br>Cannot invoke 'com.strategyquant.datalib.session.Session.getXML()' because '<local11>' is null

java.lang.NullPointerException: Cannot invoke "com.strategyquant.datalib.session.Session.getXML()" because "<local11>" is null

at com.strategyquant.plugin.DataManager.impl.Sessions.SessionsServlet.onSave(Unknown Source) ~[na:na]

at com.strategyquant.plugin.DataManager.impl.Sessions.SessionsServlet.execute(Unknown Source) ~[na:na]

at com.strategyquant.webguilib.servlet.HttpJSONServlet.doGet(Unknown Source) ~[SQWebGUILib.jar:na]

at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) ~[jetty-all-uber.jar:9.4.19.v20190610]

at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) ~[jetty-all-uber.jar:9.4.19.v20190610]

at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:876) ~[jetty-all-uber.jar:9.4.19.v20190610]

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:542) ~[jetty-all-uber.jar:9.4.19.v20190610]

at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) ~[jetty-all-uber.jar:9.4.19.v20190610]

at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1711) ~[jetty-all-uber.jar:9.4.19.v20190610]

at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) ~[jetty-all-uber.jar:9.4.19.v20190610]

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1347) ~[jetty-all-uber.jar:9.4.19.v20190610]

at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) ~[jetty-all-uber.jar:9.4.19.v20190610]

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) ~[jetty-all-uber.jar:9.4.19.v20190610]

at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1678) ~[jetty-all-uber.jar:9.4.19.v20190610]

at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) ~[jetty-all-uber.jar:9.4.19.v20190610]

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1249) ~[jetty-all-uber.jar:9.4.19.v20190610]

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) ~[jetty-all-uber.jar:9.4.19.v20190610]

at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:753) ~[jetty-all-uber.jar:9.4.19.v20190610]

at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:61) ~[jetty-all-uber.jar:9.4.19.v20190610]

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) ~[jetty-all-uber.jar:9.4.19.v20190610]

at org.eclipse.jetty.server.Server.handle(Server.java:505) ~[jetty-all-uber.jar:9.4.19.v20190610]

at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:370) ~[jetty-all-uber.jar:9.4.19.v20190610]

at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:267) ~[jetty-all-uber.jar:9.4.19.v20190610]

at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) ~[jetty-all-uber.jar:9.4.19.v20190610]

at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) ~[jetty-all-uber.jar:9.4.19.v20190610]

at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117) ~[jetty-all-uber.jar:9.4.19.v20190610]

at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) ~[jetty-all-uber.jar:9.4.19.v20190610]

at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) ~[jetty-all-uber.jar:9.4.19.v20190610]

at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) ~[jetty-all-uber.jar:9.4.19.v20190610]

at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) ~[jetty-all-uber.jar:9.4.19.v20190610]

at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) ~[jetty-all-uber.jar:9.4.19.v20190610]

at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:781) ~[jetty-all-uber.jar:9.4.19.v20190610]

at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:917) ~[jetty-all-uber.jar:9.4.19.v20190610]

at java.base/java.lang.Thread.run(Thread.java:832) ~[na:na]

17:30:31.365 [Thread-8588] ERROR c.strategyquant.webguilib.BrowserGUI - JS ERROR: http://localhost:8080/common/Batch1/libs.js:104649: Cannot save sessions.<br>Cannot invoke 'com.strategyquant.datalib.session.Session.getXML()' because '<local11>' is null

17:30:31.366 [Thread-8590] ERROR c.strategyquant.webguilib.BrowserGUI - JS ERROR: http://localhost:8080/common/Batch1/libs.js:73522: HTTP request failed - Unknown communication error /sessions/save [object Object]


TT
#6

Tamas

07.07.2023 12:57

Attachment image-0.png added

image-0.png
(65.06 KiB)
Thanks for the details. How did you add those sessions :) There is a check that session cannot contain special characters.


Can you please attach file data.db from \user\data ??? Sessions are stored in this db file, I will check what is wrong exactly.

FD
#7

innggo

07.07.2023 14:45

Attachment data.db added

data.db
(1.41 MiB)
Here it is attached.

I added them by typing it. The 2nd one may come from cloning the previous one. 

If I remember well, there may be a message saying that something is wrong but it creates it anyway. But I am not sure anymore.

TT
#8

Tamas

12.07.2023 16:07

Status changed from Waiting for information to Fixed

Attachment image-0.png added

image-0.png
(521.31 KiB)
The problem is the comma character in the session name.

When deleting multiple sessions at the same time they are separated by a comma char.


Session name cannot contain any special character ( comma is a special character). 

Please download the latest build of SQX and define the sessions from scratch with correct names.

FD
#9

innggo

12.07.2023 16:17
Ok. Done. Thanks.

Votes: +1

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please