jruby/jruby · error · RuntimeException

No profiling service property found.

Error message

No profiling service property found.

What it means

Error "No profiling service property found." thrown in jruby/jruby.

Source

Thrown at core/src/main/java/org/jruby/runtime/profile/ProfilingServiceLookup.java:110

    }

    /**
     * Getter to avoid direct property access.
     */
    private String getServiceClassName() {
        return getConfig().getProfilingService();
    }

    /**
     * Creates a new instance of the configured {@link org.jruby.runtime.profile.ProfilingService} instance.
     * @return The service instance which should be used.
     */
    private synchronized ProfilingService newProfiler(  ) {
        if( service == null ) {
            switch( getProfilingMode() ) {
                case SERVICE:
                    if( getServiceClassName() == null || getServiceClassName().trim().isEmpty() ) {
                        throw new RuntimeException( "No profiling service property found.");
                    }

                    service = newServiceInstance();
                    break;

                default:
                    service = new BuiltinProfilingService(runtime);
                    break;
            }
        }

        return service;
    }

    /**
     * @return new instance created by reflection
     */
    private ProfilingService newServiceInstance() {

View on GitHub (pinned to fb650c13e0)

Solutions

  1. No profiling service was configured. Set the jruby.profiling.service property (or register a ProfilingService) before starting profiling.

When it happens

Trigger: Thrown at core/src/main/java/org/jruby/runtime/profile/ProfilingServiceLookup.java:110 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of jruby/jruby@fb650c13e0 (2026-08-23). Data as JSON: /api/errors/074b0f34c62c2036. Report an issue: GitHub.