My Oracle Support Banner

Reports Server Web Commands Like getserverinfo Fails with REP-52266 (Doc ID 839478.1)

Last updated on SEPTEMBER 21, 2022

Applies to:

Oracle Reports Developer - Version and later
Generic UNIX


After starting Reports Server and then trying to run a Report Server web command like "getserverinfo", it fails with the following error on the browser:

REP-52266: The in-process Reports Server <reports server name> failed to

After enabling Reports Server trace option, the following trace information is recorded:


[2009/6/8 9:34:44:39] Info 56021 (EngineManager:spawnEngine): Engine rwEng-0 has been launched
[2009/6/8 9:34:44:39] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Initial
[2009/6/8 9:34:44:693] Exception 56105 (): Engine rwEng-0 died with error: Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -1
 at java.lang.String.substring(
 at oracle.reports.utility.CommandParser.setCommand(
 at oracle.reports.utility.CommandParser.<init>(
 at oracle.reports.engine.RWEngine.init(
 at oracle.reports.engine.RWEngine.main( IDL:oracle/reports/RWException:1.0
 at oracle.reports.utility.Utility.newRWException(
 at oracle.reports.server.EngineManager.manage(


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.