Context:
- Windows 10 Professional 64-bits
- Stardog version 7.9.0
- STARDOG_HOME=C:\stardog_home
- PATH=...C:\stardogs\stardog-7.9.0\bin;..
- java version "1.8.0_331"
- Java(TM) SE Runtime Environment (build 1.8.0_331-b09)
- Java HotSpot(TM) 64-Bit Server VM (build 25.331-b09, mixed mode)
Steps to duplicate the issue:
I have followed the install from zip instructions and excecuted the following command on cmd with administrator rights:
stardog-admin server start
It works fine!
Then I open a second elevated command prompt and execute the following command:
stardog-admin db create -n my-database
I get this message in the first command prompt:
Exception in thread "stardog-user-1" java.io.IOError: java.io.FileNotFoundException: Invalid file path
at org.xnio.conduits.Conduits$1.run(Conduits.java:237)
at org.xnio.conduits.Conduits$1.run(Conduits.java:227)
at java.security.AccessController.doPrivileged(Native Method)
at org.xnio.conduits.Conduits.(Conduits.java:227)
at io.undertow.conduits.DeflatingStreamSinkConduit.writeFinal(DeflatingStreamSinkConduit.java:174)
at org.xnio.conduits.ConduitStreamSinkChannel.writeFinal(ConduitStreamSinkChannel.java:104)
at io.undertow.channels.DetachableStreamSinkChannel.writeFinal(DetachableStreamSinkChannel.java:195)
at io.undertow.server.HttpServerExchange$WriteDispatchChannel.writeFinal(HttpServerExchange.java:2160)
at io.undertow.io.UndertowOutputStream.writeBufferBlocking(UndertowOutputStream.java:294)
at io.undertow.io.UndertowOutputStream.close(UndertowOutputStream.java:338)
at io.undertow.io.BlockingSenderImpl.close(BlockingSenderImpl.java:225)
at io.undertow.io.DefaultIoCallback.onComplete(DefaultIoCallback.java:54)
at io.undertow.io.BlockingSenderImpl.invokeOnComplete(BlockingSenderImpl.java:283)
at io.undertow.io.BlockingSenderImpl.send(BlockingSenderImpl.java:76)
at io.undertow.io.BlockingSenderImpl.send(BlockingSenderImpl.java:107)
at com.complexible.stardog.protocols.http.server.StardogUndertowErrorHandler.accept(StardogUndertowErrorHandler.java:131)
at com.stardog.http.server.undertow.ErrorHandling.sendErrorResponse(ErrorHandling.java:70)
at com.stardog.http.server.undertow.jaxrs.ExtractRoutes.lambda$handleIt$5(ExtractRoutes.java:195)
at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120)
at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
Caused by: java.io.FileNotFoundException: Invalid file path
at java.io.FileOutputStream.(FileOutputStream.java:206)
at java.io.FileOutputStream.(FileOutputStream.java:101)
at org.xnio.conduits.Conduits$1.run(Conduits.java:232)
... 22 more
In the second command prompt nothing happens
I have tried to create a db from stargod studio but it stucks while is creating a database.
I have tried with the following environment variables:
- STARDOG_HOME=%USERPROFILE%\stardog_home
- PATH=...%USERPROFILE%\stardogs\stardog-7.9.0\bin;
I got the same issue