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ä