Community
Participate
Working Groups
Build Identifier: Tigerstripe hangs when I added Tigerstripe module as Dependency and try to save project. Steps to reproduce: 1. Create tigerstripe project1 'project1'. Add referenced Tigerstripe project. Export project1 as a a Tigerstripe Module. 2. Move created Tigerstripe Module file to project2. 3. Select project2. Open tigerstripe.xml on dependencies tab. Add module to a project as dependency. Press 'save' button to save project. Tigerstripe hangs. Reproducible: Always
For some reason, I can't reproduce this on my machine. Can someone else try please?
Hi Navid, I reproduced this bug. Here are my steps: 1. Create TS project p1 2. Create TS project p2 3. Add p2 to references of p1 4. Export p1 as TS module 5. Copy created module jar file from p1 directory to p2 directory 6. Add copied jar to dependencies of p2. 7. Save it At first glance - this deadlock, which occurs in org.eclipse.tigerstripe.workbench.internal.core.model.ArtifactManager.refresh(boolean forceReload, IProgressMonitor monitor) at line 917: writeLock.lock();
Created attachment 183733 [details] Patch_1 Fixed
Patch applied.
I still get a deadlock when I follow the instruction in comment#2. I've verified that I have the latest code and all the changes in the attached patch is in my workspace. After following the instructions in comment#2, the workbench seems frozen for a while and then a stack overflow occurs! This defect can be pushed to I27 if there is no cycle to resolve it in this iteration.
Created attachment 184160 [details] Patch_2 I fixed this problem.
I applied second patch from Valentin.
Verified. Thanks!