simantics issueshttps://gitlab.simantics.org/groups/simantics/-/issues2024-03-20T10:18:00Zhttps://gitlab.simantics.org/simantics/platform/-/issues/1099Option to disable selection rendering globally2024-03-20T10:18:00ZJussi KoskelaOption to disable selection rendering globallyEach node type has currently it's own way of disabling selection rendering. This leads to dirty code in which the caller is responsible for disabling the selection rendering for each node type case by case. With a global hint the impleme...Each node type has currently it's own way of disabling selection rendering. This leads to dirty code in which the caller is responsible for disabling the selection rendering for each node type case by case. With a global hint the implementation can be moved to node's local render method.
Also currently the Path node did not hide its selection when using the Copy as SVG feature.1.60.0Jussi KoskelaJussi Koskelahttps://gitlab.simantics.org/simantics/platform/-/issues/1098RCP 2022-03 and Java17 suffer from Eclipse bug #5782212024-03-19T21:53:45ZTuukka LehtonenRCP 2022-03 and Java17 suffer from Eclipse bug #578221See [Eclipse bug 578221](https://bugs.eclipse.org/bugs/show_bug.cgi?id=578221#c7).
The problem causes the Eclipse help system to produce this page:
```
HTTP ERROR 500 org.apache.jasper.JasperException: PWC6033: Error in Javac compilati...See [Eclipse bug 578221](https://bugs.eclipse.org/bugs/show_bug.cgi?id=578221#c7).
The problem causes the Eclipse help system to produce this page:
```
HTTP ERROR 500 org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP PWC6197: An error occurred at line: 41 in the jsp file: /index.jsp PWC6199: Generated servlet error: System cannot be resolved
URI: /help/index.jsp
STATUS: 500
MESSAGE: org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP PWC6197: An error occurred at line: 41 in the jsp file: /index.jsp PWC6199: Generated servlet error: System cannot be resolved
SERVLET: org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet-59574129
CAUSED BY: org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP PWC6197: An error occurred at line: 41 in the jsp file: /index.jsp PWC6199: Generated servlet error: System cannot be resolved
Caused by:
org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP
PWC6197: An error occurred at line: 41 in the jsp file: /index.jsp
PWC6199: Generated servlet error:
System cannot be resolved
at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:129)
at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:299)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:392)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:453)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:625)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:584)
at org.eclipse.equinox.jsp.jasper.JspServlet.service(JspServlet.java:164)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:584)
at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:183)
at org.eclipse.equinox.http.servlet.internal.HttpServiceRuntimeImpl$LegacyServlet.service(HttpServiceRuntimeImpl.java:1457)
at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:159)
at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:67)
at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:118)
at org.eclipse.equinox.http.servlet.internal.servlet.ProxyServlet.dispatch(ProxyServlet.java:147)
at org.eclipse.equinox.http.servlet.internal.servlet.ProxyServlet.preprocess(ProxyServlet.java:115)
at org.eclipse.equinox.http.servlet.internal.servlet.ProxyServlet.service(ProxyServlet.java:104)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:584)
at org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:308)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:764)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:508)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1571)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1372)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:176)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:463)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1544)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:174)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1294)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:129)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)
at org.eclipse.jetty.server.Server.handle(Server.java:562)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$0(HttpChannel.java:406)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:663)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:398)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:282)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:319)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)
at org.eclipse.jetty.io.SocketChannelEndPoint$1.run(SocketChannelEndPoint.java:101)
at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:412)
at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:381)
at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:268)
at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.produce(AdaptiveExecutionStrategy.java:190)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:894)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1038)
at java.base/java.lang.Thread.run(Thread.java:833)
Powered by Jetty:// 10.0.6
```
There is a workaround, which is to include `org.eclipse.jdt.core` (another 6-7 MB) to the product. I tested this to work.
The better fix would probably be to update the RCP once again.Tuukka LehtonenTuukka Lehtonenhttps://gitlab.simantics.org/simantics/platform/-/issues/1097DB purge destroys the entire database2024-03-19T07:19:07ZTuukka LehtonenDB purge destroys the entire databaseJust trying to do a simple:
1. Create a new model
2. Delete model
3. Empty trashbin & purge DB
can often result in something like this where the purge logic ends up destroying the entire database, i.e. pretty much all snapshot directori...Just trying to do a simple:
1. Create a new model
2. Delete model
3. Empty trashbin & purge DB
can often result in something like this where the purge logic ends up destroying the entire database, i.e. pretty much all snapshot directories in under `<workspace>/db/`, effectively rendering a workspace beyond repair.
```
INFO [2024-03-13 14:03:59,757] fi.vtt.apros.experiment.AprosModel: loadInitialCondition: model http://Projects/Development%20Project/MyModel
INFO [2024-03-13 14:03:59,758] fi.vtt.apros.experiment.AprosModel: loadInitialCondition: ic http://Projects/Development%20Project/MyModel/5ae5462b-2803-4b02-bbde-649a868b1945
INFO [2024-03-13 14:03:59,760] fi.vtt.apros.experiment.AprosModel: loadInitialCondition: modelRevision {mostSignificant = -6819394304540785868, leastSignificant = -5167601166972638010}
INFO [2024-03-13 14:03:59,761] fi.vtt.apros.experiment.AprosModel: loadInitialCondition: icRevision {mostSignificant = -6819394304540785868, leastSignificant = -5167601166972638010}
INFO [2024-03-13 14:04:00,139] fi.vtt.apros.dll.AprosDll: Setting Apros library path: C:\w\rt dir\apros\trunk\nuc-operui\workdir1\operui-demo-13\resources\model-679937\apros\lib
INFO [2024-03-13 14:08:14,114] org.simantics.acorn.ClusterManager: makeSnapshot: start with 1 files
TODO: implement return value for syncRequest(AsyncMultiRead, AsyncMultiProcedure)
INFO [2024-03-13 14:08:33,910] org.simantics.acorn.ClusterManager: makeSnapshot: start with 7 files
WARN [2024-03-13 14:08:43,534] org.simantics.utils.datastructures.file.DirectorySizeTracker: Failed to visit file C:\w\rt dir\apros\trunk\nuc-operui\workdir1\operui-demo-13\tempFiles
java.nio.file.NoSuchFileException: C:\w\rt dir\apros\trunk\nuc-operui\workdir1\operui-demo-13\tempFiles
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
at java.base/sun.nio.fs.WindowsDirectoryStream.<init>(WindowsDirectoryStream.java:86)
at java.base/sun.nio.fs.WindowsFileSystemProvider.newDirectoryStream(WindowsFileSystemProvider.java:535)
at java.base/java.nio.file.Files.newDirectoryStream(Files.java:482)
at java.base/java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:301)
at java.base/java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:323)
at java.base/java.nio.file.Files.walkFileTree(Files.java:2804)
at java.base/java.nio.file.Files.walkFileTree(Files.java:2882)
at org.simantics.utils.datastructures.file.DirectorySizeTracker.track(DirectorySizeTracker.java:128)
at org.simantics.utils.datastructures.file.DirectorySizeTracker.processEvents(DirectorySizeTracker.java:315)
at org.simantics.utils.datastructures.file.DirectorySizeTracker.run(DirectorySizeTracker.java:374)
at java.base/java.lang.Thread.run(Thread.java:833)
INFO [2024-03-13 14:08:43,594] org.simantics.db.layer0.util.DomainProcessor3: Unexpected INTERNAL preStatus in DomainProcessor3 [id=$679938]
WARN [2024-03-13 14:08:45,011] org.simantics.diagram.adapter.DiagramContentRequest: Most likely diagram is being removed and therefore ordered list can not be found for [id=$778241]
WARN [2024-03-13 14:08:45,059] org.simantics.diagram.adapter.TypeGroup: Most likely after deleting a diagram or something therefore no ordered set can be found for [id=$778241]
WARN [2024-03-13 14:08:45,060] org.simantics.diagram.adapter.TypeGroup: Most likely after deleting a diagram or something therefore no ordered set can be found for [id=$778241]
WARN [2024-03-13 14:08:45,060] org.simantics.diagram.adapter.TypeGroup: Most likely after deleting a diagram or something therefore no ordered set can be found for [id=$778241]
WARN [2024-03-13 14:08:45,063] org.simantics.diagram.adapter.TypeGroup: Most likely after deleting a diagram or something therefore no ordered set can be found for [id=$778241]
INFO [2024-03-13 14:08:45,111] org.simantics.acorn.ClusterManager: makeSnapshot: start with 0 files
WARN [2024-03-13 14:08:45,113] org.simantics.acorn.lru.LRU: Retry mutex acquire
WARN [2024-03-13 14:08:45,150] org.simantics.acorn.lru.LRU: Retry mutex acquire
WARN [2024-03-13 14:08:45,171] org.simantics.acorn.lru.LRU: Retry mutex acquire
INFO [2024-03-13 14:08:45,359] org.simantics.acorn.ClusterManager: makeSnapshot: start with 0 files
INFO [2024-03-13 14:08:45,372] org.simantics.acorn.FileStore: purge deletes C:\w\rt dir\apros\trunk\nuc-operui\workdir1\operui-demo-13\db\db
INFO [2024-03-13 14:08:45,372] org.simantics.acorn.FileStore: purge deletes C:\w\rt dir\apros\trunk\nuc-operui\workdir1\operui-demo-13\db\0
INFO [2024-03-13 14:08:45,372] org.simantics.acorn.FileStore: purge deletes C:\w\rt dir\apros\trunk\nuc-operui\workdir1\operui-demo-13\db\0
INFO [2024-03-13 14:08:45,441] org.simantics.acorn.FileStore: purge deletes C:\w\rt dir\apros\trunk\nuc-operui\workdir1\operui-demo-13\db\1
INFO [2024-03-13 14:08:45,441] org.simantics.acorn.FileStore: purge deletes C:\w\rt dir\apros\trunk\nuc-operui\workdir1\operui-demo-13\db\1
INFO [2024-03-13 14:08:45,446] org.simantics.acorn.FileStore: purge deletes C:\w\rt dir\apros\trunk\nuc-operui\workdir1\operui-demo-13\db\10
INFO [2024-03-13 14:08:45,446] org.simantics.acorn.FileStore: purge deletes C:\w\rt dir\apros\trunk\nuc-operui\workdir1\operui-demo-13\db\10_baseline
INFO [2024-03-13 14:08:45,446] org.simantics.acorn.FileStore: purge deletes C:\w\rt dir\apros\trunk\nuc-operui\workdir1\operui-demo-13\db\11
INFO [2024-03-13 14:08:45,446] org.simantics.acorn.FileStore: purge deletes C:\w\rt dir\apros\trunk\nuc-operui\workdir1\operui-demo-13\db\2
INFO [2024-03-13 14:08:45,446] org.simantics.acorn.FileStore: purge deletes C:\w\rt dir\apros\trunk\nuc-operui\workdir1\operui-demo-13\db\2
INFO [2024-03-13 14:08:45,447] org.simantics.acorn.FileStore: purge deletes C:\w\rt dir\apros\trunk\nuc-operui\workdir1\operui-demo-13\db\3
INFO [2024-03-13 14:08:45,447] org.simantics.acorn.FileStore: purge deletes C:\w\rt dir\apros\trunk\nuc-operui\workdir1\operui-demo-13\db\3
INFO [2024-03-13 14:08:45,451] org.simantics.acorn.FileStore: purge deletes C:\w\rt dir\apros\trunk\nuc-operui\workdir1\operui-demo-13\db\4
INFO [2024-03-13 14:08:45,451] org.simantics.acorn.FileStore: purge deletes C:\w\rt dir\apros\trunk\nuc-operui\workdir1\operui-demo-13\db\4
INFO [2024-03-13 14:08:45,453] org.simantics.acorn.FileStore: purge deletes C:\w\rt dir\apros\trunk\nuc-operui\workdir1\operui-demo-13\db\5
INFO [2024-03-13 14:08:45,453] org.simantics.acorn.FileStore: purge deletes C:\w\rt dir\apros\trunk\nuc-operui\workdir1\operui-demo-13\db\5
INFO [2024-03-13 14:08:45,454] org.simantics.acorn.FileStore: purge deletes C:\w\rt dir\apros\trunk\nuc-operui\workdir1\operui-demo-13\db\6
INFO [2024-03-13 14:08:45,454] org.simantics.acorn.FileStore: purge deletes C:\w\rt dir\apros\trunk\nuc-operui\workdir1\operui-demo-13\db\6
INFO [2024-03-13 14:08:45,456] org.simantics.acorn.FileStore: purge deletes C:\w\rt dir\apros\trunk\nuc-operui\workdir1\operui-demo-13\db\7
INFO [2024-03-13 14:08:45,456] org.simantics.acorn.FileStore: purge deletes C:\w\rt dir\apros\trunk\nuc-operui\workdir1\operui-demo-13\db\7
INFO [2024-03-13 14:08:45,461] org.simantics.acorn.FileStore: purge deletes C:\w\rt dir\apros\trunk\nuc-operui\workdir1\operui-demo-13\db\8
INFO [2024-03-13 14:08:45,462] org.simantics.acorn.FileStore: purge deletes C:\w\rt dir\apros\trunk\nuc-operui\workdir1\operui-demo-13\db\8
INFO [2024-03-13 14:08:45,464] org.simantics.acorn.FileStore: purge deletes C:\w\rt dir\apros\trunk\nuc-operui\workdir1\operui-demo-13\db\9
INFO [2024-03-13 14:08:45,464] org.simantics.acorn.FileStore: purge deletes C:\w\rt dir\apros\trunk\nuc-operui\workdir1\operui-demo-13\db\9
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: WatchKey not registered: sun.nio.fs.WindowsWatchService$WindowsWatchKey@22ec4ec2
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_MODIFY: 0.9a.cluster
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_DELETE: 0.9a.cluster
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_MODIFY: 0.a4.cluster
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_DELETE: 0.a4.cluster
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_MODIFY: 0.a6.cluster
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_DELETE: 0.a6.cluster
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_MODIFY: 0.a7.cluster
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_DELETE: 0.a7.cluster
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_MODIFY: 0.a8.cluster
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_DELETE: 0.a8.cluster
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_MODIFY: 0.a9.cluster
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_DELETE: 0.a9.cluster
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_MODIFY: 0.aa.cluster
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_DELETE: 0.aa.cluster
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_MODIFY: 0.ab.cluster
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_DELETE: 0.ab.cluster
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_MODIFY: 0.ac.cluster
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_DELETE: 0.ac.cluster
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_MODIFY: 0.ad.cluster
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_DELETE: 0.ad.cluster
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_MODIFY: 0.ad_1.extFile
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_DELETE: 0.ad_1.extFile
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_MODIFY: clusterStream
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_DELETE: clusterStream
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_MODIFY: cssi
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_DELETE: cssi
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_MODIFY: head.state
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_DELETE: head.state
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: RESET KEY RETURNED: false
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: WatchKey not registered: sun.nio.fs.WindowsWatchService$WindowsWatchKey@4d9071bb
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_MODIFY: cssi
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_DELETE: cssi
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_MODIFY: head.state
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_DELETE: head.state
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: RESET KEY RETURNED: false
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: WatchKey not registered: sun.nio.fs.WindowsWatchService$WindowsWatchKey@68eef8db
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_MODIFY: 0.a8.cluster
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_DELETE: 0.a8.cluster
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_MODIFY: 0.ab.cluster
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_DELETE: 0.ab.cluster
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_MODIFY: 0.ae.cluster
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_DELETE: 0.ae.cluster
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_MODIFY: clusterStream
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_DELETE: clusterStream
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_MODIFY: cssi
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_DELETE: cssi
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_MODIFY: head.state
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_DELETE: head.state
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: RESET KEY RETURNED: false
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: WatchKey not registered: sun.nio.fs.WindowsWatchService$WindowsWatchKey@1b621c6d
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_MODIFY: 0.a6.cluster
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_DELETE: 0.a6.cluster
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_MODIFY: 0.a7.cluster
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_DELETE: 0.a7.cluster
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_MODIFY: 0.a8.cluster
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_DELETE: 0.a8.cluster
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_MODIFY: clusterStream
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_DELETE: clusterStream
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_MODIFY: cssi
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_DELETE: cssi
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_MODIFY: head.state
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_DELETE: head.state
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: RESET KEY RETURNED: false
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: WatchKey not registered: sun.nio.fs.WindowsWatchService$WindowsWatchKey@5b38cb9d
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_MODIFY: cssi
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_DELETE: cssi
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_MODIFY: head.state
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_DELETE: head.state
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: RESET KEY RETURNED: false
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: WatchKey not registered: sun.nio.fs.WindowsWatchService$WindowsWatchKey@15eb74e8
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_MODIFY: 0.a7.cluster
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_DELETE: 0.a7.cluster
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_MODIFY: 0.a8.cluster
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_DELETE: 0.a8.cluster
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_MODIFY: clusterStream
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_DELETE: clusterStream
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_MODIFY: cssi
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_DELETE: cssi
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_MODIFY: head.state
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: MISSED EVENT: ENTRY_DELETE: head.state
ERROR [2024-03-13 14:08:45,465] org.simantics.utils.datastructures.file.DirectorySizeTracker: RESET KEY RETURNED: false
INFO [2024-03-13 14:08:45,471] fi.vtt.apros.project.AprosProjectFeature: Database has been purged, scheduling temporary resource cleanup
ERROR [2024-03-13 14:08:45,483] fi.vtt.simantics.procore.internal.ClusterTable: Load cluster failed
java.nio.file.NoSuchFileException: C:\w\rt dir\apros\trunk\nuc-operui\workdir1\operui-demo-13\db\6\0.a7.cluster
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
at java.base/sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:236)
at java.base/java.nio.file.Files.newByteChannel(Files.java:380)
at java.base/java.nio.file.Files.newByteChannel(Files.java:432)
at org.simantics.acorn.FileIO.readBytes(FileIO.java:74)
at org.simantics.acorn.lru.LRUObject.readFile(LRUObject.java:207)
at org.simantics.acorn.lru.ClusterInfo.clone(ClusterInfo.java:83)
at org.simantics.acorn.ClusterManager.clone(ClusterManager.java:541)
at org.simantics.acorn.GraphClientImpl2.clone(GraphClientImpl2.java:207)
... 18 common frames omitted
Wrapped by: org.simantics.db.exception.DatabaseException: java.nio.file.NoSuchFileException: C:\w\rt dir\apros\trunk\nuc-operui\workdir1\operui-demo-13\db\6\0.a7.cluster
at org.simantics.acorn.GraphClientImpl2.clone(GraphClientImpl2.java:210)
at fi.vtt.simantics.procore.internal.ClusterTable.load2(ClusterTable.java:1128)
at fi.vtt.simantics.procore.internal.ClusterTable.load2(ClusterTable.java:1036)
at fi.vtt.simantics.procore.internal.ClusterTable.checkedGetClusterByResourceKey(ClusterTable.java:990)
at fi.vtt.simantics.procore.internal.QuerySupportImpl.ensureLoaded(QuerySupportImpl.java:1370)
at org.simantics.db.impl.graph.ReadGraphImpl.ensureLoaded(ReadGraphImpl.java:6455)
at org.simantics.db.impl.query.Objects.computeForEach(Objects.java:610)
at org.simantics.db.impl.query.QueryCache.runnerObjects(QueryCache.java:74)
at org.simantics.db.impl.query.QueryProcessor.getSingleObject(QueryProcessor.java:2652)
at org.simantics.db.impl.graph.ReadGraphImpl.getPossibleObject(ReadGraphImpl.java:1532)
at org.simantics.db.impl.graph.ReadGraphImpl.getPossibleRelatedValue(ReadGraphImpl.java:1703)
at fi.vtt.apros.project.AprosWorkspaces$RemovableResourceDirectories.read(AprosWorkspaces.java:230)
at fi.vtt.apros.project.AprosWorkspaces$RemovableResourceDirectories.perform(AprosWorkspaces.java:152)
at fi.vtt.apros.project.AprosWorkspaces$RemovableResourceDirectories.perform(AprosWorkspaces.java:1)
at fi.vtt.simantics.procore.internal.SessionImplSocket$6.run0(SessionImplSocket.java:1522)
at org.simantics.db.impl.query.QueryProcessor$SessionTask.run(QueryProcessor.java:230)
at fi.vtt.simantics.procore.internal.SessionRequestManager$5.run0(SessionRequestManager.java:298)
at org.simantics.db.impl.query.QueryProcessor$SessionTask.run(QueryProcessor.java:230)
at org.simantics.db.impl.query.QueryThread.run(QueryThread.java:155)
ERROR [2024-03-13 14:08:45,483] fi.vtt.simantics.procore.internal.ClusterTable: Failed to load cluster 0.a7 for resource key 43441 resourceIndex=2481 resourceId=686513
java.nio.file.NoSuchFileException: C:\w\rt dir\apros\trunk\nuc-operui\workdir1\operui-demo-13\db\6\0.a7.cluster
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
at java.base/sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:236)
at java.base/java.nio.file.Files.newByteChannel(Files.java:380)
at java.base/java.nio.file.Files.newByteChannel(Files.java:432)
at org.simantics.acorn.FileIO.readBytes(FileIO.java:74)
at org.simantics.acorn.lru.LRUObject.readFile(LRUObject.java:207)
at org.simantics.acorn.lru.ClusterInfo.clone(ClusterInfo.java:83)
at org.simantics.acorn.ClusterManager.clone(ClusterManager.java:541)
at org.simantics.acorn.GraphClientImpl2.clone(GraphClientImpl2.java:207)
... 18 common frames omitted
Wrapped by: org.simantics.db.exception.DatabaseException: java.nio.file.NoSuchFileException: C:\w\rt dir\apros\trunk\nuc-operui\workdir1\operui-demo-13\db\6\0.a7.cluster
at org.simantics.acorn.GraphClientImpl2.clone(GraphClientImpl2.java:210)
at fi.vtt.simantics.procore.internal.ClusterTable.load2(ClusterTable.java:1128)
at fi.vtt.simantics.procore.internal.ClusterTable.load2(ClusterTable.java:1036)
at fi.vtt.simantics.procore.internal.ClusterTable.checkedGetClusterByResourceKey(ClusterTable.java:990)
at fi.vtt.simantics.procore.internal.QuerySupportImpl.ensureLoaded(QuerySupportImpl.java:1370)
at org.simantics.db.impl.graph.ReadGraphImpl.ensureLoaded(ReadGraphImpl.java:6455)
at org.simantics.db.impl.query.Objects.computeForEach(Objects.java:610)
at org.simantics.db.impl.query.QueryCache.runnerObjects(QueryCache.java:74)
at org.simantics.db.impl.query.QueryProcessor.getSingleObject(QueryProcessor.java:2652)
at org.simantics.db.impl.graph.ReadGraphImpl.getPossibleObject(ReadGraphImpl.java:1532)
at org.simantics.db.impl.graph.ReadGraphImpl.getPossibleRelatedValue(ReadGraphImpl.java:1703)
at fi.vtt.apros.project.AprosWorkspaces$RemovableResourceDirectories.read(AprosWorkspaces.java:230)
at fi.vtt.apros.project.AprosWorkspaces$RemovableResourceDirectories.perform(AprosWorkspaces.java:152)
at fi.vtt.apros.project.AprosWorkspaces$RemovableResourceDirectories.perform(AprosWorkspaces.java:1)
at fi.vtt.simantics.procore.internal.SessionImplSocket$6.run0(SessionImplSocket.java:1522)
at org.simantics.db.impl.query.QueryProcessor$SessionTask.run(QueryProcessor.java:230)
at fi.vtt.simantics.procore.internal.SessionRequestManager$5.run0(SessionRequestManager.java:298)
at org.simantics.db.impl.query.QueryProcessor$SessionTask.run(QueryProcessor.java:230)
at org.simantics.db.impl.query.QueryThread.run(QueryThread.java:155)
ERROR [2024-03-13 14:08:50,145] fi.vtt.simantics.procore.internal.SessionRequestManager: Write transaction could not be started
org.simantics.db.server.ProCoreException: GraphClientImpl2 is already closing so no more write transactions allowed!
at org.simantics.acorn.GraphClientImpl2.askWriteTransaction(GraphClientImpl2.java:465)
at fi.vtt.simantics.procore.internal.GraphSessionSocket.askWriteTransaction(GraphSessionSocket.java:45)
at fi.vtt.simantics.procore.internal.TransactionToken.startWriteTransaction(TransactionToken.java:92)
at fi.vtt.simantics.procore.internal.State.startWriteTransaction(State.java:222)
... 3 common frames omitted
Wrapped by: org.simantics.db.exception.DatabaseException: org.simantics.db.server.ProCoreException: GraphClientImpl2 is already closing so no more write transactions allowed!
at fi.vtt.simantics.procore.internal.State.startWriteTransaction(State.java:230)
at fi.vtt.simantics.procore.internal.SessionRequestManager$3.run0(SessionRequestManager.java:182)
at org.simantics.db.impl.query.QueryProcessor$SessionTask.run(QueryProcessor.java:230)
at org.simantics.db.impl.query.QueryThread.run(QueryThread.java:155)
ERROR [2024-03-13 14:08:50,148] org.simantics.db.impl.query.QueryThread: FATAL BUG: QueryThread task processing caused unexpected exception.
java.lang.AssertionError: null
at fi.vtt.simantics.procore.internal.SessionRequestManager$4.run0(SessionRequestManager.java:235)
at org.simantics.db.impl.query.QueryProcessor$SessionTask.run(QueryProcessor.java:230)
at org.simantics.db.impl.query.QueryThread.run(QueryThread.java:155)
INFO [2024-03-13 14:08:50,148] org.simantics.acorn.GraphClientImpl2: Closing org.simantics.acorn.GraphClientImpl2@317a5d9d and mainProgram org.simantics.acorn.MainProgram@278fc3d0
INFO [2024-03-13 14:08:50,150] org.simantics.acorn.GraphClientImpl2: executorTerminated=true, saverTerminated=true
!ENTRY org.eclipse.core.jobs 4 2 2024-03-13 14:09:00.160
!MESSAGE An internal error occurred during: "Database Garbage Collector".
!STACK 0
org.simantics.db.exception.RuntimeDatabaseException: Session has been shut down.
at fi.vtt.simantics.procore.internal.SessionImplSocket.assertAlive(SessionImplSocket.java:3457)
at fi.vtt.simantics.procore.internal.SessionImplSocket.acquire(SessionImplSocket.java:3493)
at fi.vtt.simantics.procore.internal.SessionImplSocket.acquire(SessionImplSocket.java:3469)
at fi.vtt.simantics.procore.internal.SessionImplSocket.syncRequest(SessionImplSocket.java:2034)
at org.simantics.db.layer0.util.SessionGarbageCollection.gc(SessionGarbageCollection.java:137)
at org.simantics.db.layer0.util.SessionGarbageCollection.gc(SessionGarbageCollection.java:62)
at org.simantics.ui.jobs.SessionGarbageCollectorJob.run(SessionGarbageCollectorJob.java:184)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
```Antti VillbergAntti Villberghttps://gitlab.simantics.org/simantics/platform/-/issues/1095GraphExplorerImpl fails to expand nodes when processing selectPath2024-03-15T13:33:04ZMarko LuukkainenGraphExplorerImpl fails to expand nodes when processing selectPathMarko LuukkainenMarko Luukkainenhttps://gitlab.simantics.org/simantics/platform/-/issues/1094Get rid of deprecated Logger usage2024-03-13T13:48:15ZTuukka LehtonenGet rid of deprecated Logger usage`org.simantics.db.common.utils.Logger` has been deprecated for ages and all its uses need to be removed from the platform along with the class itself.`org.simantics.db.common.utils.Logger` has been deprecated for ages and all its uses need to be removed from the platform along with the class itself.Tuukka LehtonenTuukka Lehtonenhttps://gitlab.simantics.org/simantics/platform/-/issues/1093AdaptingTransferableGraphFileReader fails to process tgs where root names inc...2024-03-13T09:12:54ZMarko LuukkainenAdaptingTransferableGraphFileReader fails to process tgs where root names include '/' charactersMarko LuukkainenMarko Luukkainenhttps://gitlab.simantics.org/simantics/platform/-/issues/1090Support Workbench Search contributions in SCL2024-03-25T21:39:31ZAntti VillbergSupport Workbench Search contributions in SCLAntti VillbergAntti Villberghttps://gitlab.simantics.org/simantics/platform/-/issues/1089Trying to make a connection deemed CANBEMADELEGAL by IModelingRules results i...2024-03-04T06:53:31ZTuukka LehtonenTrying to make a connection deemed CANBEMADELEGAL by IModelingRules results in NPE```
ERROR [2024-03-04 08:28:09,766] org.simantics.utils.ui.ErrorLogger: java.lang.NullPointerException: Cannot invoke "org.simantics.structural2.modelingRules.IAttachmentRelationMap.get(org.simantics.db.ReadGraph, org.simantics.structura...```
ERROR [2024-03-04 08:28:09,766] org.simantics.utils.ui.ErrorLogger: java.lang.NullPointerException: Cannot invoke "org.simantics.structural2.modelingRules.IAttachmentRelationMap.get(org.simantics.db.ReadGraph, org.simantics.structural2.modelingRules.CPTerminal)" because "judgment.attachmentRelations" is null
Cannot invoke "org.simantics.structural2.modelingRules.IAttachmentRelationMap.get(org.simantics.db.ReadGraph, org.simantics.structural2.modelingRules.CPTerminal)" because "judgment.attachmentRelations" is null
java.lang.NullPointerException: Cannot invoke "org.simantics.structural2.modelingRules.IAttachmentRelationMap.get(org.simantics.db.ReadGraph, org.simantics.structural2.modelingRules.CPTerminal)" because "judgment.attachmentRelations" is null
at org.simantics.diagram.participant.ConnectionBuilder.chooseAttachmentRelationForNode(ConnectionBuilder.java:785)
at org.simantics.diagram.participant.ConnectionBuilder.chooseAttachmentRelationForNode(ConnectionBuilder.java:766)
at org.simantics.diagram.participant.ConnectionBuilder.create(ConnectionBuilder.java:325)
at org.simantics.diagram.participant.ConnectTool2$3.perform(ConnectTool2.java:1005)
at fi.vtt.simantics.procore.internal.SessionImplSocket$1.run0(SessionImplSocket.java:468)
at org.simantics.db.impl.query.QueryProcessor$SessionTask.run(QueryProcessor.java:230)
at fi.vtt.simantics.procore.internal.SessionRequestManager$3.run0(SessionRequestManager.java:187)
... 2 common frames omitted
Wrapped by: org.simantics.db.exception.DatabaseException: java.lang.NullPointerException: Cannot invoke "org.simantics.structural2.modelingRules.IAttachmentRelationMap.get(org.simantics.db.ReadGraph, org.simantics.structural2.modelingRules.CPTerminal)" because "judgment.attachmentRelations" is null
at fi.vtt.simantics.procore.internal.WriteStateBase.finish(WriteStateBase.java:67)
at fi.vtt.simantics.procore.internal.WriteState.finish(WriteState.java:27)
at fi.vtt.simantics.procore.internal.SessionRequestManager$4.run0(SessionRequestManager.java:261)
at org.simantics.db.impl.query.QueryProcessor$SessionTask.run(QueryProcessor.java:230)
at org.simantics.db.impl.query.QueryThread.run(QueryThread.java:155)
```
The `CANBEMADELEGAL` `ConnectionJudgement` which has `attachmentRelations == null` comes from here:
```
Thread [AWT-EventQueue-0] (Suspended (breakpoint at line 1116 in org.simantics.diagram.participant.ConnectTool2))
org.simantics.diagram.participant.ConnectTool2.canConnect(org.simantics.g2d.element.IElement, org.simantics.g2d.diagram.handler.Topology.Terminal) line: 1116
org.simantics.diagram.participant.ConnectTool2.processMouseMove(org.simantics.scenegraph.g2d.events.MouseEvent$MouseMovedEvent) line: 553
org.simantics.diagram.participant.ConnectTool2.handleEvent(org.simantics.scenegraph.g2d.events.MouseEvent) line: 519
jdk.internal.reflect.GeneratedMethodAccessor206.invoke(java.lang.Object, java.lang.Object[]) line: not available
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) line: 43
java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object...) line: 568
org.simantics.scenegraph.g2d.events.EventHandlerReflection$1.handleEvent(org.simantics.scenegraph.g2d.events.Event) line: 101
org.simantics.scenegraph.g2d.events.EventHandlerReflection$EventHandlerDefinition$1.handleEvent(org.simantics.scenegraph.g2d.events.Event) line: 144
org.simantics.scenegraph.g2d.events.EventHandlerStack.handleEvent(org.simantics.scenegraph.g2d.events.Event) line: 67
org.simantics.scenegraph.g2d.events.EventQueue.handleEvents() line: 110
org.simantics.g2d.canvas.impl.CanvasContext$1.run() line: 136
java.awt.event.InvocationEvent.dispatch() line: 318
java.awt.EventQueue.dispatchEventImpl(java.awt.AWTEvent, java.lang.Object) line: 771
java.awt.EventQueue$4.run() line: 722
java.awt.EventQueue$4.run() line: 716
java.security.AccessController.executePrivileged(java.security.PrivilegedAction<T>, java.security.AccessControlContext, java.lang.Class<?>) line: 776
java.security.AccessController.doPrivileged(java.security.PrivilegedAction<T>, java.security.AccessControlContext) line: 399
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(java.security.PrivilegedAction<T>, java.security.AccessControlContext, java.security.AccessControlContext) line: 86
java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent) line: 741
java.awt.EventDispatchThread.pumpOneEventForFilters(int) line: 203
java.awt.EventDispatchThread.pumpEventsForFilter(int, java.awt.Conditional, java.awt.EventFilter) line: 124
java.awt.EventDispatchThread.pumpEventsForHierarchy(int, java.awt.Conditional, java.awt.Component) line: 113
java.awt.EventDispatchThread.pumpEvents(int, java.awt.Conditional) line: 109
java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional) line: 101
java.awt.EventDispatchThread.run() line: 90
```1.60.0Tuukka LehtonenTuukka Lehtonenhttps://gitlab.simantics.org/simantics/platform/-/issues/10871.63.0 release engineering2024-02-25T12:40:09ZTuukka Lehtonen1.63.0 release engineeringBranched projects:
* [ ] simantics/third-party@
* [ ] simantics/platform@
* [ ] simantics/fmil@
* [ ] simantics/matlab@
* [ ] simantics/python@
* [ ] simantics/r@
* [ ] simantics/interop@
* [ ] simantics/3d@
* [ ] members/simupedia@
* [ ...Branched projects:
* [ ] simantics/third-party@
* [ ] simantics/platform@
* [ ] simantics/fmil@
* [ ] simantics/matlab@
* [ ] simantics/python@
* [ ] simantics/r@
* [ ] simantics/interop@
* [ ] simantics/3d@
* [ ] members/simupedia@
* [ ] members/fmi@
* [ ] simantics/district@
* [ ] simantics/sysdyn@
* [ ] gold-members/proteus@1.63.0Tuukka LehtonenTuukka Lehtonen2025-02-19https://gitlab.simantics.org/simantics/platform/-/issues/10861.62.0 release engineering2024-02-25T12:41:02ZTuukka Lehtonen1.62.0 release engineeringBranched projects:
* [ ] simantics/third-party@
* [ ] simantics/platform@
* [ ] simantics/fmil@
* [ ] simantics/matlab@
* [ ] simantics/python@
* [ ] simantics/r@
* [ ] simantics/interop@
* [ ] simantics/3d@
* [ ] members/simupedia@
* [ ...Branched projects:
* [ ] simantics/third-party@
* [ ] simantics/platform@
* [ ] simantics/fmil@
* [ ] simantics/matlab@
* [ ] simantics/python@
* [ ] simantics/r@
* [ ] simantics/interop@
* [ ] simantics/3d@
* [ ] members/simupedia@
* [ ] members/fmi@
* [ ] simantics/district@
* [ ] simantics/sysdyn@
* [ ] gold-members/proteus@1.62.0Tuukka LehtonenTuukka Lehtonen2024-11-20https://gitlab.simantics.org/simantics/platform/-/issues/10851.61.0 release engineering2024-02-25T12:41:02ZTuukka Lehtonen1.61.0 release engineeringBranched projects:
* [ ] simantics/third-party@
* [ ] simantics/platform@
* [ ] simantics/fmil@
* [ ] simantics/matlab@
* [ ] simantics/python@
* [ ] simantics/r@
* [ ] simantics/interop@
* [ ] simantics/3d@
* [ ] members/simupedia@
* [ ...Branched projects:
* [ ] simantics/third-party@
* [ ] simantics/platform@
* [ ] simantics/fmil@
* [ ] simantics/matlab@
* [ ] simantics/python@
* [ ] simantics/r@
* [ ] simantics/interop@
* [ ] simantics/3d@
* [ ] members/simupedia@
* [ ] members/fmi@
* [ ] simantics/district@
* [ ] simantics/sysdyn@
* [ ] gold-members/proteus@1.61.0Tuukka LehtonenTuukka Lehtonen2024-08-21https://gitlab.simantics.org/simantics/platform/-/issues/10841.60.0 release engineering2024-02-25T12:41:02ZTuukka Lehtonen1.60.0 release engineeringBranched projects:
* [ ] simantics/third-party@
* [ ] simantics/platform@
* [ ] simantics/fmil@
* [ ] simantics/matlab@
* [ ] simantics/python@
* [ ] simantics/r@
* [ ] simantics/interop@
* [ ] simantics/3d@
* [ ] members/simupedia@
* [ ...Branched projects:
* [ ] simantics/third-party@
* [ ] simantics/platform@
* [ ] simantics/fmil@
* [ ] simantics/matlab@
* [ ] simantics/python@
* [ ] simantics/r@
* [ ] simantics/interop@
* [ ] simantics/3d@
* [ ] members/simupedia@
* [ ] members/fmi@
* [ ] simantics/district@
* [ ] simantics/sysdyn@
* [ ] gold-members/proteus@1.60.0Tuukka LehtonenTuukka Lehtonen2024-05-22https://gitlab.simantics.org/simantics/platform/-/issues/1080Sharpen ActionBrowseContext logic2024-03-14T09:46:46ZAntti VillbergSharpen ActionBrowseContext logicThe resolution of ActionBrowseContexts has been a bit fuzzy. Try to sharpen it a bit per the following spec
- ActionBrowseContext holds all action contributions related to given set of browse contexts.
- There are indirect (type index l...The resolution of ActionBrowseContexts has been a bit fuzzy. Try to sharpen it a bit per the following spec
- ActionBrowseContext holds all action contributions related to given set of browse contexts.
- There are indirect (type index lookup) and direct ways (relation, direct or asserted) to contribute browse contexts for a resource.
- Additionally Model Browser merges in all browse contexts encountered along the path of the NodeContextAntti VillbergAntti Villberghttps://gitlab.simantics.org/simantics/platform/-/issues/1077Customizable Drag texts2024-03-27T12:53:12ZAntti VillbergCustomizable Drag textsAntti VillbergAntti Villberghttps://gitlab.simantics.org/simantics/platform/-/issues/1070Change SymbolProviderFactory implementation identity to be based on diagram t...2024-02-02T07:43:27ZTuukka LehtonenChange SymbolProviderFactory implementation identity to be based on diagram types, not diagram instancesCurrently the Symbols view (`PageBookView`) will construct a separate page for every single diagram editor. This makes way for a bad user experience since the user will have separate Symbols-view state for every single diagram editor ins...Currently the Symbols view (`PageBookView`) will construct a separate page for every single diagram editor. This makes way for a bad user experience since the user will have separate Symbols-view state for every single diagram editor instead of being able to share what's open and filtered into sight between same type of diagrams.
At the moment diagram instances are used in the identity of [SymbolProviderFactory](https://gitlab.simantics.org/simantics/platform/-/blob/8065ba6e3cdbadf71bee55dd878a8fcf896c0965/bundles/org.simantics.diagram/src/org/simantics/diagram/symbolcontribution/SymbolProviderFactory.java) implementations. This is done because the [SymbolContributionFilter](https://gitlab.simantics.org/simantics/platform/-/blob/8065ba6e3cdbadf71bee55dd878a8fcf896c0965/bundles/org.simantics.diagram/src/org/simantics/diagram/symbolcontribution/SymbolContributionFilter.java) implementations receive the diagram instance as parameter, giving the filters the possibility to do instance-specific tricks to filter out symbols from current contributions. This possibility is currently not used anywhere and all filters are essentially based on comparing the diagram types to something.
Using the diagram types (`ReadGraph.getPrincipalTypes(diagram)` or `ReadGraph.getTypes(diagram)`) for the identity of `SymbolProviderFactory` implementations instead of `diagram` will do the trick. But it must be noted that making this change will destroy the possibility to have completely diagram-specific filtering which is not obvious to symbol filter contributions and should be documented in the API.1.59.0Tuukka LehtonenTuukka Lehtonenhttps://gitlab.simantics.org/simantics/platform/-/issues/1068Support custom drag actions in model browser2024-03-27T12:53:12ZTuukka LehtonenSupport custom drag actions in model browserThe current default logic for `DragSourceListener` in [GraphExplorerComposite](https://gitlab.simantics.org/simantics/platform/-/blob/master/bundles/org.simantics.browsing.ui.swt/src/org/simantics/browsing/ui/swt/widgets/GraphExplorerCom...The current default logic for `DragSourceListener` in [GraphExplorerComposite](https://gitlab.simantics.org/simantics/platform/-/blob/master/bundles/org.simantics.browsing.ui.swt/src/org/simantics/browsing/ui/swt/widgets/GraphExplorerComposite.java#L740-782) will only attempt to use a hardcoded logic for constructing JSON out of the `NodeContext`s input Resource/Variable.
Sometimes it is needed to allow completely custom implementation of the `DragSourceListener` or more specifically the `TextTransfer` implementation of `DragSourceListener.dragSetData`.
DndBrowseContext could be augmented to support `DragActionContribution`s.Tuukka LehtonenTuukka Lehtonenhttps://gitlab.simantics.org/simantics/platform/-/issues/1066NPE from UC interface editor ConfigurationPropertiesSection2024-01-24T07:40:04ZTuukka LehtonenNPE from UC interface editor ConfigurationPropertiesSection```
ERROR [2024-01-24 09:11:13,281] org.simantics.modeling.ui.componentTypeEditor.ConfigurationPropertiesSection: Finding UserDefinedProperties failed.
java.lang.NullPointerException: Cannot read field "id" because "impl" is null
at ...```
ERROR [2024-01-24 09:11:13,281] org.simantics.modeling.ui.componentTypeEditor.ConfigurationPropertiesSection: Finding UserDefinedProperties failed.
java.lang.NullPointerException: Cannot read field "id" because "impl" is null
at org.simantics.db.impl.graph.ReadGraphImpl.isImmutable(ReadGraphImpl.java:5695)
at org.simantics.db.layer0.adapter.impl.EntityInstances$QueryIndex.isImmutable(EntityInstances.java:139)
at org.simantics.db.impl.query.ReadEntry.isImmutable(ReadEntry.java:210)
at org.simantics.db.impl.query.QueryListening.registerDependencies(QueryListening.java:103)
at org.simantics.db.impl.query.QueryCache.runnerReadEntry(QueryCache.java:696)
at org.simantics.db.impl.graph.ReadGraphImpl.syncRequest(ReadGraphImpl.java:1992)
at org.simantics.db.impl.graph.ReadGraphImpl.syncRequest(ReadGraphImpl.java:1985)
at org.simantics.db.layer0.adapter.impl.EntityInstances$QueryIndex.perform(EntityInstances.java:78)
at org.simantics.db.layer0.adapter.impl.EntityInstances$QueryIndex.perform(EntityInstances.java:1)
at org.simantics.db.impl.query.ReadEntry.computeForEach(ReadEntry.java:121)
... 13 common frames omitted
Wrapped by: org.simantics.db.exception.DatabaseException: java.lang.NullPointerException: Cannot read field "id" because "impl" is null
at org.simantics.db.impl.query.ReadEntry.computeForEach(ReadEntry.java:133)
at org.simantics.db.impl.query.QueryCache.runnerReadEntry(QueryCache.java:704)
at org.simantics.db.impl.graph.ReadGraphImpl.syncRequest(ReadGraphImpl.java:1992)
at org.simantics.db.impl.graph.ReadGraphImpl.syncRequest(ReadGraphImpl.java:1985)
at org.simantics.db.layer0.adapter.impl.EntityInstances.findRec(EntityInstances.java:156)
at org.simantics.db.layer0.adapter.impl.EntityInstances.find(EntityInstances.java:185)
at org.simantics.db.layer0.adapter.impl.EntityInstances.find(EntityInstances.java:56)
at org.simantics.modeling.ui.componentTypeEditor.ConfigurationPropertiesSection$8.perform(ConfigurationPropertiesSection.java:571)
at org.simantics.modeling.ui.componentTypeEditor.ConfigurationPropertiesSection$8.perform(ConfigurationPropertiesSection.java:1)
at fi.vtt.simantics.procore.internal.SessionImplSocket$6.run0(SessionImplSocket.java:1522)
at org.simantics.db.impl.query.QueryProcessor$SessionTask.run(QueryProcessor.java:236)
at fi.vtt.simantics.procore.internal.SessionRequestManager$1.run0(SessionRequestManager.java:127)
at org.simantics.db.impl.query.QueryProcessor$SessionTask.run(QueryProcessor.java:236)
at org.simantics.db.impl.query.QueryThread.run(QueryThread.java:155)
```
The problem is that https://gitlab.simantics.org/simantics/platform/-/blob/9f6568aedeb8ec93d70a81c22b0457a55df7e8be/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/componentTypeEditor/ConfigurationPropertiesSection.java#L569 can return null but this not checked and null is then passed over to `query.find` two lines later request which eventually results in this NPE.1.59.0Tuukka LehtonenTuukka Lehtonenhttps://gitlab.simantics.org/simantics/platform/-/issues/1065Version incompatibility between os.db.common, os.db.impl and os.graph.db2024-03-01T11:29:45ZAntti VillbergVersion incompatibility between os.db.common, os.db.impl and os.graph.db1.60.0Antti VillbergAntti Villberghttps://gitlab.simantics.org/simantics/platform/-/issues/1053Support timeouts in NodeUtil.waitPending2024-02-19T10:25:54ZAntti VillbergSupport timeouts in NodeUtil.waitPendingAntti VillbergAntti Villberghttps://gitlab.simantics.org/simantics/platform/-/issues/10471.55.1 release engineering2023-12-12T12:10:23ZTuukka Lehtonen1.55.1 release engineeringBranched projects:
* [] simantics/third-party@
* [] simantics/platform@
* [] simantics/fmil@
* [] simantics/matlab@
* [] simantics/python@
* [] simantics/r@
* [] simantics/interop@
* [] simantics/3d@
* [] members/simupedia@
* [] members...Branched projects:
* [] simantics/third-party@
* [] simantics/platform@
* [] simantics/fmil@
* [] simantics/matlab@
* [] simantics/python@
* [] simantics/r@
* [] simantics/interop@
* [] simantics/3d@
* [] members/simupedia@
* [] members/fmi@
* [] simantics/district@
* [] simantics/sysdyn@
* [] gold-members/proteus@1.55.1Tuukka LehtonenTuukka Lehtonen