Adobe
Products

Top destinations

  • Adobe Creative Cloud
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • SiteCatalyst
  • Students
  • Elements family

Adobe Creative Cloud

  • What is Adobe Creative Cloud?
  • Design
  • Web
  • Photography
  • Video
  • Students
  • Teams
  • Enterprise
  • Educational institutions

Design and photography

  • Photoshop
  • Illustrator
  • InDesign
  • Adobe Muse
  • Lightroom

Video

  • Adobe Premiere
  • After Effects

Web development and HTML5

  • Edge Tools & Services [opens in a new window]
  • Dreamweaver
  • Gaming [opens in a new window]

Adobe Marketing Cloud

  • What is Adobe Marketing Cloud?
  • Digital analytics
  • Social marketing
  • Web experience management
  • Testing and targeting
  • Media optimization

Analytics

  • SiteCatalyst
  • Adobe Discover
  • Insight

Social

  • Adobe Social

Experience Manager

  • CQ
  • Scene7

Target

  • Test&Target
  • Recommendations
  • Search&Promote

Media Optimizer

  • AdLens
  • AudienceManager
  • AudienceResearch

Document services

  • Acrobat
  • EchoSign [opens in a new window]
  • FormsCentral [opens in a new window]
  • SendNow [opens in a new window]
  • Acrobat.com [opens in a new window]

Publishing

  • Digital Publishing Suite

  • See all products
Business solutions

By business need

  • Digital analytics
  • Digital publishing
  • Document management
  • Media optimization
  • Social marketing
  • Testing and targeting
  • Video editing and serving
  • Web development [opens in a new window]
  • Web experience management
  • See all business needs

By industry

  • Broadcast
  • Education
  • Financial services
  • Government
  • Publishing
  • Retail
  • See all industries
Support & Learning

I need help

  • Products
  • Adobe Creative Cloud
  • Adobe Marketing Cloud
  • Forums [opens in a new window]

I want to learn

  • Training and tutorials
  • Certification [opens in a new window]
  • Adobe Developer Connection
  • Adobe Design Center
  • Adobe TV [opens in a new window]
  • Adobe Marketing Center
  • Adobe Labs [opens in a new window]
Download
  • Product trials
  • Adobe Flash Player
  • Adobe Reader
  • Adobe AIR
  • See all downloads
Company
  • Careers at Adobe
  • Investor Relations
  • Newsroom
  • Privacy
  • Corporate Social Responsibility
  • Customer Showcase
  • Contact us
  • More company info
Buy
  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers
  • Adobe Marketing Cloud sales [opens in a new window]
Search
 
Info Sign in
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Welcome,
My Adobe
My orders
My information
My preferences
My products and services
Sign out
My cart
Privacy My Adobe
Adobe
Products Sections Buy   Search  
Solutions Company
Help Learning
Sign in Sign out Privacy My Adobe
Date Date
Qty:
Subtotal
Promotions
Estimated Shipping
VAT
Calculated at checkout
Total
Checkout
ColdFusion Help / 

Hot fix | NullPointerExceptions | Upgrade to 1.4.2_06 JDK/JRE or later | ColdFusion MX 6.1 Updater 1

Adobe Community Help


Products Affected

  • ColdFusion

Contact support

 
By clicking Submit, you accept the Adobe Terms of Use.
 

Issue

After upgrading to a JDK/JRE version 1.4.2_06 or higher, NullPointerExceptions occur when you run templates that include cfldap or cfservlet. This issue is identified as bug 58766.

An error similar to the following occurs:

java.lang.NullPointerException

at coldfusion.jsp.JRunTagLibraryInfo.getPropertyType(JRunTagLibraryInfo.java:596)

at coldfusion.jsp.JRunTagLibraryInfo.buildTagInfo(JRunTagLibraryInfo.java:566)

at coldfusion.jsp.JRunTagLibraryInfo.getTag(JRunTagLibraryInfo.java:265)

