Closed GoogleCodeExporter closed 9 years ago
wat.
Make this work again, it used to work.
Original comment by rvmille...@gmail.com
on 19 Apr 2011 at 3:00
Ok, i was hoping that restarting my computer would solve this. But as it
stands, I can't even share newly created files and any other file in my
workspace, which means that I can't continue to work on the concurrency issues.
Can someone please fix this asap? Or at the very least give me some steps that
guarentee being able to share a file?
Original comment by rharagut...@gmail.com
on 19 Apr 2011 at 3:02
I think a possible number of steps to break it was (though it was like 3 am at
the time)
- before sharing, have a tab open
- edit tab, save
- then try to share, which fails
Original comment by rharagut...@gmail.com
on 19 Apr 2011 at 3:07
also, it wasn't that all 3 of my files became unsharable at the same time, it
seemed like they gradually became unsharable.
Original comment by rharagut...@gmail.com
on 19 Apr 2011 at 3:11
was the server running on local host? just trying to reproduce the issue..
Original comment by azfarkha...@gmail.com
on 19 Apr 2011 at 3:13
It didn't seem to matter. I had one running on a pod, and both my laptop and
the pod were giving the same errors
Original comment by rharagut...@gmail.com
on 19 Apr 2011 at 3:15
the error is on line 198 of content manager, the content string is ""
Original comment by rharagut...@gmail.com
on 19 Apr 2011 at 3:18
i cant recreated the issue....
i had a server on localhost and shared: (1) file without it being open on
screen, (2) a file open on screen and (3) a file open on screen after editing
but before sharing
do note that i only shared with myself because no other clients were connected,
but that shouldnt be a problem...i also was able to share at least 4 files
everything seems to work fine on revision 454 on Multitype (check
multitype.editors.EditorManager) and revision 445 of the server (check Server)
Original comment by azfarkha...@gmail.com
on 19 Apr 2011 at 3:21
This is really bizarre.
I've stepped through the program, and everything looks fine up until
openDocument in EditorManager,
I don't really know what these things do, but here's what's happening:
on line 169, it does not go through the loop, i guess length=0,
Scanner is created (successfully it seems)
content intialized to ""
scanner.hasNext returns false as it doesn't go into the while loop
content attempts to substring ""
Original comment by rharagut...@gmail.com
on 19 Apr 2011 at 3:26
what are your revisions?
Original comment by azfarkha...@gmail.com
on 19 Apr 2011 at 3:27
also, this is probably more important, but my editormanager is on revision 457
Original comment by rharagut...@gmail.com
on 19 Apr 2011 at 3:28
my server.java is at 445, but markupprocessor.java is at 461
Original comment by rharagut...@gmail.com
on 19 Apr 2011 at 3:29
Can we revert back to last night's working version?
Original comment by rvmille...@gmail.com
on 19 Apr 2011 at 3:36
Original comment by azfarkha...@gmail.com
on 19 Apr 2011 at 3:37
Original comment by rvmille...@gmail.com
on 19 Apr 2011 at 3:39
ok, it should be good now.....
i bet you were trying to share empty files......just like you said, that is why
the array out of bounds was happening: 0 length minus 1 is -1.
anyway, all should be good now, please update to revision 462 on
multitype.editors.EditorManager
Original comment by azfarkha...@gmail.com
on 19 Apr 2011 at 3:43
Original comment by rharagut...@gmail.com
on 19 Apr 2011 at 3:48
good job, thanks!
Original comment by rharagut...@gmail.com
on 19 Apr 2011 at 3:48
Original issue reported on code.google.com by
rharagut...@gmail.com
on 19 Apr 2011 at 7:43