Getting Error: While running Java Http Service

Exception in thread "main" java.lang.IllegalStateException: Could not find locator. If running in a test context, this exception can occur if no services have been mocked using the provided service-mocking utilities. If this exception is occurring in a production context, this is a bug.


This error throwing while running httpservice

1 comment

  • Avatar
    Sameer Mehta

    Hi Ritika, 

    This looks to be a bug. Can you provide some more details on this error such as the line in your trigger/action where this error occurred or how you were trying to use ServiceLocater? If you have setup the SDKDebugger correctly, it should be able to give you a detailed error message and specify which line in your code the error occurred at and why. 

    Best Regards,


Please sign in to leave a comment.