at coldfusion.compiler.NeoTranslationContext.findTagName(NeoTranslationContext.java:325)

at coldfusion.compiler.NeoTranslationContext.isKnownTag(NeoTranslationContext.java:201)

at coldfusion.compiler.CFMLParserBase.isKnownTagName(CFMLParserBase.java:65)

at coldfusion.compiler.cfml40TokenManager.TokenLexicalActions(cfml40TokenManager.java:6507)

at coldfusion.compiler.cfml40TokenManager.getNextToken(cfml40TokenManager.java:6384)

at coldfusion.compiler.cfml40.getToken(cfml40.java:6603)

at coldfusion.compiler.CFMLParserBase.isTrivialAngleBracket(CFMLParserBase.java:138)

at coldfusion.compiler.cfml40.jj_3_1(cfml40.java:5977)

at coldfusion.compiler.cfml40.jj_3R_46(cfml40.java:6012)

at coldfusion.compiler.cfml40.jj_3_10(cfml40.java:5246)

at coldfusion.compiler.cfml40.jj_3R_45(cfml40.java:5285)

at coldfusion.compiler.cfml40.jj_3_29(cfml40.java:4758)

at coldfusion.compiler.cfml40.jj_3R_74(cfml40.java:4766)

at coldfusion.compiler.cfml40.jj_3_32(cfml40.java:4427)

at coldfusion.compiler.cfml40.jj_2_32(cfml40.java:4025)

at coldfusion.compiler.cfml40.start(cfml40.java:2344)

at coldfusion.compiler.NeoTranslator.parsePage(NeoTranslator.java:491)

at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:284)

at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:106)

at coldfusion.runtime.TemplateClassLoader$1.fetch(TemplateClassLoader.java:282)

at coldfusion.util.LruCache.get(LruCache.java:188)

at coldfusion.runtime.TemplateClassLoader$TemplateCache.fetchSerial(TemplateClassLoader.java:223)

To the top

Solution

ColdFusion MX 6.1 - Server Configuration

Follow the instructions below to install the hot fix for ColdFusion MX 6.1 in the server configuration. For J2EE servers including JRun, use the instructions under the J2EE Configuration section.

Windows

  1. Download and unzip the hot fix (26 K).
  2. Stop ColdFusion.
  3. Create the directory cf_root\runtime\servers\lib if it does not exist.
  4. Save the downloaded JAR file into the following directory -cf_root\runtime\servers\lib\
  5. Restart ColdFusion.
  6. Examine the ColdFusion MX Administrator System Information page and confirm that hf58766_611.jar shows in the Java Class Path list.

Unix

  1. Download and unzip the hot fix (26 K).
  2. Stop ColdFusion.
  3. Create the directory cf_root/runtime/servers/lib if it does not exist.
  4. Save the downloaded JAR file into the following directory: cf_root/runtime/servers/lib/
  5. Edit the file cf_root/runtime/bin/jvm.config:

    1. Locate the JVM classpath section.
    2. Add {application.home}/runtime/servers/lib as the first entry in the java.class.path list.



      For example:
      # JVM classpath java.class.path={application.home}/runtime/servers/lib, {application.home}/runtime/../../src,{application.home}/lib/cfusion.jar, {application.home}/runtime/lib/webservices.jar
  6. Restart ColdFusion.
  7. Examine the ColdFusion MX Administrator System Information page and confirm that hf58766_611.jar shows in the Java Class Path list.

ColdFusion MX 6.1 - J2EE Configuration ColdFusion MX 6.1 - J2EE Configuration with JRun

