org.apache.stanbol.enhancer.servicesapi.ChainException: Enhancement Chain failed because of required Engine 'marmotta-kiwi-linking' failed with Message: Unable to process ContentItem '<urn:content-item-sha1-b0e0272b7288a89ca6fe1a8f4312eee566f45a71>' with Enhancement Engine 'marmotta-kiwi-linking' because the engine was unable to process the content (Engine class: org.apache.stanbol.enhancer.engines.entitylinking.engine.EntityLinkingEngine)(Reason: Exception while searchign for [test, linking]@[null, en]in the ReferencedSite marmottasesamesite)!

stanbol-dev | Rupert Westenthaler | 2 years ago
  1. 0

    Re: Error in entity linking with Sesame Yard Site and Marmotta kiwi instance

    stanbol-dev | 2 years ago | Rupert Westenthaler
    org.apache.stanbol.enhancer.servicesapi.ChainException: Enhancement Chain failed because of required Engine 'marmotta-kiwi-linking' failed with Message: Unable to process ContentItem '<urn:content-item-sha1-b0e0272b7288a89ca6fe1a8f4312eee566f45a71>' with Enhancement Engine 'marmotta-kiwi-linking' because the engine was unable to process the content (Engine class: org.apache.stanbol.enhancer.engines.entitylinking.engine.EntityLinkingEngine)(Reason: Exception while searchign for [test, linking]@[null, en]in the ReferencedSite marmottasesamesite)!
  2. 0

    Error in entity linking with Sesame Yard Site and Marmotta kiwi instance

    stanbol-dev | 2 years ago | Dileepa Jayakody
    org.apache.stanbol.enhancer.servicesapi.ChainException: Enhancement Chain failed because of required Engine 'marmotta-kiwi-linking' failed with Message: Unable to process ContentItem '<urn:content-item-sha1-b0e0272b7288a89ca6fe1a8f4312eee566f45a71>' with Enhancement Engine 'marmotta-kiwi-linking' because the engine was unable to process the content (Engine class: org.apache.stanbol.enhancer.engines.entitylinking.engine.EntityLinkingEngine)(Reason: Exception while searchign for [test, linking]@[null, en]in the ReferencedSite marmottasesamesite)!
  3. 0

    HK2 / GlassFish / Jersey incompatibility

    Stack Overflow | 10 months ago | user2163960
    java.lang.IllegalStateException: While attempting to create a service for SystemDescriptor( implementation=gov.vha.isaac.ochre.api.util.WorkExecutors contracts={gov.vha.isaac.ochre.api.util.WorkExecutors} scope=org.glassfish.hk2.runlevel.RunLevel qualifiers={} descriptorType=CLASS descriptorVisibility=NORMAL metadata=runLevelValue={-1},runLevelMode={1} rank=0 loader=null proxiable=null proxyForSameScope=null analysisName=default id=11 locatorId=8 identityHashCode=1088961042 reified=true) in scope org.glassfish.hk2.runlevel.RunLevel an error occured while locating the context
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 2177#249796378

    GitHub | 2 months ago | maggu2810
    java.lang.IllegalStateException: linking is required before interacting with the bridge
  6. 0

    When using the {{@Rule}} and {{@ClassRule}} classes SpringTestRule and SpringMethodRule in conjunction with a custom Runner that allows to use nested classes to create hierarchical tests, the tests in subclasses fail with a {{IllegalStateException}}. Example of a hierarchical runner : - https://github.com/bechte/junit-hierarchicalcontextrunner/wiki - https://github.com/NitorCreations/CoreComponents/tree/master/junit-runners The second one doesn't have the same error but i'm guessing the problem is similar. StackTrace : {noformat} java.lang.IllegalStateException: Failed to find 'public static final SpringClassRule' field in test class [com.example.unit.testing.application.PlacingOrderTest$WithExistingCustomer]. Consult the javadoc for SpringClassRule for details. at org.springframework.test.context.junit4.rules.SpringMethodRule.validateSpringClassRuleConfiguration(SpringMethodRule.java:233) at org.springframework.test.context.junit4.rules.SpringMethodRule.apply(SpringMethodRule.java:143) at de.bechte.junit.runners.context.statements.builder.HierarchicalRunRulesStatementBuilder.createStatement(HierarchicalRunRulesStatementBuilder.java:42) at de.bechte.junit.runners.context.processing.MethodExecutor.run(MethodExecutor.java:80) at de.bechte.junit.runners.context.processing.MethodExecutor.run(MethodExecutor.java:57) at de.bechte.junit.runners.context.statements.RunChildren.evaluate(RunChildren.java:38) at de.bechte.junit.runners.context.statements.RunAll.evaluate(RunAll.java:27) at de.bechte.junit.runners.context.statements.StatementExecutor.execute(StatementExecutor.java:28) at de.bechte.junit.runners.context.HierarchicalContextRunner.run(HierarchicalContextRunner.java:134) at de.bechte.junit.runners.context.processing.ContextExecutor.run(ContextExecutor.java:26) at de.bechte.junit.runners.context.processing.ContextExecutor.run(ContextExecutor.java:15) at de.bechte.junit.runners.context.statements.RunChildren.evaluate(RunChildren.java:38) at de.bechte.junit.runners.context.statements.RunAll.evaluate(RunAll.java:27) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.springframework.test.context.junit4.statements.ProfileValueChecker.evaluate(ProfileValueChecker.java:103) at org.springframework.test.context.junit4.rules.SpringClassRule$TestContextManagerCacheEvictor.evaluate(SpringClassRule.java:248) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at de.bechte.junit.runners.context.statements.StatementExecutor.execute(StatementExecutor.java:28) at de.bechte.junit.runners.context.HierarchicalContextRunner.run(HierarchicalContextRunner.java:134) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192) {noformat} The exception makes sense because the nested class indeed doesn't have the static SpringClassRule. But it can't have it because the nested class isn't static. Moreover, I'm not sure it would need it because the rule would be evaluated twice. Is it possible to correct this behavior or find a workaround ?

    Spring JIRA | 8 months ago | Benoit AVERTY
    java.lang.IllegalStateException: Failed to find 'public static final SpringClassRule' field in test class [com.example.unit.testing.application.PlacingOrderTest$WithExistingCustomer]. Consult the javadoc for SpringClassRule for details.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Exception while searchign for [test, linking]@[null, en]in the ReferencedSite marmottasesamesite

      at org.apache.stanbol.enhancer.engines.entityhublinking.ReferencedSiteSearcher.lookup()
    2. org.apache.stanbol
      EnhancementJobHandler.handleEvent
      1. org.apache.stanbol.enhancer.engines.entityhublinking.ReferencedSiteSearcher.lookup(ReferencedSiteSearcher.java:127)
      2. org.apache.stanbol.enhancer.engines.entitylinking.impl.EntityLinker.performLookup(EntityLinker.java:686)
      3. org.apache.stanbol.enhancer.engines.entitylinking.impl.EntityLinker.lookupEntities(EntityLinker.java:614)
      4. org.apache.stanbol.enhancer.engines.entitylinking.impl.EntityLinker.process(EntityLinker.java:271)
      5. org.apache.stanbol.enhancer.engines.entitylinking.engine.EntityLinkingEngine.computeEnhancements(EntityLinkingEngine.java:265)
      6. org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJobHandler.processEvent(EnhancementJobHandler.java:279)
      7. org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJobHandler.handleEvent(EnhancementJobHandler.java:197)
      7 frames
    3. Apache Felix EventAdmin
      AsyncDeliverTasks$TaskExecuter.run
      1. org.apache.felix.eventadmin.impl.handler.EventHandlerProxy.sendEvent(EventHandlerProxy.java:412)
      2. org.apache.felix.eventadmin.impl.tasks.SyncDeliverTasks.execute(SyncDeliverTasks.java:118)
      3. org.apache.felix.eventadmin.impl.tasks.AsyncDeliverTasks$TaskExecuter.run(AsyncDeliverTasks.java:132)
      3 frames
    4. Dough Lea's util.concurrent package
      PooledExecutor$Worker.run
      1. EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
      1 frame
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame