org.openl.exception.OpenlNotCheckedException

Failed to add runtime context in parameters of each method.

Solutions on the web2

  • via openl-tablets by nobody
    , 1 year ago
    Failed to add runtime context in parameters of each method.
  • There is no implementation in rules for interface method "public abstract java.lang.String Simple.Greeting(int)"
  • Stack trace

    • org.openl.exception.OpenlNotCheckedException: Failed to add runtime context in parameters of each method. at org.openl.rules.project.instantiation.RulesServiceEnhancer.getServiceClass(RulesServiceEnhancer.java:63) at org.openl.rules.project.instantiation.RulesServiceEnhancer.getInstanceClass(RulesServiceEnhancer.java:177) at org.openl.rules.ruleservice.core.RuleServiceOpenLServiceInstantiationFactoryImpl.resolveInterface(RuleServiceOpenLServiceInstantiationFactoryImpl.java:120) at org.openl.rules.ruleservice.core.RuleServiceOpenLServiceInstantiationFactoryImpl.initService(RuleServiceOpenLServiceInstantiationFactoryImpl.java:60) at org.openl.rules.ruleservice.core.RuleServiceOpenLServiceInstantiationFactoryImpl.createService(RuleServiceOpenLServiceInstantiationFactoryImpl.java:138) at org.openl.rules.ruleservice.core.RuleServiceImpl.deploy(RuleServiceImpl.java:74) at org.openl.rules.ruleservice.management.ServiceManagerImpl.deployNewServices(ServiceManagerImpl.java:170) at org.openl.rules.ruleservice.management.ServiceManagerImpl.processServices(ServiceManagerImpl.java:105) at org.openl.rules.ruleservice.management.ServiceManagerImpl.onDeploymentAdded(ServiceManagerImpl.java:95) at org.openl.rules.ruleservice.loader.JcrDataSource$DataSourceListenerWrapper.projectsAdded(JcrDataSource.java:253) at org.openl.rules.repository.jcr.JcrProductionRepository.onEvent(JcrProductionRepository.java:277) at org.apache.jackrabbit.rmi.observation.ClientEventPoll.run(ClientEventPoll.java:224) Caused by: org.openl.rules.project.instantiation.RulesInstantiationException: Cannot resolve interface. at org.openl.rules.project.instantiation.ApiBasedInstantiationStrategy.getGeneratedRulesClass(ApiBasedInstantiationStrategy.java:65) at org.openl.rules.project.instantiation.CommonRulesInstantiationStrategy.getInstanceClass(CommonRulesInstantiationStrategy.java:93) at org.openl.rules.project.instantiation.RulesServiceEnhancer.getServiceClass(RulesServiceEnhancer.java:60) ... 11 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.