You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the testing system is launched to test CArtAgO facilities, such as listing workspaces, get observable properties, and so on, an error is occurring when the Config.get().fix() method of src/main/java/jacamo/infra/JaCaMoLauncher.java class is performed.
Details:
The testing class calls: TestUtils.launchSystem("src/test/java/project/p5.jcm");
It puts a JaCaMo instance in a thread and use the current thread to check when the instance is ready to perform the tests. The JaCaMo instance parses the "jcm" file and make many other default procedures to initialize the given system. The init() method calls a fix() method which is throwing an IO error:
WorkspaceCreationTest STANDARD_ERROR
Exception in thread "Thread-3" java.lang.NullPointerException
at java.base/java.io.File.<init>(File.java:279)
at jacamo.util.Config.tryToFixJarFileConf(Config.java:284)
at jacamo.util.Config.fix(Config.java:161)
at jacamo.infra.JaCaMoLauncher.init(JaCaMoLauncher.java:113)
at jacamo.infra.JaCaMoLauncher.main(JaCaMoLauncher.java:67)
at jacamo.util.TestUtils$1.run(TestUtils.java:21)
Because of this error, the JaCaMo instance never get ready and the Integrated test (performed by gradle test) never finishes, printing the messages:
WorkspaceCreationTest STANDARD_OUT
waiting for jcm to start...
waiting for jcm to start...
waiting for jcm to start...
waiting for jcm to start...
I don't know why it is happening. Any thoughts?
The text was updated successfully, but these errors were encountered:
When the testing system is launched to test CArtAgO facilities, such as listing workspaces, get observable properties, and so on, an error is occurring when the Config.get().fix() method of src/main/java/jacamo/infra/JaCaMoLauncher.java class is performed.
Details:
The testing class calls:
TestUtils.launchSystem("src/test/java/project/p5.jcm");
It puts a JaCaMo instance in a thread and use the current thread to check when the instance is ready to perform the tests. The JaCaMo instance parses the "jcm" file and make many other default procedures to initialize the given system. The init() method calls a fix() method which is throwing an IO error:
Because of this error, the JaCaMo instance never get ready and the Integrated test (performed by gradle test) never finishes, printing the messages:
I don't know why it is happening. Any thoughts?
The text was updated successfully, but these errors were encountered: