Update error from ST 14 -> 15 + solution

7 views
Skip to first unread message

Saku Seppälä

unread,
Nov 21, 2025, 6:19:09 AM (9 days ago) Nov 21
to semanticturkey-developer
Hi all,

I compiled my own binary of Semantic Turkey 15 and tried updating my ST 14 testing installation, but the update process gave the following error:

C:\Programs\Vocbench3\vocbench3-15\semanticturkey-15.0\bin>semanticturkey.bat
Update routine: 14.0 -> 15.0
- Updating role projectmanager(system)
it.uniroma2.art.semanticturkey.exceptions.STInitializationException: java.io.FileNotFoundException: C:\Programs\Vocbench3\vocbench3-15\semanticturkey-15.0\..\SemanticTurkeyData\system\plugins\it.uniroma2.art.semanticturkey.settings.connections.showvoc.ConnectedShowVocSettingsManager\settings.props (The system cannot find the path specified)
        at it.uniroma2.art.semanticturkey.resources.Resources.initializeUserResources(Resources.java:143)
        at it.uniroma2.art.semanticturkey.SemanticTurkey.initialize(SemanticTurkey.java:78)
        ..
Caused by: java.io.FileNotFoundException: C:\Programs\Vocbench3\vocbench3-15\semanticturkey-15.0\..\SemanticTurkeyData\system\plugins\it.uniroma2.art.semanticturkey.settings.connections.showvoc.ConnectedShowVocSettingsManager\settings.props (The system cannot find the path specified)
        at java.base/java.io.FileInputStream.open0(Native Method)
        at java.base/java.io.FileInputStream.open(FileInputStream.java:216)
        …

I tracked this down and as far as I can see, it is just a missing file exists check issue in:
core-framework/src/main/java/it/uniroma2/art/semanticturkey/resources/UpdateRoutines.java

         // refactor the ConnectedShowVocSettingsManager at system scope
         File connectedShowVocSystemSettingsFile = STPropertiesManager.getSystemSettingsFile(ConnectedShowVocSettingsManager.class.getName());
-        showVocCredentialsRefactoring.accept(connectedShowVocSystemSettingsFile, "the connected ShowVoc system settings");
+        if (connectedShowVocSystemSettingsFile.exists()) {
+            showVocCredentialsRefactoring.accept(connectedShowVocSystemSettingsFile, "the connected ShowVoc system settings");
+        }

 
         // refactor the stored configurations of the ShowVocDeployer

Patch in Eclipse format is as attachment.


Kind regards, Saku Seppälä

Semantic_turkey_15_update_error_patch.patch

Tiziano Lorenzetti

unread,
Nov 21, 2025, 6:24:54 AM (9 days ago) Nov 21
to semanticturk...@googlegroups.com
Hi Saku,
thanks as always for your helpful input.
In this case, the issue you reported had already been identified, and a fix was already committed in the version under development.

We appreciate your continued attention and support.

Best regards,
Tiziano



--
Hai ricevuto questo messaggio perché sei iscritto al gruppo "semanticturkey-developer" di Google Gruppi.
Per annullare l'iscrizione a questo gruppo e non ricevere più le sue email, invia un'email a semanticturkey-dev...@googlegroups.com.
Per visualizzare questa discussione, visita https://groups.google.com/d/msgid/semanticturkey-developer/7c951dbc-f233-4546-bced-7db5050f6838n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages