Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tutorial Server will not build. #2

Closed
ghost opened this issue Jun 4, 2020 · 3 comments
Closed

Tutorial Server will not build. #2

ghost opened this issue Jun 4, 2020 · 3 comments

Comments

@ghost
Copy link

ghost commented Jun 4, 2020

Followed the install instructions in the readme file, but when running I get the following error, and it is stuck at 80% executing. Left running all night without change.

Using Java 9.0.4

Extended terminal snippet:

1 | C:/Users/Prairie Rose/Downloads/tutorial-master/server
| ^
at swim.codec/swim.codec.Parser.error(Parser.java:142)
at swim.uri/swim.uri.UriParser.parsePathString(UriParser.java:214)
at swim.uri/swim.uri.UriPath.parse(UriPath.java:314)
at swim.service.web/swim.service.web.WebServer.(WebServer.java:62)
at swim.service.web/swim.service.web.WebService.createServer(WebService.java:118)
at swim.io.http/swim.io.http.HttpSocketService.createSocket(HttpSocketService.java:51)
at swim.io/swim.io.TcpService.doAccept(TcpService.java:117)
at swim.io/swim.io.StationTransport.doAccept(Station.java:453)
at swim.io/swim.io.StationThread.doAccept(Station.java:1079)
at swim.io/swim.io.StationThread.select(Station.java:1005)
at swim.io/swim.io.StationThread.run(Station.java:882)
error: unexpected ' '
--> :1:17

to replicate:

  1. Running on java 9.0.4 on windows
  2. open admin command prompt
  3. navigate to server folder
  4. run "gradlew.bat run"
    when execution gets to 80% error starts occurring.

