addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobe--smallglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1launch-new-window--smalllight-bulblinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

Re: Chat Client-server app

From: Kwabena A.
Sent on: Monday, July 30, 2012 11:28 PM

I have managed to track down and fix this issue with the run time error. I have committed it to git hub so if you are interested you can pull this down and take a look. The fix is in the commit message along with where I found the solution so I won't repeat it here.


On 29 July[masked]:51, Kwabena Aning <[address removed]> wrote:

I managed to get the chat client-server application working and compiling properly. It is on SBT and I am not using the AKKA framework for this. I am using the Actors that come with the Scala library.

I do have a couple of issues though and a <insert refreshing beverage of your choice> for whoever can fix it for me. 

There are two apps in this SBT application. Running the will give you an option of which application you want to run. To get my concept you need to run the same SBT app in two separate terminals, choose server on one and client in the other. 
The client uses console.readLine() to capture user input so typing should and hitting return should send the message to the remote actor/server. Now this is where there is the problem below is the runtime exception I get when the message is send a message. 

Let me know what you think of it. 

Finally my github is at you should find the repo there. And Pawel you can pull it into the user group github account.


Kwabena Aning

Our Sponsors

  • Scala Dojo

    Web site for monthly Scala Dojo

  • Scala Jobs

    Google Group of Scala Jobs in the London Area

  • _.underscore

    Scala consultants, trainers, and developers, based in London, UK

  • Springer

    Help and supporters of the monthly dojo

  • Skills Matter

    Provide the venue for many of our meetings.

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy