Consultingwerk.Framework.ServiceLoader error does not show filename
 
Forums / SmartComponent Library - Developer Forum / Consultingwerk.Framework.ServiceLoader error does not show filename

Consultingwerk.Framework.ServiceLoader error does not show filename

2 posts, 0 answered
  1. Carl Verbiest
    Carl Verbiest avatar
    59 posts
    Registered:
    12 Oct 2018
    24 Feb 2019
    Link to this post
    I'm creating a start procedure that uses StartupManager

    StartupManager = new AppServerStartupManager(ApplicationConfigJson) .
    StartupManager:initialize() .

    I get an error from the service loader, the stack trace shows it originates from a LoadFromFile but the error does not show which file causes the error.
    ServiceLoader:Load contains code to enhance the error with file info but for one reason or another that does not work.

    Error while loading service: be.cce.ccetools.services.SettingsService

    Unable to add the service for "Consultingwerk.Framework.ISettingsService" to this service container. The specified type is already registered.

    Load Consultingwerk.Framework.ServiceLoader at line 962  (C:\Users\cvb\git\smartcomponentlibrary_utf8\Consultingwerk\Framework\ServiceLoader.cls)
    Load Consultingwerk.Framework.ServiceLoader at line 773  (C:\Users\cvb\git\smartcomponentlibrary_utf8\Consultingwerk\Framework\ServiceLoader.cls)
    LoadFromFile Consultingwerk.Framework.ServiceLoader at line 990  (C:\Users\cvb\git\smartcomponentlibrary_utf8\Consultingwerk\Framework\ServiceLoader.cls)
    StartupServices Consultingwerk.Framework.Server.AppServerStartupManager at line 738  (C:\Users\cvb\git\smartcomponentlibrary_utf8\Consultingwerk\Framework\Server\AppServerStartupManager.r)
    StartupRoutine Consultingwerk.Framework.Server.AppServerStartupManager at line 938  (C:\Users\cvb\git\smartcomponentlibrary_utf8\Consultingwerk\Framework\Server\AppServerStartupManager.r)
    Startup Consultingwerk.Framework.Server.AppServerStartupManager at line 135  (C:\Users\cvb\git\smartcomponentlibrary_utf8\Consultingwerk\Framework\Server\AppServerStartupManager.r)
    initialize Consultingwerk.Framework.Server.AppServerStartupManager at line 1058  (C:\Users\cvb\git\smartcomponentlibrary_utf8\Consultingwerk\Framework\Server\AppServerStartupManager.r)
    C:\Users\cvb\git\ccesmarttools\CceSmartTools\src\be\cce\SmartTools\SmartFramework\Build\build_metadataprovider_cache.p at line 37  (C:\Users\cvb\git\ccesmarttools\CceSmartTools\src\be\cce\SmartTools\SmartFramework\Build\build_metadataprovider_cache.p)
    adecomm/_runcode.p at line 675  (adecomm/_runcode.r)
    C:\Progress\eclipse473oedtstudio1174\plugins\com.openedge.pdt.debug.core_11.7.4.00\abl\_debuglauncher.p at line 100  (C:\Progress\eclipse473oedtstudio1174\plugins\com.openedge.pdt.debug.core_11.7.4.00\abl\_debuglauncher.p)

    Original Stack Trace:
    AddService Consultingwerk.Framework.ServiceContainer at line 182  (C:\Users\cvb\git\smartcomponentlibrary_utf8\Consultingwerk\Framework\ServiceContainer.r)
    Load Consultingwerk.Framework.ServiceLoader at line 945  (C:\Users\cvb\git\smartcomponentlibrary_utf8\Consultingwerk\Framework\ServiceLoader.cls)
    Load Consultingwerk.Framework.ServiceLoader at line 773  (C:\Users\cvb\git\smartcomponentlibrary_utf8\Consultingwerk\Framework\ServiceLoader.cls)
    LoadFromFile Consultingwerk.Framework.ServiceLoader at line 990  (C:\Users\cvb\git\smartcomponentlibrary_utf8\Consultingwerk\Framework\ServiceLoader.cls)
    StartupServices Consultingwerk.Framework.Server.AppServerStartupManager at line 738  (C:\Users\cvb\git\smartcomponentlibrary_utf8\Consultingwerk\Framework\Server\AppServerStartupManager.r)
    StartupRoutine Consultingwerk.Framework.Server.AppServerStartupManager at line 938  (C:\Users\cvb\git\smartcomponentlibrary_utf8\Consultingwerk\Framework\Server\AppServerStartupManager.r)
    Startup Consultingwerk.Framework.Server.AppServerStartupManager at line 135  (C:\Users\cvb\git\smartcomponentlibrary_utf8\Consultingwerk\Framework\Server\AppServerStartupManager.r)
    initialize Consultingwerk.Framework.Server.AppServerStartupManager at line 1058  (C:\Users\cvb\git\smartcomponentlibrary_utf8\Consultingwerk\Framework\Server\AppServerStartupManager.r)
    C:\Users\cvb\git\ccesmarttools\CceSmartTools\src\be\cce\SmartTools\SmartFramework\Build\build_metadataprovider_cache.p at line 37  (C:\Users\cvb\git\ccesmarttools\CceSmartTools\src\be\cce\SmartTools\SmartFramework\Build\build_metadataprovider_cache.p)
    adecomm/_runcode.p at line 675  (adecomm/_runcode.r)
    C:\Progress\eclipse473oedtstudio1174\plugins\com.openedge.pdt.debug.core_11.7.4.00\abl\_debuglauncher.p at line 100  (C:\Progress\eclipse473oedtstudio1174\plugins\com.openedge.pdt.debug.core_11.7.4.00\abl\_debuglauncher.p)

    Shown by:
    ShowErrorMessage Consultingwerk.Util.ErrorHelper at line 2240  (C:\Users\cvb\git\smartcomponentlibrary_utf8\Consultingwerk\Util\ErrorHelper.r)
    C:\Users\cvb\git\ccesmarttools\CceSmartTools\src\be\cce\SmartTools\SmartFramework\Build\build_metadataprovider_cache.p at line 265  (C:\Users\cvb\git\ccesmarttools\CceSmartTools\src\be\cce\SmartTools\SmartFramework\Build\build_metadataprovider_cache.p)
    adecomm/_runcode.p at line 675  (adecomm/_runcode.r)
    C:\Progress\eclipse473oedtstudio1174\plugins\com.openedge.pdt.debug.core_11.7.4.00\abl\_debuglauncher.p at line 100  (C:\Progress\eclipse473oedtstudio1174\plugins\com.openedge.pdt.debug.core_11.7.4.00\abl\_debuglauncher.p)
     
  2. Mike Fechner
    Mike Fechner avatar
    319 posts
    Registered:
    14 Sep 2016
    24 Feb 2019 in reply to Carl Verbiest
    Link to this post
    Hi Carl,

    please log technical issues at http://support.consultingwerkcloud.com

2 posts, 0 answered