Follow the instructions below to install the hot fix for ColdFusion MX 6.1 in the J2EE configuration with a J2EE server including JRun:

  1. Download and unzip the hot fix (26 K).
  2. Save the downloaded JAR file into the following directory -cf_root/WEB-INF/lib directory.
  3. Change the Context Parametercf.class.path

    in the Deployment Descriptor (cf_root/WEB-INF/web.xml)

    for the Web Application "Macromedia ColdFusion MX" (cfusion.war)



    from:

    ./WEB-INF/cfusion/lib/cfusion.jar



    to:

    ./WEB-INF/lib/hf58766_611.jar,./WEB-INF/cfusion/lib/cfusion.jar



    • The two paths in cf.class.path each start with a period. A comma separates the two paths.
    • Do not confuse ./WEB-INF/lib (which contains the hot fix JAR file) with ./WEB-INF/cfusion/lib (which contains cfusion.jar).
  4. Stop and restart the J2EE server for changes to take effect.
  5. Examine the ColdFusion MX Administrator System Information page and confirm that hf58766_611 shows up in the Version section like 6,1,0 hf58766_611. Note: You don't see this jar in the Java Class Path, because the hot fix jar is loaded in the ColdFusion Class Path.
  6. Repeat steps for each deployed instance of ColdFusion.

About changing the Deployment Descriptor

  • Deployment Descriptor Context Parameters can be changed using the J2EE Administrator Control Panel (WebLogic and JRun) or by using the Application Assembly Tool (Websphere). If your J2EE server doesn't have such a tool, make sure that the Context Parameter change is made for all deployed instances of ColdFusion. It's sometimes necessary to undeploy CFMX, change the parameters, then redeploy CFMX. See your J2EE documentation for other methods.
  • Be sure to Persist (WebLogic) or Save (Websphere) your changes after you change the value for cf.class.path.
  • It's often necessary to stop and restart your J2EE server for these changes to take effect.

 

See Also

  • ColdFusion Hot Fixes (MX through MX 6.1)
Keywords: kb400232

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy

Products

  • Adobe Creative Cloud
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • Digital Publishing Suite
  • Elements family
  • SiteCatalyst
  • For education

Download

  • Product trials
  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR

Support & Learning

  • Product help
  • Forums

Buy

  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers

Company

  • News room
  • Partner programs
  • Corporate social responsibility
  • Career opportunities
  • Investor Relations
  • Events
  • Legal
  • Security
  • Contact Adobe
Choose your region United States (Change)
Choose your region Close

North America

Europe, Middle East and Africa

Asia Pacific

  • Canada - English
  • Canada - Français
  • Latinoamérica
  • México
  • United States

South America

  • Brasil
  • Africa - English
  • Österreich - Deutsch
  • Belgium - English
  • Belgique - Français
  • België - Nederlands
  • България
  • Hrvatska
  • Česká republika
  • Danmark
  • Eastern Europe - English
  • Eesti
  • Suomi
  • France
  • Deutschland
  • Magyarország
  • Ireland
  • Israel - English
  • ישראל - עברית
  • Italia
  • Latvija
  • Lietuva
  • Luxembourg - Deutsch
  • Luxembourg - English
  • Luxembourg - Français
  • الشرق الأوسط وشمال أفريقيا - اللغة العربية
  • Middle East and North Africa - English
  • Moyen-Orient et Afrique du Nord - Français
  • Nederland
  • Norge
  • Polska
  • Portugal
  • România
  • Россия
  • Srbija
  • Slovensko
  • Slovenija
  • España
  • Sverige
  • Schweiz - Deutsch
  • Suisse - Français
  • Svizzera - Italiano
  • Türkiye
  • Україна
  • United Kingdom
  • Australia
  • 中国
  • 中國香港特別行政區
  • Hong Kong S.A.R. of China
  • India - English
  • 日本
  • 한국
  • New Zealand
  • 台灣

Southeast Asia

  • Includes Indonesia, Malaysia, Philippines, Singapore, Thailand, and Vietnam - English

Copyright © 2013 Adobe Systems Incorporated. All rights reserved.

Terms of Use | Privacy | Cookies

Ad Choices

Reviewed by TRUSTe: site privacy statement