Failed

TEST-org.eclipse.viatra.query.rcptt.tests.Query Registry - Load Single Query (Double click)

Failing for the past 1 build (Since Unstable#1872 )
Took 7.7 sec.

Error Message

Line 15: get-item: The Item "[org.eclipse.viatra.examples.cps.queries.communicateWith - 50 matches]" could not be found.  

Stacktrace

Line 15: get-item: The Item "[org.eclipse.viatra.examples.cps.queries.communicateWith - 50 matches]" could not be found.  swt.info
      Tree()
            Item(org.eclipse.viatra.examples.cps.queries.communicateWith - No matches)
      eclipse.windows
            page:Workspace
                  editors
                        editor:demo.cyberphysicalsystem
                            id=org.eclipse.viatra.examples.cps.cyberPhysicalSystem.presentation.CyberPhysicalSystemEditorID
                            dirty=false
                            pinned=false
                            editorInput.name=demo.cyberphysicalsystem

                              Editor(demo.cyberphysicalsystem)
                                    Toolbar()
                                    TabFolder()
                                          TabItem(Selection)
                                          TabItem(Parent)
                                          TabItem(List)
                                          TabItem(Tree)
                                          TabItem(Table)
                                          TabItem(Tree with Columns)
                                          Label(Resource Set)
                                          Toolbar()
                                          Toolbar()
                                          Tree()
                                                Item(platform:/resource/org.eclipse.viatra.examples.cps.instances/demo.cyberphysicalsystem)
                  views
                        view:Properties
                            id=org.eclipse.ui.views.PropertySheet
                            dirty=false
                            fastView=false

                        view:Project Explorer
                            id=org.eclipse.ui.navigator.ProjectExplorer
                            dirty=false
                            fastView=false

                              View(Project Explorer)
                                    Toolbar()
                                          Button(Collapse All  (M1+M2+Numpad_Divide))
                                          Button(Link with Editor)
                        view:Problems
                            id=org.eclipse.ui.views.ProblemView
                            dirty=false
                            fastView=false

                              View(Problems)
                                    Toolbar()
                                          Button(Filters...)
                                    Label(186 errors, 26 warnings, 0 others (Filter matched 126 of 212 items))
                                    Label()
                                    Tree()
                                          Item(Errors (100 of 186 items))
                                          Item(Warnings (26 items))
                        view:Outline
                            id=org.eclipse.ui.views.ContentOutline
                            dirty=false
                            fastView=false

                              View(Outline)
                                    Toolbar()
                                    Tree()
                                          Item(platform:/resource/org.eclipse.viatra.examples.cps.instances/demo.cyberphysicalsystem)
                        view:Query Registry
                            id=org.eclipse.viatra.query.tooling.ui.queryregistry.QueryRegistryView
                            dirty=false
                            fastView=false

                              View(Query Registry)
                                    Toolbar()
                                          Button(Collapse All (M1+M2+Numpad_Divide))
                                    Text()
                                    Tree()
                                          Item(org.eclipse.viatra.examples.cps.queries)
                                                Item(org.eclipse.viatra.examples.cps.queries)
                                                      Item(AllReachableStates)
                                                      Item(applicationInstances)
                                                      Item(applicationInstancesOfApplicationType)
                                                      Item(applicationInstancesOfApplicationTypeIdentifiers)
                                                      Item(applicationTypes)
                                                      Item(applicationTypeWithHostedInstanceIdentifiers)
                                                      Item(applicationTypeWithHostedInstances)
                                                      Item(applicationTypeWithoutHostedInstance)
                                                      Item(applicationTypeWithoutHostedInstanceIdentifiers)
                                                      Item(communicateWith)
                                                      Item(finalPattern)
                                                      Item(hasMoreCommunicationPartner)
                                                      Item(hasMoreHostedApplicationInstances)
                                                      Item(hasMoreHostedApplications)
                                                      Item(hasTheMostCommunicationPartner)
                                                      Item(hasTheMostHostedApplicationInstances)
                                                      Item(hasTheMostHostedApplications)
                                                      Item(hostedApplications)
                                                      Item(hostInstancesWithZeroTotalRam)
                                                      Item(hostInstanceWithAtLeastAsMuchTotalRamAsTotalHdd)
                                                      Item(hostInstanceWithPrimeTotalRam)
                                                      Item(instances)
                                                      Item(inTheCommunicationChains)
                                                      Item(ReachableStates)
                                                      Item(transitionsOfApplicationType)
                                                      Item(transitionsOfApplicationTypeIdentifiers)
                                                      Item(UnreachableStatesOfStateMachines)
                                          Item(org.eclipse.viatra.examples.uml.viatra)
                                          Item(Registered queries)
                        view:Query Results
                            id=org.eclipse.viatra.query.tooling.ui.queryresult.QueryResultView
                            dirty=false
                            fastView=false

                              View(Query Results)
                                    Toolbar()
                                          Button(Load model from active editor)
                                          Button(Load queries from active editor)
                                          Button(Collapse All (M1+M2+Numpad_Divide))
                                          Combo(ReteEngine)
                                    Group(Engine details)
                                          Tree()
                                                Item(Resource Set)
                                                Item(Engine options: defaults)
                                                Item(Base index options: defaults)
                                    Tree()
                                          Item(org.eclipse.viatra.examples.cps.queries.communicateWith - No matches)
            shells
                  Window(Quick Access)
swt.player
java.runtime
    cpus=16
    freeMemory=544928376
    totalMemory=1521483776
    maxMemory=2863661056
Jobs information:
  Job:ECL session execute: pipeline
      class=org.eclipse.rcptt.ecl.internal.core.Session$1
      state=running
  Job:ECL session execute: sequence
      class=org.eclipse.rcptt.ecl.internal.core.Session$1
      state=running
  Job:ECL session execute: ast-exec
      class=org.eclipse.rcptt.ecl.internal.core.Session$1
      state=running
  Job:ECL session execute: ast-exec
      class=org.eclipse.rcptt.ecl.internal.core.Session$1
      state=running
  Job:ECL session execute: sequence
      class=org.eclipse.rcptt.ecl.internal.core.Session$1
      state=running
  Job:ECL session execute: with
      class=org.eclipse.rcptt.ecl.internal.core.Session$1
      state=running
  Job:ECL session execute: get-item
      class=org.eclipse.rcptt.ecl.internal.core.Session$1
      state=running
  Job:Workbench Auto-Save Job
      class=org.eclipse.ui.internal.Workbench$41
      state=sleeping
  Job:Compacting resource model
      class=org.eclipse.core.internal.utils.StringPoolJob
      state=sleeping
  Job:Periodic workspace save.
      class=org.eclipse.core.internal.resources.DelayedSnapshotJob
      state=sleeping
        rule=R/
Thread information:
    Thread:Q7 Indexer
      class=java.lang.Thread
        3: java.lang.Object.wait(Native Method)
        2: java.lang.Object.wait(Object.java:502)
        1: org.eclipse.rcptt.internal.core.jobs.JobManager.run(JobManager.java:406)
        0: java.lang.Thread.run(Thread.java:748)
    Thread:Worker-0
      class=org.eclipse.core.internal.jobs.Worker
        5: java.lang.Object.wait(Native Method)
        4: org.eclipse.rcptt.ecl.internal.core.Process.waitFor(Process.java:51)
        3: org.eclipse.rcptt.ecl.internal.commands.WithService.service(WithService.java:34)
        2: org.eclipse.rcptt.ecl.internal.core.AbstractSession.internalDoExecute(AbstractSession.java:83)
        1: org.eclipse.rcptt.ecl.internal.core.Session$1.run(Session.java:48)
        0: org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
    Thread:Worker-JM
      class=org.eclipse.core.internal.jobs.InternalWorker
        1: java.lang.Object.wait(Native Method)
        0: org.eclipse.core.internal.jobs.InternalWorker.run(InternalWorker.java:59)
    Thread:com.google.inject.internal.util.$Finalizer
      class=com.google.inject.internal.util.$Finalizer
        3: java.lang.Object.wait(Native Method)
        2: java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144)
        1: java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:165)
        0: com.google.inject.internal.util.$Finalizer.run(Finalizer.java:114)
    Thread:pool-2-thread-1
      class=java.lang.Thread
        7: sun.misc.Unsafe.park(Native Method)
        6: java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
        5: java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
        4: java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
        3: java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
        2: java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
        1: java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        0: java.lang.Thread.run(Thread.java:748)
    Thread:pool-2-thread-2
      class=java.lang.Thread
        7: sun.misc.Unsafe.park(Native Method)
        6: java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
        5: java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
        4: java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
        3: java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
        2: java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
        1: java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        0: java.lang.Thread.run(Thread.java:748)
    Thread:pool-1-thread-3
      class=java.lang.Thread
        8: sun.misc.Unsafe.park(Native Method)
        7: java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
        6: java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460)
        5: java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362)
        4: java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:941)
        3: java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1073)
        2: java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
        1: java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        0: java.lang.Thread.run(Thread.java:748)
    Thread:pool-2-thread-3
      class=java.lang.Thread
        7: sun.misc.Unsafe.park(Native Method)
        6: java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
        5: java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
        4: java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
        3: java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
        2: java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
        1: java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        0: java.lang.Thread.run(Thread.java:748)
    Thread:Q7 Runner Monitor
      class=org.eclipse.rcptt.runtime.ui.Q7Monitor
        1: java.lang.Thread.sleep(Native Method)
        0: org.eclipse.rcptt.runtime.ui.Q7Monitor.run(Q7Monitor.java:28)
    Thread:SCR Component Actor
      class=java.lang.Thread
        3: java.lang.Object.wait(Native Method)
        2: java.lang.Object.wait(Object.java:502)
        1: org.apache.felix.scr.impl.ComponentActorThread.run(ComponentActorThread.java:80)
        0: java.lang.Thread.run(Thread.java:748)
    Thread:Worker-9
      class=org.eclipse.core.internal.jobs.Worker
        5: java.lang.Object.wait(Native Method)
        4: org.eclipse.rcptt.ecl.internal.core.Process.waitFor(Process.java:51)
        3: org.eclipse.rcptt.ecl.internal.commands.SequenceService.service(SequenceService.java:45)
        2: org.eclipse.rcptt.ecl.internal.core.AbstractSession.internalDoExecute(AbstractSession.java:83)
        1: org.eclipse.rcptt.ecl.internal.core.Session$1.run(Session.java:48)
        0: org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
    Thread:Worker-10
      class=org.eclipse.core.internal.jobs.Worker
        5: java.lang.Object.wait(Native Method)
        4: org.eclipse.rcptt.ecl.internal.core.Process.waitFor(Process.java:51)
        3: org.eclipse.rcptt.ecl.internal.commands.SequenceService.service(SequenceService.java:45)
        2: org.eclipse.rcptt.ecl.internal.core.AbstractSession.internalDoExecute(AbstractSession.java:83)
        1: org.eclipse.rcptt.ecl.internal.core.Session$1.run(Session.java:48)
        0: org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
    Thread:Signal Dispatcher
      class=java.lang.Thread
    Thread:Java indexing
      class=java.lang.Thread
        3: java.lang.Object.wait(Native Method)
        2: java.lang.Object.wait(Object.java:502)
        1: org.eclipse.jdt.internal.core.search.processing.JobManager.run(JobManager.java:373)
        0: java.lang.Thread.run(Thread.java:748)
    Thread:Worker-7
      class=org.eclipse.core.internal.jobs.Worker
        5: java.lang.Object.wait(Native Method)
        4: org.eclipse.rcptt.ecl.internal.core.Process.waitFor(Process.java:51)
        3: org.eclipse.rcptt.ecl.internal.commands.PipelineService.service(PipelineService.java:39)
        2: org.eclipse.rcptt.ecl.internal.core.AbstractSession.internalDoExecute(AbstractSession.java:83)
        1: org.eclipse.rcptt.ecl.internal.core.Session$1.run(Session.java:48)
        0: org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
    Thread:Worker-12
      class=org.eclipse.core.internal.jobs.Worker
        7: java.lang.Object.wait(Native Method)
        6: org.eclipse.rcptt.ecl.internal.core.Process.waitFor(Process.java:51)
        5: org.eclipse.rcptt.ecl.internal.commands.ExecService.exec(ExecService.java:83)
        4: org.eclipse.rcptt.ecl.internal.commands.ExecService.service(ExecService.java:54)
        3: org.eclipse.rcptt.ecl.ast.commands.AstExecService.service(AstExecService.java:29)
        2: org.eclipse.rcptt.ecl.internal.core.AbstractSession.internalDoExecute(AbstractSession.java:83)
        1: org.eclipse.rcptt.ecl.internal.core.Session$1.run(Session.java:48)
        0: org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
    Thread:Active Thread: Equinox Container: da423d05-21f0-4c8c-9177-9bf53f3b63d0
      class=java.lang.Thread
        8: sun.misc.Unsafe.park(Native Method)
        7: java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
        6: java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
        5: java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093)
        4: java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809)
        3: java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
        2: java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
        1: java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        0: java.lang.Thread.run(Thread.java:748)
    Thread:Worker-8
      class=org.eclipse.core.internal.jobs.Worker
        12: sun.misc.Unsafe.park(Native Method)
        11: java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
        10: java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
        9: java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:467)
        8: org.eclipse.rcptt.tesla.internal.core.queue.TeslaQStream.readResponse(TeslaQStream.java:60)
        7: org.eclipse.rcptt.tesla.internal.core.queue.TeslaQPlayer.executeCommand(TeslaQPlayer.java:34)
        6: org.eclipse.rcptt.tesla.core.protocol.UIPlayer.safeExecuteCommand(UIPlayer.java:91)
        5: org.eclipse.rcptt.tesla.core.protocol.UISelector.find(UISelector.java:206)
        4: org.eclipse.rcptt.tesla.ecl.impl.TeslaBridge.find(TeslaBridge.java:237)
        3: org.eclipse.rcptt.tesla.ecl.internal.impl.commands.SelectorService.service(SelectorService.java:323)
        2: org.eclipse.rcptt.ecl.internal.core.AbstractSession.internalDoExecute(AbstractSession.java:83)
        1: org.eclipse.rcptt.ecl.internal.core.Session$1.run(Session.java:48)
        0: org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
    Thread:Worker-4
      class=org.eclipse.core.internal.jobs.Worker
        7: java.lang.Object.wait(Native Method)
        6: org.eclipse.rcptt.ecl.internal.core.Process.waitFor(Process.java:51)
        5: org.eclipse.rcptt.ecl.internal.commands.ExecService.exec(ExecService.java:83)
        4: org.eclipse.rcptt.ecl.internal.commands.ExecService.service(ExecService.java:54)
        3: org.eclipse.rcptt.ecl.ast.commands.AstExecService.service(AstExecService.java:29)
        2: org.eclipse.rcptt.ecl.internal.core.AbstractSession.internalDoExecute(AbstractSession.java:83)
        1: org.eclipse.rcptt.ecl.internal.core.Session$1.run(Session.java:48)
        0: org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)

  Error in plugin: org.eclipse.viatra.query.patternlanguage.emf.ui
  message: VIATRA Query encountered an error in delivering matcher initialization notification to listener org.eclipse.viatra.query.tooling.ui.queryresult.QueryResultTreeInput$EngineLifecycleListener@3aaa812b.

  exception: 
      java.lang.NullPointerException
          at org.eclipse.viatra.transformation.evm.specific.event.ViatraQueryEventHandler$1.activationMissing(ViatraQueryEventHandler.java:89)
          at org.eclipse.viatra.transformation.evm.api.event.adapter.EventProcessorAdapter.processEvent(EventProcessorAdapter.java:54)
          at org.eclipse.viatra.transformation.evm.api.event.adapter.EventHandlerAdapter.handleEvent(EventHandlerAdapter.java:62)
          at org.eclipse.viatra.transformation.evm.specific.event.ViatraQueryEventSource.lambda$3(ViatraQueryEventSource.java:81)
          at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
          at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
          at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
          at java.util.Iterator.forEachRemaining(Iterator.java:116)
          at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
          at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
          at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
          at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
          at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
          at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
          at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
          at org.eclipse.viatra.query.runtime.api.impl.BaseMatcher.rawForEachMatch(BaseMatcher.java:222)
          at org.eclipse.viatra.query.runtime.api.impl.BaseMatcher.forEachMatch(BaseMatcher.java:227)
          at org.eclipse.viatra.transformation.evm.specific.event.ViatraQueryEventSource.resendEventsForExistingMatches(ViatraQueryEventSource.java:81)
          at org.eclipse.viatra.transformation.evm.specific.event.ViatraQueryEventSource.beforeHandlerAdded(ViatraQueryEventSource.java:42)
          at org.eclipse.viatra.transformation.evm.api.event.adapter.EventSourceAdapter.addHandler(EventSourceAdapter.java:54)
          at org.eclipse.viatra.transformation.evm.specific.event.ViatraQueryEventHandler.prepareEventHandler(ViatraQueryEventHandler.java:60)
          at org.eclipse.viatra.transformation.evm.specific.event.ViatraQueryRuleInstanceBuilder.prepareRuleInstance(ViatraQueryRuleInstanceBuilder.java:27)
          at org.eclipse.viatra.transformation.evm.api.RuleSpecification.instantiateRule(RuleSpecification.java:94)
          at org.eclipse.viatra.transformation.evm.api.RuleBase.instantiateRule(RuleBase.java:71)
          at org.eclipse.viatra.transformation.evm.api.RuleEngine.addRule(RuleEngine.java:117)
          at org.eclipse.viatra.transformation.evm.api.RuleEngine.addRule(RuleEngine.java:99)
          at org.eclipse.viatra.query.tooling.ui.queryresult.QueryResultTreeInput.createMatcher(QueryResultTreeInput.java:245)
          at org.eclipse.viatra.query.tooling.ui.queryresult.QueryResultTreeInput$EngineLifecycleListener.matcherInstantiated(QueryResultTreeInput.java:119)
          at org.eclipse.viatra.query.runtime.internal.engine.LifecycleProvider.matcherInstantiated(LifecycleProvider.java:59)
          at org.eclipse.viatra.query.runtime.internal.apiimpl.ViatraQueryEngineImpl.internalRegisterMatcher(ViatraQueryEngineImpl.java:281)
          at org.eclipse.viatra.query.runtime.internal.apiimpl.ViatraQueryEngineImpl.getMatcher(ViatraQueryEngineImpl.java:220)
          at org.eclipse.viatra.query.tooling.ui.queryresult.QueryResultTreeInput.loadQuery(QueryResultTreeInput.java:348)
          at org.eclipse.viatra.query.tooling.ui.queryresult.QueryResultTreeInput.loadQueries(QueryResultTreeInput.java:313)
          at org.eclipse.viatra.query.tooling.ui.queryresult.QueryResultView$1.run(QueryResultView.java:137)
          at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)

    data=[B@58afc14
    message=The Item "[org.eclipse.viatra.examples.cps.queries.communicateWith - 50 matches]" could not be found.(aut-ws-0 - org.eclipse.viatra.examples.cps.instances/demo.cyberphysicalsystem - Eclipse Platform)