Accessibility

TechNote

ColdFusion MX 7.0.2: Hot fix for IllegalStateExceptions in ModuleTag

Issue


Adobe has resolved an issue with IllegalStateExceptions thrown intermittently by ModuleTag. The stacktrace generated is similar to the following:

java.lang.IllegalStateException
at coldfusion.tagext.lang.ModuleTag.doAfterBody(ModuleTag.java:439)
at cfindex2ecfm842540228.runPage(C:\InetPub\wwwroot\IllegalStateException\index.cfm:18)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349)
at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:219)
at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51)
...

The scenario where this problem occurs typically includes the following items:

  1. Use of an application framework.
  2. Use of Application.cfc and OnRequestEnd or OnSessionEnd method.
  3. Calling methods on ColdFusion Components stored in shared scopes, often the application scope.
  4. The use of custom tags.

Secondary issues caused by the IllegalStateException are often resolved by application of the patch. These issues have included query truncation and invalid parameter binding errors with cfquery and cfqueryparam.

Solution


ColdFusion MX 7.0.2:
  1. Download and unzip the hot fix. (2K)
  2. Open the ColdFusion MX Administrator and select the System Information page. Next to the Update File field, either:
    • Type in the file path and click Submit.

      OR
    • Select the Browse Button and browse to the downloaded file. Select the file and click apply.
  3. Restart ColdFusion MX.

The ColdFusion MX 7 hot fix JAR file does not need to be retained after installing it with the ColdFusion Administrator. The file has been copied into the correct location.

The ColdFusion MX 7 hot fix JAR file will appear as a new entry in the System Information list.

Additional Information


ColdFusion hot fixes (MX 7 and higher)

AlertThis content requires Flash

To view this content, JavaScript must be enabled, and you need the latest version of the Adobe Flash Player.

Download the free Flash Player now!

Get Adobe Flash Player

Creative Commons License

Search Support


Document Details

ID:kb402002

Products Affected:

coldfusion