Steven Erat's Blog
 
 
Viewing By Entry
 
 

TalkingTree  unexpected constant #35 -1

 

If you have a ColdFusion template having more than 66kb of text outside of the CFML tags then you might run into bug 54007. The result will be that the page will not compile on CFMX 6.x and the result will be a error and stack trace similar to the following:

unexpected constant #35 -1


java.lang.IllegalStateException: unexpected constant #35 -1
   at coldfusion.compiler.ClassReader.readCpool(ClassReader.java:155)
   at coldfusion.compiler.ClassReader.getClassName(ClassReader.java:164)
   at coldfusion.runtime.TemplateClassLoader.findClass(TemplateClassLoader.java:153)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
   at coldfusion.runtime.TemplateClassLoader$1.fetch(TemplateClassLoader.java:284)
   at coldfusion.util.LruCache.get(LruCache.java:188)
   at coldfusion.runtime.TemplateClassLoader$TemplateCache.fetchSerial(TemplateClassLoader.java:214)
...

For example, if you had a template that containing nothing other than "0123456789" repeated over and over until the file was greater than 66kb, then you would see the error.

To work around it, divide the template into sub-templates where each one has less than 66kb of text, then CFINCLUDE it from a parent template.

 


Comments

where can i see these bug reports? Or can i?


Sorry, the bug list is Macromedia internal. There is a "Known Issues" page on the Macromedia website with a subset of the most important or most pervasive issues, here:
http://www.macromedia.com/cfusion/knowledgebase/in...


 

 

Calendar

 
Sun Mon Tue Wed Thu Fri Sat
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

Search This Site

 
This is an exact search only

About This Site

 
I live west of Boston and work as a Software Engineer with ColdFusion and Flex, specializing in Linux. Recently I graduated in Professional Digital Photography from CDIA.
More about me

Recent Entries

 
Recent Tweets for Fri July 10..
Recent Tweets for Wed July 01..
I'm Twittering This! or Dude..

Recent Comments

 
Posted By Marie Payne:
I really enjoyed those pictures you took in Alaska. Thank you so much for sharing, for I've been ill and had major surgery. I can't get out and do t ...

Posted By Julia:
First time that I see such photos. Too bad that I don't have Photoshop. I have to ask somebody to do them for me.

Posted By Steven Erat:
See also this collection of images from Dewey Mclean of his experience in the Army in the Korean War [link] His photographs and maps are very we ...

recently played

 
El lado oscuro
by Jarabe De Palo
on La flaca
Get La flaca by Jarabe De Palo on Amazon

now playing, a plug-in for itunes

Categories

 
RSS Adobe (31)
RSS Bicycling (9)
RSS Blogging (38)
RSS Books (13)
RSS Breeze (12)
RSS CFMX Podcasts (10)
RSS ColdFusion (420)
RSS Computer Technology (51)
RSS Events (25)
RSS Flash (3)
RSS Flex (20)
RSS Gadgets (10)
RSS HiTech Industry (16)
RSS Java (25)
RSS Learning (57)
RSS Linux (70)
RSS Mac OS X (22)
RSS Macromedia (27)
RSS Meetup (34)
RSS New England (62)
RSS Odds & Ends (25)
RSS Outdoors (32)
RSS Personal (29)
RSS Photography (110)
RSS Photoshop (29)
RSS Podcasts (18)
RSS Rants (19)
RSS Restaurants (8)
RSS Science (34)
RSS Spain (16)
RSS Travel (42)
RSS Twitter (3)
RSS Video (20)
RSS Webcam (3)
RSS Writing (10)

Blogs I Read

 
Terrence Ryan
Ben Forta
Ray Camden
Kinky Solutions
Dan Vega
Gary Gilbert
Simeon Bateman
Red Hat Blogs
O'Reilly Digital Media
O'Reilly Radar
John Nack
The Strobist
Scott Kelby
Matt Kloskowski
Joe McNally
Digital Photography School
Engadget
Science Blog

RSS

 


Add to Google
Add to My Yahoo!

Aggregated By

 


Consumed By Feed-Squirrel.com
Aggregated by ColdFusionBlogger.org

Credits and Stuff

 
BlogCFC - Free ColdFusion Powered Blog Software
CJM Group - ColdFusion Website Hosting


 
 
blog | photos | flickr | referers | webcam | stats | about | contact
 
Copyright © 2009 Steven Erat. All rights reserved.
This is a personal weblog. The opinions expressed here represent my own and not those of my employer