{"record":{"id":"074b0f34c62c2036","repo":"jruby/jruby","slug":"no-profiling-service-property-found","errorCode":null,"errorMessage":"No profiling service property found.","messagePattern":"No profiling service property found\\.","errorType":"exception","errorClass":"RuntimeException","httpStatus":null,"severity":"error","filePath":"core/src/main/java/org/jruby/runtime/profile/ProfilingServiceLookup.java","lineNumber":110,"sourceCode":"    }\n\n    /**\n     * Getter to avoid direct property access.\n     */\n    private String getServiceClassName() {\n        return getConfig().getProfilingService();\n    }\n\n    /**\n     * Creates a new instance of the configured {@link org.jruby.runtime.profile.ProfilingService} instance.\n     * @return The service instance which should be used.\n     */\n    private synchronized ProfilingService newProfiler(  ) {\n        if( service == null ) {\n            switch( getProfilingMode() ) {\n                case SERVICE:\n                    if( getServiceClassName() == null || getServiceClassName().trim().isEmpty() ) {\n                        throw new RuntimeException( \"No profiling service property found.\");\n                    }\n\n                    service = newServiceInstance();\n                    break;\n\n                default:\n                    service = new BuiltinProfilingService(runtime);\n                    break;\n            }\n        }\n\n        return service;\n    }\n\n    /**\n     * @return new instance created by reflection\n     */\n    private ProfilingService newServiceInstance() {","sourceCodeStart":92,"sourceCodeEnd":128,"githubUrl":"https://github.com/jruby/jruby/blob/fb650c13e02b5a600fa66384655069d5ec30c362/core/src/main/java/org/jruby/runtime/profile/ProfilingServiceLookup.java#L92-L128","documentation":"Error \"No profiling service property found.\" thrown in jruby/jruby.","triggerScenarios":"Thrown at core/src/main/java/org/jruby/runtime/profile/ProfilingServiceLookup.java:110 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["No profiling service was configured. Set the jruby.profiling.service property (or register a ProfilingService) before starting profiling."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"fb650c13e02b5a600fa66384655069d5ec30c362","analyzedAt":"2026-08-23T07:18:57.479Z","schemaVersion":2},"datasetVersion":"2026-08-23T08:06:27.607Z"}