by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    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
    Tobias Bouschen
    @tobous

    Could you provide the Saros log? It can be found in the workspace of the project: <workspace>/.metadata/.plugins/saros.eclipse/log/<date>/*.log

    Also, are you using any other IDE plugins (especially ones adding support for other programming languages; those have caused trouble in the past) in combination with Saros?

    thats probably the right thing
    i have only 1 other plugin installed and that plugin is json editor and i would be sad if it wouldnt be working with saros
    i instrcuted my friend to install the json plugin like 2 days ago
    and it didnt work with both of us having that plugin
    Tobias Bouschen
    @tobous
    @srossbach Any idea? The Saros log files also don't seem that informative as they also only state that the resource is locked. Seems very weird to me.
    that is another error log without clearing the log after start
    this is eclipse error log from my friend probably without clearing the log first
    coolian1223
    @coolian1223
    if i create anew project and try to share it does work
    so it has something todo with the project
    ill send it to ya in a bit
    i hope that helps
    Kelvin GlaƟ
    @m273d15
    My first assumption was that you are using windows and the gradle daemon would lock your file (as in gradle/gradle#937 issue), but I was not able to reproduce the issue with eclipse and your project. I installed Eclipse 2019-09 with Saros 15.0.0 and the JSON Editor, removed your .classpath and .gradle dir (because of the system specific content of the .classpath file),imported the project as gradle project and shared it via Saros (without the exception). Could you provide further information (which OS you use), how we could reproduce the issue?
    Stefan Rossbach
    @srossbach
    You can open the Resource Monitor switch to the Disk tab and go through the processes to see which process is currently using the affected files. Your issue is clearly not caused by Saros but a common problem when you want to access files under Windows that are (partially) locked by a specific process.
    coolian1223
    @coolian1223
    im using windows 10 newest version idk how to reproduce