The exceptions are thrown because externalization happens synchronously and not in a separate job when running in test mode. Some tests rely on that behavior but I think we should take some time in the next release cycle to clean up those tests and avoid changing the externalization strategy when running tests which would then fix those errors.
You can ignore these errors for now but please feel free to file a bug so we can address this as tests not expected to produce output unless there is an actual failure. Steffen On Thu, Jun 11, 2009 at 11:58 AM, Praveen K Subramanian<[email protected]> wrote: > Hi all, > > I am getting the following exception when I run my unit tests(using Junit) > for the Mylyn connector, but I dont see the same exception when I run it in > non test mode. Any ideas? > > [2009-06-11T11-55-26] Status ERROR: org.eclipse.mylyn.tasks.core code=0 > Notification failed for: > org.eclipse.mylyn.internal.tasks.core.externalization.tasklistexternalizationparticip...@1fed1f3 > java.lang.IllegalArgumentException: Attempted to beginRule: > org.eclipse.mylyn.internal.tasks.core.itaskscoreconstants$tasklistschedulingr...@ad7532, > does not match outer scope rule: > org.eclipse.mylyn.internal.tasks.core.sync.synchronizequeriesjob$mutexr...@148ed35, > Exception: > java.lang.IllegalArgumentException: Attempted to beginRule: > org.eclipse.mylyn.internal.tasks.core.itaskscoreconstants$tasklistschedulingr...@ad7532, > does not match outer scope rule: > org.eclipse.mylyn.internal.tasks.core.sync.synchronizequeriesjob$mutexr...@148ed35 > at org.eclipse.core.runtime.Assert.isLegal(Assert.java:64) > at > org.eclipse.core.internal.jobs.ThreadJob.illegalPush(ThreadJob.java:122) > at org.eclipse.core.internal.jobs.ThreadJob.push(ThreadJob.java:232) > at > org.eclipse.core.internal.jobs.ImplicitJobs.begin(ImplicitJobs.java:58) > at > org.eclipse.core.internal.jobs.JobManager.beginRule(JobManager.java:230) > at > org.eclipse.mylyn.internal.tasks.core.externalization.ExternalizationManager$ExternalizationJob.run(ExternalizationManager.java:198) > at > org.eclipse.mylyn.internal.tasks.core.externalization.ExternalizationManager.requestSave(ExternalizationManager.java:137) > at > org.eclipse.mylyn.internal.tasks.core.externalization.TaskListExternalizationParticipant.containersChanged(TaskListExternalizationParticipant.java:152) > at > org.eclipse.mylyn.internal.tasks.core.TaskList.fireDelta(TaskList.java:260) > at > org.eclipse.mylyn.internal.tasks.core.TaskList.unlock(TaskList.java:692) > at > org.eclipse.mylyn.internal.tasks.core.TaskList.removeFromContainer(TaskList.java:575) > at > org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeQueriesJob.synchronizeQuery(SynchronizeQueriesJob.java:352) > at > org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeQueriesJob.synchronizeQueries(SynchronizeQueriesJob.java:300) > at > org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeQueriesJob.run(SynchronizeQueriesJob.java:238) > at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) > > -- > Regards, > Praveen > > _______________________________________________ > mylyn-integrators mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/mylyn-integrators > > -- Steffen Pingel Committer, http://eclipse.org/mylyn Senior Developer, http://tasktop.com _______________________________________________ mylyn-integrators mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/mylyn-integrators
