by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    ChickenCoder
    @ChickenCoderGithub
    its still saying No such field saros.negotiation.ProjectNegotiationData.additionalProjectOptions
    Tobias Bouschen
    @tobous
    I will have a closer look at it tomorrow
    ChickenCoder
    @ChickenCoderGithub
    Thanks
    Tobias Bouschen
    @tobous

    @ChickenCoderYt Ok, soooo... I already had a short look at it and it seems to works for me. I build the server using ./gradlew sarosServer. I build the Eclipse plugin using ./gradlew sarosEclipse and simply moved the four jar files to the dropin folder of an Eclipse installation. The connection worked without an issue (well the clients still ran into a NPE concerning the multi-user chat, but that doesn't hurt the main functionality; still weird though). I did not have any issues with xStream exceptions.

    Update while writing: Apparently "uninstall" doesn't mean uninstall for Eclipse plugins? You can have a look at their FAQ. So you should (probably after making backups first; I don't want to be at fault when stuff breaks :wink:) probably go ahead and delete the Saros directories from the Eclipse plugin directory. Also, as stated in the last sentence of the first section, you could also have to clear the meta-data...
    But I am not familiar with the Eclipse plugin stuff, so I am not 100% sure on any of this.
    End of update.
    So the issue might be that the Eclipse installation still retained the old Saros version. My advice would be to remove the dropin and ensure that the plugin is really uninstalled (no "Saros" entry in the menu bar and not listed as an installed plugin). Then, re-add the drop in and see if it loads correctly. (If not, look at the error log.) If you still have the same problems at that point, there are different ways of checking/ensuring that you are running the correct version to make sure that the problem really isn't caused by the version mismatch. But we can talk about that once it comes to it.

    But, as a general note, the usability of the Server is questionable (and not really that well explained on our website; this is the first time I am using the Server as well).
    As stated on the website, you can specify a workspace using -Dsaros.server.workspace=. The thing is, if the workspace is empty initially (which it is by default if you haven't specified a workspace), the session will be created empty. This is the reason the invitation does not ask for a local project to use for the session as there aren't any projects that are being shared.
    Instead, to share a project in a fresh session, a participant of the session has to share a project first by right-clicking a project in the project view and selecting the option "Add to Saros session" (or right-clinging the word "Session" in the Saros view and selecting the option "Add projects..."). This then adds the project to the session, leading to it being shared.
    I don't know how the server handled existing projects in the workspace, but from my limited testing, it seems like they are shared automatically.

    ChickenCoder
    @ChickenCoderGithub
    First of all thanks for this detailed explanation. I think i know what the mistake could be. When I builded saros i only got 3 files saros.core saros.eclipse and saros.whiteboard
    That was the reason why the dropin doesnt worked
    Than i downloaded an old release of the droppin and replaces the core and eclipse file and moved the witeboard to the folder
    So the saros.ui and the features jar script wasnt build by myself
    I will have a closer look at it as soon as i can
    Tobias Bouschen
    @tobous

    First of all thanks for this detailed explanation. I think i know what the mistake could be. When I builded saros i only got 3 files saros.core saros.eclipse and saros.whiteboard

    But those are the important ones. The fourth one for me was the STF, our testing framework, which is not important for the main plugin functionality whatsoever. So me mentioning that there were 4 jars was probably more confusing than helpful. Sorry.

    Just using the build jars should work. modifying an old bundled plugin should not be necessary.

    You could also try a clean eclipse install and see if it works there. That would remove the possibility of interactions with previous installations.

    ChickenCoder
    @ChickenCoderGithub
    I will try soon probably you could send me the working files if im still to stupid i habe to do some homework now
    ChickenCoder
    @ChickenCoderGithub
    This time it worked with the three files but i still get that nullpointer exception becouse of No such field saros.negotiation.ProjectNegotiationData.additionalProjectOptions
    Tobias Bouschen
    @tobous

    This time it worked with the three files but i still get that nullpointer exception becouse of No such field saros.negotiation.ProjectNegotiationData.additionalProjectOptions

    @ChickenCoderYt I have now also tried it on Windows 10 using a build created on Windows, so I really can't recreate your issue. Have you tried using a clean Eclipse installation (just downloading a fresh eclipse zip, unpacking it and adding the dropins)?

    Uploading files to Gitter doesn't work on my system, but I can post a zipped version of the drop in jars and the server jar that work on my system later this evening.

    ChickenCoder
    @ChickenCoderGithub
    would be really awesome also im creating a website where you can upload the files did you also testet the choose workspace loaction not just invite
    Tobias Bouschen
    @tobous
    Yes, I tested both. I could create a session with two participants + server that correctly shared a project
    ChickenCoder
    @ChickenCoderGithub
    It would be cool if you could upload these files to this website i created http://felix-selter.ddns.net/developer/upload.jsp
    ChickenCoder
    @ChickenCoderGithub
    |
    |
    Thanks for your help im not sure how but now it works
    Tobias Bouschen
    @tobous
    :+1: Great! Happy to help.
    ChickenCoder
    @ChickenCoderGithub

    Another question appeared
    Is it normal that i can invite someone only once and after that i have to restart the server becouse

    ERROR 17:16:52,647 [main] (InviteCommand.java:47) Error inviting users
    java.lang.IllegalArgumentException: JID is not resource qualified: DeinNutzerName@saros-con.imp.fu-berlin.de
    at saros.session.internal.SarosSession.getUser(SarosSession.java:672)
    at saros.session.SarosSessionManager.startSharingProjects(SarosSessionManager.java:723)
    at saros.server.console.InviteCommand.execute(InviteCommand.java:44)
    at saros.server.console.ServerConsole.run(ServerConsole.java:57)
    at saros.server.SarosServer.main(SarosServer.java:62)

    Tobias Bouschen
    @tobous
    @Drakulix @stefaus Any input?
    Stefan Rossbach
    @srossbach
    try to invite alice@example/Saros instead of alice@example However the exception states a bug somewhere in the logic
    ChickenCoder
    @ChickenCoderGithub
    I will try
    coolian1223
    @coolian1223
    Can i ask a Question here?
    ChickenCoder
    @ChickenCoderGithub
    Of course
    coolian1223
    @coolian1223
    When either me or my friend tries to invite the other after starting a session it fails to sync projects because an other process or program(not sure if it was process or program its been like a day since that) is blocking a file or some files. What do i need todo to make saros work
    ChickenCoder
    @ChickenCoderGithub
    On which computer happened the error? Of
    Your one or the one of you friend
    coolian1223
    @coolian1223
    both
    ChickenCoder
    @ChickenCoderGithub
    Hmmh do you use intelligy or eclipse
    coolian1223
    @coolian1223
    eclipse he does to we have the same version of eclipse 2019-12
    ChickenCoder
    @ChickenCoderGithub
    Also the newest saros version?
    coolian1223
    @coolian1223
    probably
    eclipse auto updates right?
    ChickenCoder
    @ChickenCoderGithub
    You should have the same and the newest
    Please check in you marketplace under help
    coolian1223
    @coolian1223
    ok
    coolian1223
    @coolian1223
    i have the newest version and since my friend isnt online rn i cant ask him to check if he has the newest version ill do that later
    coolian1223
    @coolian1223
    we both have the same saros version
    Invitation was canceled locally because of an error: I / O failure: org.eclipse.core.runtime.CoreException: The process cannot access the file because another process has blocked part of the file
    thats the full error
    well the part thats under the details
    coolian1223
    @coolian1223
    it also might be good to mention that the project we are trying to work together on is using gradlew
    ChickenCoder
    @ChickenCoderGithub
    Probably you could clear your eclipse logs recreate the mistake and post the logs here
    coolian1223
    @coolian1223
    well i could if knew how to do that
    coolian1223
    @coolian1223
    acctually that seems easy
    coolian1223
    @coolian1223
    i probably wont be able to get the log until tomorrow
    thats the log