WLs 10.0: Appc Throwing Illegalargumentexception during compilation (Doc ID 1136457.1)

Last updated on JUNE 09, 2016

Applies to:

Oracle WebLogic Server - Version 10.0 and later
Information in this document applies to any platform.

Symptoms

Running WLAPPC can sometimes cause IllegalArgumentException which is being thrown during the JSP compile steps:

[java] weblogic.utils.compiler.ToolFailureException: Unexpected exception while compiling jsps :java.lang.IllegalArgumentException: offset 769 out of legal range [0, 768]
[java] at weblogic.servlet.jsp.jspc20.runBodyInternal(jspc20.java:429)
[java] at weblogic.servlet.jsp.jspc20.runJspc(jspc20.java:195)
[java] at weblogic.servlet.jsp.JspcInvoker.compile(JspcInvoker.java:235)
[java] at weblogic.application.compiler.AppcUtils.compileWAR(AppcUtils.java:354)
[java] at weblogic.application.compiler.WARModule.compile(WARModule.java:219)
[java] at weblogic.application.compiler.flow.CompileModuleFlow.compileModules(CompileModuleFlow.java:103)
[java] at weblogic.application.compiler.flow.CompileModuleFlow.compile(CompileModuleFlow.java:58)
[java] at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
[java] at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)

Changes

None.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms