Skip to content
This repository has been archived by the owner on Oct 4, 2019. It is now read-only.

StackOverflowError for OtherClient? #1

Open
matt-martin opened this issue Mar 25, 2015 · 0 comments
Open

StackOverflowError for OtherClient? #1

matt-martin opened this issue Mar 25, 2015 · 0 comments

Comments

@matt-martin
Copy link

I was trying to poke around and run some of the example code and ran into the following error:

scala> demo.Server.main(Array("127.0.0.1"))
[server] NEGOTIATION - got ssl parameters: None with /127.0.0.1:8080
[server] NEGOTIATION - about to bind with /127.0.0.1:8080
[server] NEGOTIATION - bound with /127.0.0.1:8080

scala> demo.Client.main(Array("127.0.0.1"))
[server] NEGOTIATION - channel connected with /127.0.0.1:55731
[server] NEGOTIATION - sending capabilities with /127.0.0.1:55731
[server] NEGOTIATION - sent capabilities with /127.0.0.1:55731
[server] NEGOTIATION - creating queue with /127.0.0.1:55731
[server] NEGOTIATION - closing queue with /127.0.0.1:55731
[server] ----------------
[server] header: Map()
[server] trace: 1fb398b3-fa2a-4389-9782-e1b526a53ae5
[server] request: getMovie(m1)
[server] result: \/-(Movie(m1,American Sniper,List(a1, a2)))
[server] duration: 1268 microseconds
Result from the server is: Movie(m1,American Sniper,List(a1, a2))

scala> demo.OtherClient.main(Array("127.0.0.1"))
java.lang.StackOverflowError
    at scalaz.Kleisli.<init>(Kleisli.scala:8)
    at scalaz.KleisliFunctions$class.kleisli(Kleisli.scala:173)
    at scalaz.Kleisli$.kleisli(Kleisli.scala:193)
    at scalaz.KleisliFunctions$class.ask(Kleisli.scala:188)
    at scalaz.Kleisli$.ask(Kleisli.scala:193)
    at demo.OtherClient$.remoteToK(main.scala:48)
    at demo.OtherClient$.remoteToK(main.scala:48)
    at demo.OtherClient$.remoteToK(main.scala:48)
    at demo.OtherClient$.remoteToK(main.scala:48)
    at demo.OtherClient$.remoteToK(main.scala:48)
    at demo.OtherClient$.remoteToK(main.scala:48)
        ...
    at demo.OtherClient$.remoteToK(main.scala:48)

I don't quite have enough context to know why this is happening, so I thought I'd put it up here in case I'm missing something simple.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant