Menu

SServiceProvider.getDeclaredServices throws Exception

Help
Hannes
2016-06-06
2016-06-09
  • Hannes

    Hannes - 2016-06-06

    Hi jadex team,

    I get the following Exception:

    Exception in thread "main" java.lang.ClassCastException: jadex.bridge.service.component.interceptors.DelegatingFuture cannot be cast to jadex.commons.future.IIntermediateFuture
        at jadex.bridge.service.search.SServiceProvider.getDeclaredServices(SServiceProvider.java:893)
    

    the handle is of a micro agent that provides one service, implementing that interface. That interface does not extend IService (should services always do so?).

    Not sure what additional information might be required.

    regards
    Hannes

     
  • Lars Braubach

    Lars Braubach - 2016-06-09

    Hi Hannes,

    services do not need to implement IService themselves. The system makes
    them automatically implement it.

    thanks for reporting this. We will investigate that issue and come back to you.

    Best
    Lars

     
  • Lars Braubach

    Lars Braubach - 2016-06-09

    Hi Hannes,

    I fixed the method and the fix will be available via the next working nightly.

    Best
    Lars

     

Log in to post a comment.

MongoDB Logo MongoDB