<==========---> 80% EXECUTING [9m 46s]
--> :1:17
|
1 | C:/Users/Prairie Rose/Downloads/tutorial-master/server
| ^
at swim.codec/swim.codec.Parser.error(Parser.java:142)
at swim.uri/swim.uri.UriParser.parsePathString(UriParser.java:214)
at swim.uri/swim.uri.UriPath.parse(UriPath.java:314)
at swim.service.web/swim.service.web.WebServer.(WebServer.java:62)
at swim.service.web/swim.service.web.WebService.createServer(WebService.java:118)
at swim.io.http/swim.io.http.HttpSocketService.createSocket(HttpSocketService.java:51)
at swim.io/swim.io.TcpService.doAccept(TcpService.java:117)
at swim.io/swim.io.StationTransport.doAccept(Station.java:453)
error: unexpected ' '
--> :1:17 swim.io/swim.io.StationThread.select(Station.java:1005)
|
1 | C:/Users/Prairie Rose/Downloads/tutorial-master/server
| ^
at swim.codec/swim.codec.Parser.error(Parser.java:142)
at swim.uri/swim.uri.UriParser.parsePathString(UriParser.java:214)
at swim.uri/swim.uri.UriPath.parse(UriPath.java:314)
at swim.service.web/swim.service.web.WebServer.(WebServer.java:62)
at swim.service.web/swim.service.web.WebService.createServer(WebService.java:118)
at swim.io.http/swim.io.http.HttpSocketService.createSocket(HttpSocketService.java:51)
at swim.io/swim.io.TcpService.doAccept(TcpService.java:117)rver.java:62)
at swim.io/swim.io.StationTransport.doAccept(Station.java:453)ebService.java:118)
at swim.io/swim.io.StationThread.doAccept(Station.java:1079)HttpSocketService.java:51)
at swim.io/swim.io.StationThread.select(Station.java:1005))
at swim.io/swim.io.StationThread.run(Station.java:882)ava:453)
error: unexpected ' 'im.io.StationThread.doAccept(Station.java:1079)
--> :1:17 swim.io/swim.io.StationThread.select(Station.java:1005)
| at swim.io/swim.io.StationThread.run(Station.java:882)
1 | C:/Users/Prairie Rose/Downloads/tutorial-master/server
| ^
at swim.codec/swim.codec.Parser.error(Parser.java:142)
at swim.uri/swim.uri.UriParser.parsePathString(UriParser.java:214)
at swim.uri/swim.uri.UriPath.parse(UriPath.java:314)
at swim.service.web/swim.service.web.WebServer.(WebServer.java:62)
at swim.service.web/swim.service.web.WebService.createServer(WebService.java:118)
at swim.io.http/swim.io.http.HttpSocketService.createSocket(HttpSocketService.java:51)
at swim.io/swim.io.TcpService.doAccept(TcpService.java:117)rver.java:62)
at swim.io/swim.io.StationTransport.doAccept(Station.java:453)ebService.java:118)
at swim.io/swim.io.StationThread.doAccept(Station.java:1079)HttpSocketService.java:51)
at swim.io/swim.io.StationThread.select(Station.java:1005))
at swim.io/swim.io.StationThread.run(Station.java:882)ava:453)
error: unexpected ' '
--> :1:17
|
1 | C:/Users/Prairie Rose/Downloads/tutorial-master/server
| ^
at swim.codec/swim.codec.Parser.error(Parser.java:142)
at swim.uri/swim.uri.UriParser.parsePathString(UriParser.java:214)
at swim.uri/swim.uri.UriPath.parse(UriPath.java:314)
at swim.service.web/swim.service.web.WebServer.(WebServer.java:62)
at swim.service.web/swim.service.web.WebService.createServer(WebService.java:118)
at swim.io.http/swim.io.http.HttpSocketService.createSocket(HttpSocketService.java:51)
at swim.io/swim.io.TcpService.doAccept(TcpService.java:117)
at swim.io/swim.io.StationTransport.doAccept(Station.java:453)
at swim.io/swim.io.StationThread.doAccept(Station.java:1079)
at swim.io/swim.io.StationThread.select(Station.java:1005)
at swim.io/swim.io.StationThread.run(Station.java:882)
error: unexpected ' '
--> :1:17
|DLE
1 | C:/Users/Prairie Rose/Downloads/tutorial-master/server
| ^
at swim.codec/swim.codec.Parser.error(Parser.java:142)
at swim.uri/swim.uri.UriParser.parsePathString(UriParser.java:214)
at swim.uri/swim.uri.UriPath.parse(UriPath.java:314)
at swim.service.web/swim.service.web.WebServer.(WebServer.java:62)
at swim.service.web/swim.service.web.WebService.createServer(WebService.java:118)
at swim.io.http/swim.io.http.HttpSocketService.createSocket(HttpSocketService.java:51)
at swim.io/swim.io.TcpService.doAccept(TcpService.java:117)
at swim.io/swim.io.StationTransport.doAccept(Station.java:453)
at swim.io/swim.io.StationThread.doAccept(Station.java:1079)
at swim.io/swim.io.StationThread.select(Station.java:1005)
at swim.io/swim.io.StationThread.run(Station.java:882)
<==========---> 80% EXECUTING [12m 59s] > IDLE

:run
IDLE
IDLE
IDLE
IDLE
IDLE
IDLE
IDLE
IDLE
IDLE
IDLE
IDLE
IDLE
IDLE

@ajay-gov
Copy link
Member

ajay-gov commented Jun 4, 2020

@prrose thanks for reporting the issue.
We have tried with jdk11 on Windows and it is working for us. Could you please upgrade to jdk 11+ and try. jdk 9 and jdk10 are EOL, so it is better to use jdk11+ (we will update our Readme files soon)

Do make sure you have the latest version of the master for this project since we recently updated it.

@ajay-gov
Copy link
Member

ajay-gov commented Jun 5, 2020

Duplicate of issue #3

@ajay-gov
Copy link
Member

ajay-gov commented Jun 5, 2020

Closing since it's a duplicate

@ajay-gov ajay-gov closed this as completed Jun 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant