Blog

Luis Majano

October 15, 2008

Spread the word


Share your thoughts

I am now debugging ColdBox for BlueDragon 7 and came upon an interesting bug that I cannot find a solution for. I am trying to get an iterator out of a linkedHashMap and BD keeps throwing me a Method hasNext could not be legally accessed. Has anybody experienced this? If so, please help. Below is the current simple code: //Create HashMap LinkedHashMap = CreateObject("java","java.util.LinkedHashMap").init(3); Collections = createObject("java", "java.util.Collections"); //synch it LinkedHashMap = Collections.synchronizedMap(LinkedHashMap); //put some elements LinkedHashMap.put("name","luis"); LinkedHashMap.put("date",now()); //Iterate iterator = LinkedHashMap.keySet().iterator(); key = ""; /* Loop and execute each interceptor as registered in order */ while( iterator.hasNext() ){ key = iterator.next(); writeoutput(key & "
"); }

Add Your Comment

Recent Entries

BoxLang v1.13.0: Compatibility, Concurrency, and Formatter Maturity

BoxLang v1.13.0: Compatibility, Concurrency, and Formatter Maturity

BoxLang 1.13.0 is here, and it marks an important step forward for the platform. This release includes 48 tickets—every one of them completed—reflecting a focused effort on CFML compatibility, a more robust concurrency engine, a production-hardened miniserver, and meaningful tooling improvements.

Luis Majano
Luis Majano
April 30, 2026
🚀 ColdBox CLI 8.11: The Era of AI Skills Comes to Every ColdBox & BoxLang App

🚀 ColdBox CLI 8.11: The Era of AI Skills Comes to Every ColdBox & BoxLang App

ColdBox CLI 8.11 is here, and it's one of the most significant releases we've shipped for AI-assisted development. This release wires the CLI directly into our brand new public skills directory at skills.boxlang.io, brings our AI tooling in line with industry-wide agent conventions, and introduces a wave of quality-of-life improvements that make AI integration feel less like setup and more like infrastructure.

Luis Majano
Luis Majano
April 30, 2026