Failed

TEST-org.eclipse.viatra.query.rcptt.tests.Query Results - Local Search - Show results

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

Error Message

Tree widget verification 'demo.query.loaded' failed:: Tree widget verification 'demo.query.loaded' failed: Expected "org.eclipse.viatra.examples.cps.queries.applicationInstances - 3 matches", but was "org.eclipse.viatra.examples.cps.queries.applicationInstances - No matches"  

Stacktrace

Tree widget verification 'demo.query.loaded' failed:: Tree widget verification 'demo.query.loaded' failed: Expected "org.eclipse.viatra.examples.cps.queries.applicationInstances - 3 matches", but was "org.eclipse.viatra.examples.cps.queries.applicationInstances - No matches"  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@40286bc1.

  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.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:142)
          at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)